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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

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 26 10:01:31 2024 UTC