PHP 4.0 Bug #8438: gd.c:703: `gdImageCreateFromGif' undeclared (first use in this function)
| From: | bth1202 at hanmail dot net | Date: | Wed, 27 Dec 2000 14:07:00 +0000 |
| Subject: | PHP 4.0 Bug #8438: gd.c:703: `gdImageCreateFromGif' undeclared (first use in this function) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42315@lists.php.net to get a copy of this message | ||
From: bth1202@hanmail.net
Operating system: RedHat6.2(linux)
PHP version: 4.0.4
PHP Bug Type: Compile Failure
Bug description: gd.c:703: `gdImageCreateFromGif' undeclared (first use in this function)
[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]#
--
Edit Bug report at: http://bugs.php.net/?id=8438&edit=1