Bug #14189: GD 2.0.1 compiling error
| From: | raw at vento dot com dot br | Date: | Thu, 22 Nov 2001 23:17:23 +0000 |
| Subject: | Bug #14189: GD 2.0.1 compiling error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71434@lists.php.net to get a copy of this message | ||
From: raw@vento.com.br
Operating system: Red Hat 6.2
PHP version: 4.0.6
PHP Bug Type: Compile Failure
Bug description: GD 2.0.1 compiling error
Hi. I trying recompiling new version gd with php 4.0.6 e obtain error
message:
Making all in gd
make[2]: Entering directory `/home/raw/php-4.0.6/ext/gd'
make[3]: Entering directory `/home/raw/php-4.0.6/ext/gd'
gcc -I. -I/home/raw/php-4.0.6/ext/gd -I/home/raw/php-4.0.6/main
-I/home/raw/php-4.0.6 -I/home/raw/apache_1.3.19/src/include
-I/home/raw/apache_1.3.19/src/os/unix -I/home/raw/php-4.0.6/Zend
-I/home/raw/php-4.0.6/ext/mysql/libmysql
-I/home/raw/php-4.0.6/ext/xml/expat/xmltok
-I/home/raw/php-4.0.6/ext/xml/expat/xmlparse -I/home/raw/php-4.0.6/TSRM
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:1209: (Each undeclared identifier is reported only once
gd.c:1209: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:1404: `gdImageGif' undeclared (first use in this function)
My line to configure command is:
./configure --with-gd --with-jpeg-dir=../jpeg-6b/
--with-png-dir=../libpng-1.0.11/ --with-mysql
--with-apache=../apache_1.3.19/ --enable-track-vars
--with-zlib-dir=../zlib-1.1.3/
Help me?
Regards
--
Edit bug report at: http://bugs.php.net/?id=14189&edit=1