ID: 20944 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: FreeeBSD 4.7-RELEASE PHP Version: 4CVS-2002-12-11 (dev) New Comment:
Use the bundled gd library for now, the external gd lib has a bug, which causes the problem you are experiencing. Previous Comments: ------------------------------------------------------------------------ [2002-12-11 14:09:25] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20944&edit=1
