PHP 4.0 Bug #7616: problem compiling gd.c
| From: | maxkir at email dot com | Date: | Fri, 03 Nov 2000 10:49:25 +0000 |
| Subject: | PHP 4.0 Bug #7616: problem compiling gd.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36935@lists.php.net to get a copy of this message | ||
From: maxkir@email.com
Operating system: Solaris 7 x86
PHP version: 4.0 Latest CVS (03/11/2000)
PHP Bug Type: Compile Failure
Bug description: problem compiling gd.c
./configure \
--with-jpeg-dir=/usr/local \
--with-gd --with-oracle \
--with-mysql \
--disable-debug \
--enable-magic-quotes=yes \
--enable-memory-limit=yes \
--enable-url-fopen-wrapper=no \
--enable-sysvsem=yes \
--enable-sysvshm=yes \
--enable-track-vars=yes \
--with-system-regex \
--enable-safe-mode \
--with-gdbm \
--with-java=/usr/local/j2sdk1_3_0 \
--with-zlib
I have GD 1.8.3
ERROR:
make[3]: Entering directory `/h/home/kir/SRC/php4/ext/gd'
/bin/sh /h/home/kir/SRC/php4/libtool --silent --mode=compile gcc -I. -I/h/home/
kir/SRC/php4/ext/gd -I/h/home/kir/SRC/php4 -I/h/home/kir/SRC/php4/main -I/h/home
/kir/SRC/php4/Zend -I/h/home/kir/SRC/php4 -I/usr/local/include -I/usr/local/incl
ude/freetype -I/h/home/kir/SRC/php4/ext/mysql/libmysql -I/u/oracle7/rdbms/public
-I/u/oracle7/rdbms/demo -I/u/oracle7/network/public -I/h/home/kir/SRC/php4/ext/
xml/expat/xmltok -I/h/home/kir/SRC/php4/ext/xml/expat/xmlparse -I/h/home/kir/SRC
/php4/TSRM -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -
DXML_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -g -O2 -c gd.c
gd.c: In function `php_if_imagepalettecopy':
gd.c:862: `gd_globals' undeclared (first use in this function)
gd.c:862: (Each undeclared identifier is reported only once
gd.c:862: for each function it appears in.)
make[3]: *** [gd.lo] Error 1
--
Edit Bug report at: http://bugs.php.net/?id=7616&edit=1