php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11413 Fails to compile properly when configured with --with-gd, using GD-1.8.3
Submitted: 2001-06-12 02:04 UTC Modified: 2001-06-12 02:58 UTC
From: stuart at promed dot com dot au Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: Linux notes.promed.com.au 2.2.16
Private report: No CVE-ID: None
 [2001-06-12 02:04 UTC] stuart at promed dot com dot au
GD downloaded/compiled from RedHat Source RPM, gd-1.8.3-7.src.rpm:
...
rpm -ivh gd-1.8.3-7.src.rpm
cd /usr/src/redhat/SOURCES/gd-1.8.3
make
make install
...

./configure --with-zlib --with-interbase --with-mysql --with-bz2 --with-apxs=/usr/local/apache/bin/apxs --enable-yp --with-ttf --with-gd


--------------

make[2]: Entering directory `/usr/local/src/php-4.0.5/ext/gd'
make[3]: Entering directory `/usr/local/src/php-4.0.5/ext/gd'
/bin/sh /usr/local/src/php-4.0.5/libtool --silent --mode=compile gcc  -I. -I/usr/local/src/php-4.0.5/ext/gd -I/usr/local/src/php-4.0.5/main -I/usr/local/src/php-4.0.5 -I/usr/local/apache/include -I/usr/local/src/php-4.0.5/Zend -I/usr/local/include/freetype -I/usr/interbase/include -I/usr/local/src/php-4.0.5/ext/mysql/libmysql -I/usr/local/src/php-4.0.5/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.5/ext/xml/expat/xmlparse -I/usr/local/src/php-4.0.5/TSRM  -DSHARED_MODULE -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c gd.c
gd.c:91: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:730: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:730: (Each undeclared identifier is reported only once
gd.c:730: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:917: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.5/ext/gd'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.5/ext/gd'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.5/ext'
make: *** [install-recursive] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-12 02:58 UTC] sniper@php.net
Fixed in CVS. You can try the latest release candidate
from: http://www.php.net/~andi/php-4.0.6RC3.tar.gz

--Jani

 [2001-06-12 02:58 UTC] sniper@php.net
Fixed in CVS. You can try the latest release candidate
from: http://www.php.net/~andi/php-4.0.6RC3.tar.gz

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 14:01:31 2024 UTC