php.net |  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:
MUST BE VALID
Solve the problem:
47 + 47 = ?
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
today.

Regards,

Jim Hatfield

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-24 12:46 UTC] sniper@php.net
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] sniper@php.net
Sorry, I read this report too quickly.  
Thanks for the excellent analyze. This is now 
fixed in CVS.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC