From: [EMAIL PROTECTED] Operating system: FreeBSD 4.7 PHP version: 4.3.0RC3 PHP Bug Type: GD related Bug description: Compiling PHP fails with GD 2.0.8 and above
Bug #20228 still exist in 4.3.0RC3 Please fix this before 4.3.0 final. Compiling PHP fails with GD 2.0.8 and above: -- cut /bin/sh libtool --silent --mode=compile gcc -I/usr/local/include -Iext/gd/ -I/home/test/src/essentials/php-4.3.0RC3/ext/gd/ -DPHP_ATOM_INC -I/home/test/src/essentials/php-4.3.0RC3/include -I/home/test/src/essentials/php-4.3.0RC3/main -I/home/test/src/essentials/php-4.3.0RC3 -I/home/test/src/essentials/php-4.3.0RC3/Zend -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/mysql/include/mysql -I/usr/local/include/ucd-snmp -DMOD_SSL=208112 -DEAPI -DUSE_EXPAT -DSHARED_CORE -I/home/test/src/essentials/php-4.3.0RC3/TSRM -g -O2 -prefer-pic -c /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c -o ext/gd/gd.lo In file included from /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:89: /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd_ctx.c: In function `_php_image_output_ctx': /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd_ctx.c:73: structure has no member named `free' /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd_ctx.c:105: structure has no member named `free' /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_type': /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1156: structure has no member named `free' /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1163: structure has no member named `free' /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1345: structure has no member named `free' /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) gmake: *** [ext/gd/gd.lo] Error 1 -- cut You can see a describtion of the problem including patch and a new GD function on: http://www.boutell.com/gd/phppatch.html Best regards Henrik -- Edit bug report at http://bugs.php.net/?id=21030&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21030&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21030&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21030&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21030&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21030&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21030&r=support Expected behavior: http://bugs.php.net/fix.php?id=21030&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21030&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21030&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21030&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21030&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21030&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21030&r=isapi