|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3860 4.0b4pl1/Apache 1.3.12/gd/ttf/mysql: Several compiler warnings, got it running
Submitted: 2000-03-17 13:44 UTC Modified: 2000-03-17 16:44 UTC
From: ime at iae dot nl Assigned:
Status: Closed Package: Compile Warning
PHP Version: Earlier? Upgrade first! OS: Linux 2.2.5/i686
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ime at iae dot nl
New email:
PHP Version: OS:


 [2000-03-17 13:44 UTC] ime at iae dot nl
Bug on in the list of php versions, there is no 4.0...

I tried to install php-4.0b4pl1 with Apache 1.3.12, mod_perl 1.22 and Apache::ASP on a Linux 2.2.5-15 i686 which once used to be RedHat 6.0, but has been patched a lot. I got things running correctly without any errors, but php4 gave several compiler warnings.



[ime@fatbird php-4.0b4pl1]$ ./configure --with-ttf --with-exec=/www --enable-safe-mode --with-gd --enable-track-vars --with-config-file-path=/etc --with-mysql --enable-memory-limit --with-apache=../apache_1.3.12
loading cache ./config.cache

Running system checks
Generating files

All ok.

[ime@fatbird php-4.0b4pl1]$ make

Making all in Zend
make[1]: Entering directory `/home/ime/uranus1312/php-4.0b4pl1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -D_REENTRANT  -g -O2  -Wall -c zend-scanner.c
zend-scanner.c:5728: warning: `yy_fatal_error' defined but not used
zend-scanner.c:5713: warning: `yy_top_state' defined but not used


Making all in gd
make[2]: Entering directory `/home/ime/uranus1312/php-4.0b4pl1/ext/gd'
make[3]: Entering directory `/home/ime/uranus1312/php-4.0b4pl1/ext/gd'
gcc -DHAVE_CONFIG_H -I. -I/home/ime/uranus1312/php-4.0b4pl1/ext/gd -I../.. -I../../Zend -I/home/ime/uranus1312/php-4.0b4pl1 -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -I/usr/include/mysql  -D_REENTRANT -g -O2 -Wall  -c gd.c && touch gd.lo
gd.c: In function `php_if_imagecreatefromgif':
gd.c:537: warning: implicit declaration of function `gdImageCreateFromGif'
gd.c:537: warning: assignment makes pointer from integer without a cast
gd.c: In function `php_if_imagegif':
gd.c:589: warning: implicit declaration of function `gdImageGif'


Making all in mysql

gcc -DHAVE_CONFIG_H -I. -I/home/ime/uranus1312/php-4.0b4pl1/ext/pcre/pcrelib -I../../.. -I../../../Zend -I/home/ime/uranus1312/php-4.0b4pl1 -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -I/usr/include/mysql  -D_REENTRANT -g -O2 -Wall  -c pcre.c && touch pcre.lo
pcre.c: In function `compile_branch':
pcre.c:657: warning: `c' might be used uninitialized in this function


Making all in standard

gcc -DHAVE_CONFIG_H -I. -I/home/ime/uranus1312/php-4.0b4pl1/ext/standard -I../.. -I../../Zend -I/home/ime/uranus1312/php-4.0b4pl1 -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -I/usr/include/mysql  -D_REENTRANT -g -O2 -Wall  -c image.c && touch image.lo
image.c: In function `php_handle_jpeg':
image.c:215: warning: `marker' might be used uninitialized in this function


Making all in apache

gcc -DHAVE_CONFIG_H -I. -I/home/ime/uranus1312/php-4.0b4pl1/sapi/apache -I../.. -I../../Zend -I/home/ime/uranus1312/php-4.0b4pl1 -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -I/usr/include/mysql -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -D_REENTRANT -g -O2 -Wall  -c mod_php4.c && touch mod_php4.lo
mod_php4.c: In function `send_php':
mod_php4.c:403: warning: argument `filename' might be clobbered by `longjmp' or `vfork'


Making all in regex


Making all in .


gcc -DHAVE_CONFIG_H -I. -I/home/ime/uranus1312/php-4.0b4pl1/. -I. -I./Zend -I/home/ime/uranus1312/php-4.0b4pl1 -I/home/ime/uranus1312/apache_1.3.12/src/include -I/home/ime/uranus1312/apache_1.3.12/src/os/unix -I/usr/include/mysql  -D_REENTRANT -g -O2 -Wall  -c configuration-scanner.c && touch configuration-scanner.lo
configuration-scanner.c:652: warning: return-type defaults to `int'
configuration-scanner.c: In function `cfglex':
configuration-scanner.c:720: warning: label `find_rule' defined but not used
configuration-scanner.c: At top level: 
configuration-scanner.c:1790: warning: `yy_flex_realloc' defined but not used
configuration-scanner.c:1273: warning: `yyunput' defined but not used


[ime@fatbird php-4.0b4pl1]$ 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-17 16:44 UTC] rasmus at cvs dot php dot net
No bug, the PHP 4 bug database is at
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 22:01:29 2024 UTC