ID: 20821 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Open Bug Type: Compile Failure Operating System: FreeBSD 4.7-STABLE -PHP Version: 4CVS-2002-12-04 (stable) +PHP Version: Latest CVS (4.4.x-dev) New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2002-12-04 18:27:29] [EMAIL PROTECTED] I am trying to test the latest build to see if bug #19378 has been fixed. I have downloaded both Stable (4.3.x-dev) and Latest CVS (4.4.x-dev) both built on: Dec 04, 2002 22:30 GMT. Both were configured with... ./configure \ --with-config-file-path=/usr/local/etc/php.standalone \ --disable-pear \ --enable-discard-path \ --with-readline=/usr \ --enable-versioning \ --with-regex=system \ --with-gd=/usr/local \ --enable-gd-native-ttf \ --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr/local \ --with-png-dir=/usr/local \ --with-zlib \ --with-mysql=/usr/local \ --enable-trans-sid \ --prefix=/usr/local and both fail to compile at the same place. See below. gcc -I/usr/local/include -Iext/gd/ -I/usr/local/src/php4-200212042230/ext/gd/ -DPHP_ATOM_INC -I/usr/local/src/php4-200212042230/include -I/usr/local/src/php4-200212042230/main -I/usr/local/src/php4-200212042230 -I/usr/local/src/php4-200212042230/Zend -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/mysql -I/usr/local/src/php4-200212042230/ext/xml/expat -I/usr/local/src/php4-200212042230/TSRM -g -O2 -c /usr/local/src/php4-200212042230/ext/gd/gd.c -o ext/gd/gd.o && echo > ext/gd/gd.lo /usr/local/src/php4-200212042230/ext/gd/gd.c: In function `_php_image_create_from': /usr/local/src/php4-200212042230/ext/gd/gd.c:1426: warning: assignment makes pointer from integer without a cast /usr/local/src/php4-200212042230/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /usr/local/src/php4-200212042230/ext/gd/gd.c:1495: `gdImageCreateFromXpm' undeclared (first use in this function) /usr/local/src/php4-200212042230/ext/gd/gd.c:1495: (Each undeclared identifier is reported only once /usr/local/src/php4-200212042230/ext/gd/gd.c:1495: for each function it appears in.) *** Error code 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20821&edit=1
