[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

gd compilation errors? any solutions?



Hi,

I'm trying to include the GD library in my PHP when I compile it.

The error at compile time is listed below. I installed GD from and RPM
that goes with RedHat 6.2 since I'm using RH 6.2. New versions of GD also
fail at compile time. Anyone else have problems compiling GD combined with
PhP?

php-4.1.2/Zend -I/root/php-4.1.2/ext/mysql/libmysql
-I/root/php-4.1.2/ext/xml/expat  -I/root/php-4.1.2/TSRM -g -O2  -c gd.c &&
touch gd.lo
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/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/php-4.1.2/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.1.2/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.1.2/ext'
make: *** [all-recursive] Error 1

--John





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []