php 4.1.1 and gd-2.0.1
| From: | ACEAlex | Date: | Thu, 24 Jan 2002 21:37:58 +0000 |
| Subject: | php 4.1.1 and gd-2.0.1 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5735@lists.php.net to get a copy of this message | ||
Hello
Has anybody sucessfully compiled php with gd-2.0.1 support. I get this
error?
<snip>
/bin/ksh /usr/src/php-4.1.1/libtool --silent --mode=compile
gcc -I. -I/usr/src/php-4.1.1/ext/gd -I/usr/src/php-4.1.1/main -I/usr/src/ph
p-4.1.1 -I/usr/local/apache/include -I/usr/src/php-4.1.1/Zend -I/usr/local/i
nclude/freetype2/freetype -I/usr/src/php-4.1.1/ext/mysql/libmysql -I/usr/src
/php-4.1.1/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I/usr/src/ph
p-4.1.1/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/src/php-4.1.1/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.1.1/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.1.1/ext'
make: *** [all-recursive] Error 1
</snip>
Any ideas?
Thanx
/Alexander