compiling GD + php4.03pl1
| From: | hennink at patrijs dot dhs dot org | Date: | Mon, 20 Nov 2000 20:26:12 +0000 |
| Subject: | compiling GD + php4.03pl1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26328@lists.php.net to get a copy of this message | ||
Hi,
Im trying to compile buildin support for GD within PHP but I get the following error.
Making all in gd
make[2]: Entering directory `/home/syshen/builds/php-4.0.3pl1/ext/gd'
make[3]: Entering directory `/home/syshen/builds/php-4.0.3pl1/ext/gd'
/bin/sh /home/syshen/builds/php-4.0.3pl1/libtool --silent --mode=compile gcc -I.
-I/home/syshen/builds/php-4.0.3pl1/ext/gd -I/home/syshen/builds/php-4.0.3pl1
-I/home/syshen/builds/php-4.0.3pl1/main -I/usr/include/apache
-I/home/syshen/builds/php-4.0.3pl1/Zend -I/home/syshen/builds/php-4.0.3pl1
-I/home/syshen/builds/php-4.0.3pl1/ext/mysql/libmysql
-I/home/syshen/builds/php-4.0.3pl1/ext/xml/expat/xmltok
-I/home/syshen/builds/php-4.0.3pl1/ext/xml/expat/xmlparse -I/home/syshen/builds/php-4.0.3pl1/TSRM
-DEAPI -DXML_BYTE_ORDER=12 -g -O2 -c gd.c
gd.c: In function `php_if_imagecreatefromgif':
gd.c:552: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:552: (Each undeclared identifier is reported only once
gd.c:552: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:709: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/syshen/builds/php-4.0.3pl1/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/syshen/builds/php-4.0.3pl1/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/syshen/builds/php-4.0.3pl1/ext'
make: *** [all-recursive] Error 1
This is my config.
./configure --with-mysql --with-apxs=/usr/sbin/apxs --enable-track-vars --disable-debug
--enable-trans-id --with-config-file-path=/etc --enable-gpc_globals --enable-ftp --with-gd
--with-jpeg-dir
with regards,
Tijmen
--
Customer: I'm running Windows '98
Tech: Yes.
Customer: My computer isn't working now.
Tech: Yes, you said that.