Bug #12948 Updated: Reference to gdImageGif causes compile fail in gd.c

From: Date: Fri, 24 Aug 2001 16:46:50 +0000
Subject: Bug #12948 Updated: Reference to gdImageGif causes compile fail in gd.c
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64260@lists.php.net to get a copy of this message
ID: 12948 Updated by: sniper Reported By: jim.hatfield@insignia.com Old Status: Open Status: Bogus Bug Type: Compile Failure Operating System: FreeBSD 4.3-RELEASE PHP Version: 4.0.6 New Comment: You have conflicting GD libraries/headers in your system. Or the GD library provided is buggy. Not a PHP problem. Previous Comments: ------------------------------------------------------------------------ [2001-08-24 11:42:34] jim.hatfield@insignia.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 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12948&edit=1

« previous php.dev (#64260) next »