Compiling PHP 4.0.6 with GD 1.8.4 gave me the following error:

make[3]: Entering directory `/root/install/php-4.0.6/ext/gd'
gcc  -I. -I/root/install/php-4.0.6/ext/gd -I/root/install/php-4.0.6/main 
-I/root/install/php-4.0.6 -I/root/install/apache_1.3.20/src/include 
-I/root/install/apache_1.3.20/src/os/unix -I/root/install/php-4.0.6/Zend 
-I/root/install/gd-1.8.4 -I/root/install/php-4.0.6/ext/mysql/libmysql 
-I/root/install/php-4.0.6/ext/xml/expat/xmltok 
-I/root/install/php-4.0.6/ext/xml/expat/xmlparse -I/root/install/php-4.0.6/TSRM  
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo
gd.c:95: conflicting types for `gdIOCtx'
/root/install/gd-1.8.4/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1209: (Each undeclared identifier is reported only once
gd.c:1209: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:1404: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/install/php-4.0.6/ext/gd' 

I looked through the code, but its been years since I've touched C...
Any ideas?
Thanks,
  --tom


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to