#37472 [Opn->Fbk]: ming 0.3.0 does not compile with php 4.4.2
ID: 37472
Updated by: tony2001@php.net
Reported By: cs at tequila dot co dot jp
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4.4.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-05-17 07:20:47] cs at tequila dot co dot jp
Description:
------------
When compiling php 4.4.2 against ming 0.3.0, php failes to compile. php
5.1.4 succeeds with the same ming version on the same box.
System is a Redhat 9.0
Actual result:
--------------
/bin/sh /usr/local/src/php/php4/php-4.4.2/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/ming/
-I/usr/local/src/php/php4/php-4.4.2/ext/ming/ -DPHP_ATOM_INC
-I/usr/local/src/php/php4/php-4.4.2/include
-I/usr/local/src/php/php4/php-4.4.2/main
-I/usr/local/src/php/php4/php-4.4.2 -I/usr/kerberos/include
-I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap
-I/usr/local/src/php/php4/php-4.4.2/ext/mbstring/mbregex
-I/usr/local/src/php/php4/php-4.4.2/ext/mbstring/libmbfl
-I/usr/local/src/php/php4/php-4.4.2/ext/mbstring/libmbfl/mbfl
-I/usr/local/include -I/usr//include/mysql -I/usr/include/pspell
-I/usr/local/src/php/php4/php-4.4.2/ext/xml/expat
-I/usr/local/src/php/php4/php-4.4.2/TSRM
-I/usr/local/src/php/php4/php-4.4.2/Zend -g -O2 -prefer-pic -c
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c -o ext/ming/ming.lo
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c: In function
`zif_swfbitmap_init':
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c:323: warning:
assignment from incompatible pointer type
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c: In function
`zif_swfmovie_output':
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c:1467: too many
arguments to function `SWFMovie_output'
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c:1516: too many
arguments to function `SWFMovie_output'
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c: In function
`zif_swfmovie_save':
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c:1561: too many
arguments to function `SWFMovie_output'
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c:1575: too many
arguments to function `SWFMovie_output'
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c: In function
`zif_swftextfield_setFont':
/usr/local/src/php/php4/php-4.4.2/ext/ming/ming.c:2597: warning:
passing arg 2 of `SWFTextField_setFont' from incompatible pointer type
make: *** [ext/ming/ming.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37472&edit=1
Thread (5 messages)