ID: 48450
Updated by: [email protected]
Reported By: neko at nekochan dot net
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: IRIX 6.5.30
PHP Version: 5.2.10RC1
-Assigned To:
+Assigned To: pajoye
Previous Comments:
------------------------------------------------------------------------
[2009-06-02 06:48:40] neko at nekochan dot net
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 this bug report at http://bugs.php.net/?id=48450&edit=1