From: neko at nekochan dot net Operating system: IRIX 6.5.30 PHP version: 5.2.10RC1 PHP Bug Type: Compile Failure Bug description: Compile failure under IRIX 6.5.30 building gd.c
Description: ------------ Able to compile up to and including php-5.2.9 without error and run in a production environment. Attempt to build php-5.2.10RC1 fails in ext/gd/libgd/gd.c (A value of type "int" cannot be assigned to an entity of type "gdImagePtr".) IRIX64 Kazehana 6.5 6.5.30f 07202013 IP35 MIPSpro Compilers: Version 7.4.4m Actual result: -------------- /bin/sh /opt/build/php-5.2.10RC1/libtool --silent --preserve-dup-deps --mode=compile c99 -I/opt/build/php-5.2.10RC1/ext/gd/libgd - DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_XPM -DHAVE_LIBFREETYPE -Iext/gd/ - I/opt/build/php-5.2.10RC1/ext/gd/ -DPHP_ATOM_INC -I/opt/build/php- 5.2.10RC1/include -I/opt/build/php-5.2.10RC1/main -I/opt/build/php- 5.2.10RC1 -I/opt/build/php-5.2.10RC1/ext/date/lib - I/usr/nekoware/include/libxml2 -I/usr/nekoware/include - I/usr/nekoware/include/freetype2 -I/opt/build/php- 5.2.10RC1/ext/mbstring/oniguruma -I/opt/build/php- 5.2.10RC1/ext/mbstring/libmbfl -I/opt/build/php- 5.2.10RC1/ext/mbstring/libmbfl/mbfl - I/usr/nekoware/mysql5/include/mysql -I/usr/nekoware/pgsql/include - I/opt/build/php-5.2.10RC1/TSRM -I/opt/build/php-5.2.10RC1/Zend - D_XPG_IV -L/usr/nekoware/lib -L/usr/lib32 -I/usr/include -mips4 -O3 - I/usr/nekoware/include -I/usr/include -Wl,-rpath - Wl,/usr/nekoware/lib:/usr/nekoware/mysql5/lib/mysql - OPT:Olimit=0:roundoff=3 -TARG:platform=IP35:proc=r16000 -c /opt/build/php-5.2.10RC1/ext/gd/libgd/gd.c -o ext/gd/libgd/gd.lo cc-1552 c99: WARNING File = /opt/build/php- 5.2.10RC1/ext/gd/libgd/gd.c, Line = 1802 The variable "old_y1" is set but never used. int old_y1,old_y2; ^ cc-1552 c99: WARNING File = /opt/build/php- 5.2.10RC1/ext/gd/libgd/gd.c, Line = 2055 The variable "tiled" is set but never used. int tiled; ^ cc-1552 c99: WARNING File = /opt/build/php- 5.2.10RC1/ext/gd/libgd/gd.c, Line = 2132 The variable "half1" is set but never used. int half1 = 1; ^ cc-1552 c99: WARNING File = /opt/build/php- 5.2.10RC1/ext/gd/libgd/gd.c, Line = 2447 The variable "accum" is set but never used. double accum; ^ cc-1552 c99: WARNING File = /opt/build/php- 5.2.10RC1/ext/gd/libgd/gd.c, Line = 2990 The variable "f" is set but never used. FuncPtr f; ^ cc-1515 c99: ERROR File = /opt/build/php-5.2.10RC1/ext/gd/libgd/gd.c, Line = 3881 A value of type "int" cannot be assigned to an entity of type "gdImagePtr". srctrans = gdImageColorAllocateAlpha(srcback, 0, 0, 0, 127); ^ cc-1164 c99: ERROR File = /opt/build/php-5.2.10RC1/ext/gd/libgd/gd.c, Line = 3882 Argument of type "gdImagePtr" is incompatible with parameter of type "int". gdImageFill(srcback, 0, 0, srctrans); ^ 2 errors detected in the compilation of "/opt/build/php- 5.2.10RC1/ext/gd/libgd/gd.c". gmake: *** [ext/gd/libgd/gd.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=48450&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48450&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48450&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48450&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48450&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48450&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48450&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48450&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48450&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48450&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48450&r=support Expected behavior: http://bugs.php.net/fix.php?id=48450&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48450&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48450&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48450&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48450&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48450&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48450&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48450&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48450&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48450&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48450&r=mysqlcfg