Bug #18249 Updated: make compile error on gd
| From: | cbair at dragonmagic dot net | Date: | Wed, 10 Jul 2002 15:43:23 +0000 |
| Subject: | Bug #18249 Updated: make compile error on gd | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-13742@lists.php.net to get a copy of this message | ||
ID: 18249
Updated by: cbair@dragonmagic.net
Reported By: cbair@dragonmagic.net
-Status: Bogus
+Status: Open
Bug Type: GD related
Operating System: Cobalt RaQ4 Linux (Custom RHL)
-PHP Version: 4.1.2
+PHP Version: 4.1.2 & 4.2.1
New Comment:
Error was repeated when a fresh install of PHP 4.2.1 was used, same
configure line.
Previous Comments:
------------------------------------------------------------------------
[2002-07-09 18:44:01] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
------------------------------------------------------------------------
[2002-07-09 12:43:07] cbair@dragonmagic.net
[Note: --with-gd added after successful compile with the same php
install;
gd 1.8.4 installed first to /usr, and after a bogus bug report was
established with same error, gd 1.8.4 was installed to /usr/local/gd;
error continues as same]
Configure with:
./configure --prefix=/usr --enable-dba=shared --enable-dbase
--with-mysql --with-pgsql --enable-exif --enable-gd-native-ttf
--with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr
--with-ttf=/usr --with-zlib --enable-magic-quotes --with-apxs
--with-gd=/usr/local/gd
And make has:
Making all in gd
make[2]: Entering directory `/home/installers/php-4.1.2/ext/gd'
make[3]: Entering directory `/home/installers/php-4.1.2/ext/gd'
/bin/sh /home/installers/php-4.1.2/libtool --silent --mode=compile gcc
-I. -I/home/installers/php-4.1.2/ext/gd
-I/home/installers/php-4.1.2/main -I/home/installers/php-4.1.2
-I/usr/include/apache -I/home/installers/php-4.1.2/Zend
-I/usr/include/freetype2/freetype -I/usr/local/gd/include
-I/home/installers/php-4.1.2/ext/mysql/libmysql
-I/home/installers/php-4.1.2/ext/xml/expat -DLINUX=22 -DMOD_SSL=208104
-DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DEAPI
-DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -I/home/installers/php-4.1.2/TSRM
-g -O2 -prefer-pic -c gd.c
gd.c: In function `zif_imagecreatefromstring':
gd.c:1061: `gdImageCreateFromGifCtx' undeclared (first use in this
function)
gd.c:1061: (Each undeclared identifier is reported only once
gd.c:1061: for each function it appears in.)
gd.c: In function `zif_imagecreatefromgif':
gd.c:1203: `gdImageCreateFromGif' undeclared (first use in this
function)
gd.c:1203: `gdImageCreateFromGifCtx' undeclared (first use in this
function)
gd.c: In function `zif_imagegif':
gd.c:1430: `gdImageGifCtx' undeclared (first use in this function)
gd.c: In function `_php_image_convert':
gd.c:3491: `gdImageCreateFromGif' used prior to declaration
gd.c:3491: warning: assignment makes pointer from integer without a
cast
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/installers/php-4.1.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/installers/php-4.1.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/installers/php-4.1.2/ext'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18249&edit=1