#21103 [NEW]: conflicting types for gdIOCtx when re-compiling php 4.2.3
| From: | cash at polarcom dot com | Date: | Fri, 20 Dec 2002 01:22:28 +0000 |
| Subject: | #21103 [NEW]: conflicting types for gdIOCtx when re-compiling php 4.2.3 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-28056@lists.php.net to get a copy of this message | ||
From: cash@polarcom.com
Operating system: suse 8.0
PHP version: 4.2.3
PHP Bug Type: GD related
Bug description: conflicting types for gdIOCtx when re-compiling php 4.2.3
http://ronin.polarcom.com/phpinfo.php
for base config before loading gd
freetype2-devel-2.0.8-30
libpng-1.2.5
jpeg-6b
both modified and unmodified gd-2.0.1 makefile.unix
LIBS= -lgd -> libgd.a
give the same result
2 different configre options, same result
./configure --with-apxs=/www/bin/apxs --with-mysql
--with-gd=/usr/local/src/gd-2.0.1 --enable-gd-native-ttf --with-bz2
--with-zlib
./configure --with-apxs=/www/bin/apxs --with-mysql
--with-gd=/usr/local/src/gd-2.0.1 --enable-gd-native-ttf --with-bz2
--with-zlib --with-freetype-dir=/usr --enable-gd-imgstrttf
--with-jpeg-dir=/usr --with-png-dir=/usr
configure works ok, doesn't give any errors,
but when I make:
>>Making all in gd
>>make[2]: Entering directory `/usr/local/src/php->>4.2.3/ext/gd'
>>make[3]: Entering directory `/usr/local/src/php->>4.2.3/ext/gd'
>>/bin/sh /usr/local/src/php-4.2.3/libtool --silent -->>mode=compile gcc
-I. -I/usr/local/src/php-4.2.3/ext/gd ->>I/usr/local/src/php-4.2.3/main
-I/usr/local/src/php->>4.2.3 -I/www/include
-I/usr/local/src/php-4.2.3/Zend
->>I/usr/local/src/php-4.2.3/ext/mysql/libmysql
->>I/usr/local/src/php-4.2.3/ext/xml/expat -DLINUX=22 ->>DUSE_HSREGEX
-DUSE_EXPAT -I/usr/local/src/php-4.2.3/TSRM ->>g -O2 -prefer-pic -c gd.c
>>In file included from gd.c:36:
>>php_gd.h:69: warning: static declaration for >>`gdImageColorResolve'
follows non-static
>>gd.c:92: 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/local/src/php->>4.2.3/ext/gd'
>>make[2]: *** [all-recursive] Error 1
>>make[2]: Leaving directory `/usr/local/src/php->>4.2.3/ext/gd'
>>make[1]: *** [all-recursive] Error 1
>>make[1]: Leaving directory `/usr/local/src/php-4.2.3/ext'
>>make: *** [all-recursive] Error 1
*This is my first bug report so I am not shure what more I could give...
Feel free to e-mail me for more info or if you have anything you would
like my to try!
If this is a proper bug and It gets fixed THANK YOU VERY MUCH!!!!!!!!!
--
Edit bug report at http://bugs.php.net/?id=21103&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21103&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21103&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21103&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21103&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21103&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21103&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21103&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21103&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21103&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21103&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21103&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21103&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21103&r=isapi