PHP 4.0 Bug #7754 Updated: undeclared function in gd.c
| From: | sniper@php.net | Date: | Sat, 11 Nov 2000 02:33:30 +0000 |
| Subject: | PHP 4.0 Bug #7754 Updated: undeclared function in gd.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37723@lists.php.net to get a copy of this message | ||
ID: 7754
Updated by: sniper
Reported By: nafarieh@impact.xerox.com
Status: Closed
Bug Type: GD related
Assigned To:
Comments:
If you don't need GD, add --without-gd to your configure line.
GD extension won't be enabled by default in future versions of PHP 4.
If you really need it, add --with-gd=/path/to/gd
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-10 17:21:00] nafarieh@impact.xerox.com
I used ./configure --with-apxs --with-mysql
and after make this is what I get.
/bin/sh /www/nafarieh/php-4.0.3pl1/libtool --silent --mode=compile gcc -I.
-I/www/nafarieh/php-4.0.3pl1/ext/gd -I/www/nafarieh/php-4.0.3pl1 -I/www/nafarieh/php-4.0.3pl1/main
-I/usr/include/apache -I/www/nafarieh/php-4.0.3pl1/Zend -I/www/nafarieh/php-4.0.3pl1
-I/usr/local/include/freetype -I/www/nafarieh/php-4.0.3pl1/ext/mysql/libmysql
-I/www/nafarieh/php-4.0.3pl1/ext/xml/expat/xmltok
-I/www/nafarieh/php-4.0.3pl1/ext/xml/expat/xmlparse -I/www/nafarieh/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 `/www/nafarieh/php-4.0.3pl1/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/www/nafarieh/php-4.0.3pl1/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/www/nafarieh/php-4.0.3pl1/ext'
make: *** [all-recursive] Error 1
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7754