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 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: jim dot hatfield at insignia dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Thu Dec 26 17:01:31 2024 UTC