I'm following the thread regarding PHP extensions in the thread "The
future of PHP - accessory libraries" very anxiously.  I've been trying
to get this feature going for quite some time but without success.

The current item I'm wrestling with is the gd extensions.  I've rebuilt
PHP and Apache so many times to enable one feature only to learn that I
forgot to recompile one that I'd relied on previously.  It's a never
ending battle to get all of the features required.

The .so extensions option is a great feature that I'd like to make use

In trying to compile the gd .so extension (gd-1.8.4), I'm receiving the
following errors.  Any ideas?

Chris Mulcahy

Making all in ext
make[1]: Entering directory
Making all in gd
make[2]: Entering directory
make[3]: Entering directory
gcc  -I. -I/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd -I/home/cm
ulcahy/transfer/webserver/php-4.0.6/main -I/home/cmulcahy/transfer/webse
rver/php-4.0.6 -I/home/cmulcahy/transfer/webserver/php-4.0.6/Zend -I/hom
e/cmulcahy/transfer/webserver/php-4.0.6/ext/mysql/libmysql -I/home/cmulc
ahy/transfer/webserver/php-4.0.6/ext/xml/expat/xmltok -I/home/cmulcahy/t
ransfer/webserver/php-4.0.6/ext/xml/expat/xmlparse -I/home/cmulcahy/tran
sfer/webserver/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
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)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all-recursive] Error 1

PHP General 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