PHP 4.0 Bug #8983 Updated: gd tries to use gif functions

From: Date: Mon, 29 Jan 2001 22:59:16 +0000
Subject: PHP 4.0 Bug #8983 Updated: gd tries to use gif functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-45247@lists.php.net to get a copy of this message
ID: 8983 User Update by: ben@efros.com Status: Open Bug Type: Compile Failure Description: gd tries to use gif functions OK OK, ignore all that other crap I've already posted.... I REALLY DONT KNOW WHAT I AM TALKING ABOUT... Anyways, got trouble compiling 4.0.4pl1 and also the latest snapshot.... gcc -I. -I/root/webserv/php4-200101291345/ext/gd -I/root/webserv/php4-200101291345/main -I/root/webserv/php4-200101291345 -I/root/webserv/apache_1.3.14/src/include -I/root/webserv/apache_1.3.14/src/os/unix -I/root/webserv/php4-200101291345/Zend -I/root/webserv/php4-200101291345/ext/mysql/libmysql -I/root/webserv/php4-200101291345/ext/xml/expat/xmltok -I/root/webserv/php4-200101291345/ext/xml/expat/xmlparse -I/root/webserv/php4-200101291345/TSRM -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo gd.c: In function `php_if_imagecreatefromgif': gd.c:709: `gdImageCreateFromGif' undeclared (first use in this function) gd.c:709: (Each undeclared identifier is reported only once gd.c:709: for each function it appears in.) gd.c:709: `gdImageCreateFromGifCtx' undeclared (first use in this function) gd.c: In function `php_if_imagegif': gd.c:891: `gdImageGif' undeclared (first use in this function) make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/root/webserv/php4-200101291345/ext/gd' Previous Comments: --------------------------------------------------------------------------- [2001-01-29 17:31:27] ben@efros.com There seems to be some errors while trying to compile php (with gd). I just removed the few gif functions from ext/gd/gd.c and compiled fine. Maybe it would be a good idea to finally remove these old functions since gd no longer supports gif and its hard to find an old version that does (especially since png is fine for most things). --------------------------------------------------------------------------- [2001-01-29 11:16:56] ben@efros.com I've installed gd 1.8.3 and of course it does not have gif support anymore. Yet, still configure defines HAVE_GD_GIF, saying that it detected the support. Compile of course fails when HAVE_GD_GIF is defined and the functions are not really available. Can anyone else reproduce? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8983

« previous php.dev (#45247) next »