GD 1.8.4+PHP 4.0.6
| From: | tom at optimer dot isomedia dot com | Date: | Thu, 19 Jul 2001 21:43:05 +0000 |
| Subject: | GD 1.8.4+PHP 4.0.6 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3629@lists.php.net to get a copy of this message | ||
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