|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7754 undeclared function in gd.c
Submitted: 2000-11-10 17:21 UTC Modified: 2000-11-10 21:33 UTC
From: nafarieh at impact dot xerox dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.3pl1 OS: Linux
Private report: No CVE-ID: None
 [2000-11-10 17:21 UTC] nafarieh at impact dot xerox dot 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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-10 21:33 UTC]
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

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 20:01:39 2024 UTC