|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12948 Reference to gdImageGif causes compile fail in gd.c
Submitted: 2001-08-24 11:42 UTC Modified: 2001-08-24 14:41 UTC
From: jim dot hatfield at insignia dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.6 OS: FreeBSD 4.3-RELEASE
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
15 + 41 = ?
Subscribe to this entry?

 [2001-08-24 11:42 UTC] jim dot hatfield at insignia dot com
It would appear that the configuraton utility looks for
the function gdImageCreateFromGif in the gd library and uses
this to set a compiler directive HAVE_GD_GIF which is used
in #ifdefs protecting references to both this function and
also gdImageGif. Thus if the gd library (and include files)
have gdImageCreateFromGif but not gdImageGif, the file gd.c
will fail to compile.

This the case when building the FreeBSD port of mod_php4
with GD support selected from a FreeBSD ports tree updated


Jim Hatfield


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-24 12:46 UTC]
You have conflicting GD libraries/headers in your system.
Or the GD library provided is buggy. Not a PHP problem.

 [2001-08-24 14:41 UTC]
Sorry, I read this report too quickly.  
Thanks for the excellent analyze. This is now 
fixed in CVS.


PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Dec 06 10:03:51 2022 UTC