#37472 [Com]: ming 0.3.0 does not compile with php 4.4.2
| From: | erkintek at fotograf dot web dot tr | Date: | Sat, 20 May 2006 21:17:27 +0000 |
| Subject: | #37472 [Com]: ming 0.3.0 does not compile with php 4.4.2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97415@lists.php.net to get a copy of this message | ||
ID: 37472
Comment by: erkintek at fotograf dot web dot tr
Reported By: cs at tequila dot co dot jp
Status: Feedback
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4.4.2
New Comment:
problem continuing with following output
gcc -Iext/ming/
-I/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/
-DPHP_ATOM_INC
-I/home/erkintek/sil/php/php4-STABLE-200605202030/include
-I/home/erkintek/sil/php/php4-STABLE-200605202030/main
-I/home/erkintek/sil/php/php4-STABLE-200605202030
-I/usr/include/libxml2 -I/usr/local/include
-I/home/erkintek/sil/php/php4-STABLE-200605202030/ext/xml/expat
-I/home/erkintek/sil/php/php4-STABLE-200605202030/TSRM
-I/home/erkintek/sil/php/php4-STABLE-200605202030/Zend -g -O2 -c
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c -o
ext/ming/ming.o && echo > ext/ming/ming.lo
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c: In
function `zif_swfbitmap_init':
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c:323:
warning: assignment from incompatible pointer type
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c: In
function `zif_swfmovie_output':
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c:1467:
error: too many arguments to function `SWFMovie_output'
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c: In
function `zif_swfmovie_saveToFile':
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c:1516:
error: too many arguments to function `SWFMovie_output'
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c: In
function `zif_swfmovie_save':
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c:1561:
error: too many arguments to function `SWFMovie_output'
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c:1575:
error: too many arguments to function `SWFMovie_output'
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c: In
function `zif_swftextfield_setFont':
/home/erkintek/sil/php/php4-STABLE-200605202030/ext/ming/ming.c:2597:
warning: passing arg 2 of `SWFTextField_setFont' from incompatible
pointer type
make: *** [ext/ming/ming.lo] Hata 1
Previous Comments:
------------------------------------------------------------------------
[2006-05-20 14:05:11] tony2001@php.net
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
------------------------------------------------------------------------
[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