Bug #14189 Updated: GD 2.0.1 compiling error
| From: | sniper@php.net | Date: | Thu, 22 Nov 2001 23:55:56 +0000 |
| Subject: | Bug #14189 Updated: GD 2.0.1 compiling error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-71442@lists.php.net to get a copy of this message | ||
ID: 14189
Updated by: sniper
Reported By: raw@vento.com.br
Old Status: Open
Status: Closed
Bug Type: Compile Failure
Operating System: Red Hat 6.2
PHP Version: 4.0.6
New Comment:
fixed in cvs
Previous Comments:
------------------------------------------------------------------------
[2001-11-22 18:17:23] raw@vento.com.br
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 this bug report at http://bugs.php.net/?id=14189&edit=1