From:             [EMAIL PROTECTED]
Operating system: RedHat Linux 7.0 kernel 2.4.2
PHP version:      4.0.6
PHP Bug Type:     *Install and Config
Bug description:  Compile --with-gd causes error

My configure command is:

./configure --with-gd=/usr --with-jpeg-dir=/usr/lib --enable-track-vars 
--with-apache=../apache_1.3.20/ --with-mysql

make[1]: Entering directory `/usr/src/php-4.0.6/ext'
Making all in gd
make[2]: Entering directory `/usr/src/php-4.0.6/ext/gd'
make[3]: Entering directory `/usr/src/php-4.0.6/ext/gd'
gcc  -I. -I/usr/src/php-4.0.6/ext/gd -I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6 
-I/usr/src/apache_1.3.20/src/include -I/usr/src/apache_1.3.20/src/os/unix 
-I/usr/src/php-4.0.6/Zend -I/usr/src/php-4.0.6/ext/mysql/libmysql 
-I/usr/src/php-4.0.6/ext/xml/expat/xmltok -I/usr/src/php-4.0.6/ext/xml/expat/xmlparse 
-I/usr/src/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c gd.c && touch 
gd.c:95: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.6/ext'
make: *** [all-recursive] Error 1

This is reproducable using GD Libs v1.8.x and 2.0.x

PHP 4.0.6 and PHP 4.0.6


Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to