php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20944 external gd dies with compile
Submitted: 2002-12-11 14:09 UTC Modified: 2002-12-11 17:31 UTC
From: matt at haught dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4CVS-2002-12-11 (dev) OS: FreeeBSD 4.7-RELEASE
Private report: No CVE-ID: None
 [2002-12-11 14:09 UTC] matt at haught dot com
I am trying to use gd-2.0.1 with php and I get the following compile error:

r-pic -c /home/matt/src/php4/ext/gd/gd.c -o ext/gd/gd.lo
/home/matt/src/php4/ext/gd/gd.c: In function `_php_image_create_from':
/home/matt/src/php4/ext/gd/gd.c:1445: warning: assignment makes pointer from integer without a cast
/home/matt/src/php4/ext/gd/gd.c: In function `zif_imagecreatefromxpm':
/home/matt/src/php4/ext/gd/gd.c:1515: `gdImageCreateFromXpm' undeclared (first use in this function)
/home/matt/src/php4/ext/gd/gd.c:1515: (Each undeclared identifier is reported only once
/home/matt/src/php4/ext/gd/gd.c:1515: for each function it appears in.)
*** Error code 1

Stop in /home/matt/src/php4.

Please note that this error does not occur with the builtin gd (the builtin was giving me a signal 10 while using jpgraph so I am trying the external).  RC2 does not give this error in either.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-11 14:32 UTC] iliaa@php.net
Use the bundled gd library for now, the external gd lib has a bug, which causes the problem you are experiencing.
 [2002-12-11 17:31 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 07:01:31 2024 UTC