Date: Sun, 11 Nov 2001 18:01:17 -0500 From: Forrest Aldrich <forrie@forrie.com> To: ports@freebsd.org Subject: gdImageGif on PHP-4.0.6 with GD FreeBSD Port Message-ID: <5.1.0.14.2.20011111175828.00b7aea0@64.20.73.229>
next in thread | raw e-mail | index | archive | help
I've perused the net and have found many references to this bug, but no apparent fix. I'm attempting to compile php-4.0.6 on FreeBSD-4.4-STABLE (currently cvsup'd), using GD, and continue to experience the error below. I've followed some suggested direction, ensuring that I only have 1 version of GD installed. In fact, last night, I tried compiling against GD-1 and GD-2 and I get the same errors. This is very frustrating, and I wonder if you can shed some light on this. There was a couple of postings that suggested this problem may be specifically related to the FreeBSD ports of GD, which I am depending upon in this compile. Note that I am not using the Ports version of PHP to compile this, but this shouldn't make any difference as the bug is still present somewhere. Forrest gmake[3]: Entering directory `/usr/local/src/php-4.0.6/ext/gd' /bin/sh /usr/local/src/php-4.0.6/libtool --silent --mode=compile gcc -I. -I/usr/local/src/php-4.0.6/ext/gd -I/usr/local/src/php-4.0.6/main -I/usr/local/src/php-4.0.6 -I/usr/apache/include/apache -I/usr/local/src/php-4.0.6/Zend -I/usr/local/include/freetype -I/usr/local/include/gd -I/usr/local/include -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.6/ext/xml/expat/xmlparse -I/usr/local/src/php-4.0.6/TSRM -DMOD_SSL=208104 -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c gd.c: In function `php_if_imagegif': gd.c:1404: `gdImageGif' undeclared (first use in this function) gd.c:1404: (Each undeclared identifier is reported only once gd.c:1404: for each function it appears in.) gmake[3]: *** [gd.lo] Error 1 gmake[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/php-4.0.6/ext' gmake: *** [all-recursive] Error 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20011111175828.00b7aea0>