php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8438 gd.c:703: `gdImageCreateFromGif' undeclared (first use in this function)
Submitted: 2000-12-27 09:07 UTC Modified: 2000-12-27 13:03 UTC
From: bth1202 at hanmail dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4 OS: RedHat6.2(linux)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bth1202 at hanmail dot net
New email:
PHP Version: OS:

 

 [2000-12-27 09:07 UTC] bth1202 at hanmail dot net
[root@linukers php-4.0.4]# ./configure --with-mysql=/usr/local/mysql --with-pgsql --with-apache=../apache_1.3.14 --enable-track-vars --enable-force-cgi-redirect --with-gettext --with-ldap --with-imap-ssl --with-imap --with-jpeg --with-servlet --enable-magic-quotes --enable-calendar --with-tiff --with-gdbm --enable-ftp --enable-gd-imgstrttf --with-gd --with-xpm --with-ttf --with-kerberos--with-readline --enable-sockets --enable-yp --with-zlib --with-tsrm-pthreads --with-java=/usr/local/jdk1.2 --with-gif

 I configured according to the above and excuted 'make' to compile accordingly.
Then, the compiling was broken during doing gd.c as follows:

gd.c: In function `php_if_imagecreatefromgif':
gd.c:703: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:703: (Each undeclared identifier is reported only once
gd.c:703: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:862: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/bth/v7.0.2/php-4.0.4/ext/gd'
make[2]: *** [all-recursiveError 1
make[2]: Leaving directory `/home/bth/v7.0.2/php-4.0.4/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bth/v7.0.2/php-4.0.4/ext'
make: *** [all-recursive] Error 1
[root@linukers php-4.0.4]# 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-27 13:03 UTC] rasmus@php.net
This happens when your gd header files do not match your installed gd library, or you have multiple versions of gd.h on your system.  Do a 'make clean', remove any extra gd.h header files and re-configure/rebuild.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 11:00:01 2026 UTC