php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7018 The error on gd.c
Submitted: 2000-10-04 16:24 UTC Modified: 2000-10-28 23:46 UTC
From: jeans118 at hotmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: RedHat6.2 with kernel 2.2.14
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jeans118 at hotmail dot com
New email:
PHP Version: OS:

 

 [2000-10-04 16:24 UTC] jeans118 at hotmail dot com
Already try to install it without MySQL support but got the following error after running make and make install.
/bin/sh /usr/local/php-4.0.2/libtool --silent --mode=compile gcc  -I. -I/usr/lo
cal/php-4.0.2/ext/gd -I/usr/local/php-4.0.2 -I/usr/local/php-4.0.2/main -I/usr/
local/apache/include -I/usr/local/php-4.0.2/Zend -I/usr/local/php-4.0.2 -I/usr/
local/php-4.0.2/ext/mysql/libmysql -I/usr/local/php-4.0.2/ext/xml/expat/xmltok
-I/usr/local/php-4.0.2/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2  -c
gd.c
gd.c: In function `php_if_imagecreatefromgif':
gd.c:500: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:500: (Each undeclared identifier is reported only once
gd.c:500: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:657: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/php-4.0.2/ext/gd'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/php-4.0.2/ext/gd'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.0.2/ext'
make: *** [install-recursive] Error 1
[root@hostname php-4.0.2]#
After that, no php module is given out to apache/libexec. I can install with
php-4.0.0 but not succeed for the php-4.0.2.
Anyone knows what did I missed?
I have configure it with apxs of apache only without MySQL.
thx

Jeans

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-06 08:33 UTC] sniper@php.net
Please include your configure line for php 4 into this bug report.

And if you do not have any need for GD extension you can disable
it with --without-gd

--Jani

 [2000-10-28 23:46 UTC] sniper@php.net
No feedback. 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 00:00:02 2026 UTC