Error 1 on GD compile
| From: | Scott Kemp | Date: | Wed, 13 Feb 2002 01:51:06 +0000 |
| Subject: | Error 1 on GD compile | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6002@lists.php.net to get a copy of this message | ||
I get this error on make for php:
Making all in gd
make[2]: Entering directory `/opt/php-4.1.1/ext/gd'
make[3]: Entering directory `/opt/php-4.1.1/ext/gd'
/bin/sh /php/libtool --silent --mode=compile gcc -I. -I/php/ext/gd
-I/php/main -I/php -I/opt/apache_1.3.12/include -I/php/Zend
-I/usr/local/mysql-3.22.32-pc-linux-gnu-i686//include
-I/php/ext/xml/expat -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I/php/TSRM -g
-O2 -prefer-pic -c gd.c
In file included from gd.c:37:
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 `/opt/php-4.1.1/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/php-4.1.1/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/php-4.1.1/ext'
make: *** [all-recursive] Error 1
I have tried twiddling so many different options and I still get this
error - I welcome your suggestions.
Thanks,
Scott