PHP 4.0 Bug #8438 Updated: gd.c:703: `gdImageCreateFromGif' undeclared (first use in this function)

From: Date: Wed, 27 Dec 2000 18:03:02 +0000
Subject: PHP 4.0 Bug #8438 Updated: gd.c:703: `gdImageCreateFromGif' undeclared (first use in this function)
Groups: php.dev 
Request: Send a blank email to php-dev+get-42327@lists.php.net to get a copy of this message
ID: 8438 Updated by: rasmus Reported By: bth1202@hanmail.net Old-Status: Open Status: Closed Bug Type: Compile Failure Assigned To: Comments: This happens when your gd header files do not match your installed gd library, or you have multiple versions of gd.h on your system. Do a 'make clean', remove any extra gd.h header files and re-configure/rebuild. Previous Comments: --------------------------------------------------------------------------- [2000-12-27 09:07:00] bth1202@hanmail.net [root@linukers php-4.0.4]# ./configure --with-mysql=/usr/local/mysql --with-pgsql --with-apache=../apache_1.3.14 --enable-track-vars --enable-force-cgi-redirect --with-gettext --with-ldap --with-imap-ssl --with-imap --with-jpeg --with-servlet --enable-magic-quotes --enable-calendar --with-tiff --with-gdbm --enable-ftp --enable-gd-imgstrttf --with-gd --with-xpm --with-ttf --with-kerberos--with-readline --enable-sockets --enable-yp --with-zlib --with-tsrm-pthreads --with-java=/usr/local/jdk1.2 --with-gif I configured according to the above and excuted 'make' to compile accordingly. Then, the compiling was broken during doing gd.c as follows: gd.c: In function `php_if_imagecreatefromgif': gd.c:703: `gdImageCreateFromGif' undeclared (first use in this function) gd.c:703: (Each undeclared identifier is reported only once gd.c:703: for each function it appears in.) gd.c: In function `php_if_imagegif': gd.c:862: `gdImageGif' undeclared (first use in this function) make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/home/bth/v7.0.2/php-4.0.4/ext/gd' make[2]: *** [all-recursiveError 1 make[2]: Leaving directory `/home/bth/v7.0.2/php-4.0.4/ext/gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bth/v7.0.2/php-4.0.4/ext' make: *** [all-recursive] Error 1 [root@linukers php-4.0.4]# --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8438

« previous php.dev (#42327) next »