ID: 20821 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Closed Bug Type: Compile Failure Operating System: FreeBSD 4.7-STABLE PHP Version: Latest CVS (4.4.x-dev) New Comment:
it now compiles with the latest 4.4.x CVS and using the bundled GD library. Next I'll see if bug #19378 has been fixed. Thanks! Previous Comments: ------------------------------------------------------------------------ [2002-12-05 09:23:15] [EMAIL PROTECTED] I've noticed you are using a non-bundled GD library that has a bug, the gdImageCreateFromXpm() function is not defined in any headers. Can you try making a clean CVS build and use the bundled GD library? ------------------------------------------------------------------------ [2002-12-05 04:42:56] [EMAIL PROTECTED] yes - it is '#define HAVE_GD_XPM 1' ?? ------------------------------------------------------------------------ [2002-12-04 22:43:47] [EMAIL PROTECTED] Check main/php_config.h for line with HAVE_GD_XPM. Is it '#define HAVE_GD_XPM 1' ?? ------------------------------------------------------------------------ [2002-12-04 20:35:43] [EMAIL PROTECTED] the Latest CVS (4.4.x-dev) Built On: Dec 05, 2002 02:30 GMT fails to compile at gcc -I/usr/local/include -Iext/gd/ -I/usr/local/src/php4-200212050230/ext/gd/ -DPHP_ATOM_INC -I/usr/local/src/php4-200212050230/include -I/usr/local/src/php4-200212050230/main -I/usr/local/src/php4-200212050230 -I/usr/local/src/php4-200212050230/Zend -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/mysql -I/usr/local/src/php4-200212050230/ext/xml/expat -I/usr/local/src/php4-200212050230/TSRM -g -O2 -c /usr/local/src/php4-200212050230/ext/gd/gd.c -o ext/gd/gd.o && echo > ext/gd/gd.lo /usr/local/src/php4-200212050230/ext/gd/gd.c: In function `_php_image_create_from': /usr/local/src/php4-200212050230/ext/gd/gd.c:1427: warning: assignment makes pointer from integer without a cast /usr/local/src/php4-200212050230/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/local/src/php4-200212050230/ext/gd/gd.c:1497: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/local/src/php4-200212050230/ext/gd/gd.c:1497: (Each undeclared identifier is reported only once /usr/local/src/php4-200212050230/ext/gd/gd.c:1497: for each function it appears in.) *** Error code 1 Stop in /usr/local/src/php4-200212050230. ------------------------------------------------------------------------ [2002-12-04 18:33:57] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20821 -- Edit this bug report at http://bugs.php.net/?id=20821&edit=1
