#37472 [Com]: ming 0.3.0 does not compile with php 4.4.2
ID: 37472
Comment by: maxime at carpediem dot fr
Reported By: cs at tequila dot co dot jp
Status: No Feedback
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 4.4.2
New Comment:
Hi,
I think I'm experiencing same issue with PHP 4.4.7 on Ubuntu 7.04.
Ming is ubuntu version, 0.3.0-11ubuntu1
/usr/local/src/php-4.4.7/ext/ming/ming.c: In function
âzif_swfbitmap_initâ:
/usr/local/src/php-4.4.7/ext/ming/ming.c:323: warning: assignment from
incompatible pointer type
/usr/local/src/php-4.4.7/ext/ming/ming.c: In function
âzif_swfmovie_outputâ:
/usr/local/src/php-4.4.7/ext/ming/ming.c:1467: error: too many
arguments to function âSWFMovie_outputâ
/usr/local/src/php-4.4.7/ext/ming/ming.c: In function
âzif_swfmovie_saveToFileâ:
/usr/local/src/php-4.4.7/ext/ming/ming.c:1516: error: too many
arguments to function âSWFMovie_outputâ
/usr/local/src/php-4.4.7/ext/ming/ming.c: In function
âzif_swfmovie_saveâ:
/usr/local/src/php-4.4.7/ext/ming/ming.c:1561: error: too many
arguments to function âSWFMovie_outputâ
/usr/local/src/php-4.4.7/ext/ming/ming.c:1575: error: too many
arguments to function âSWFMovie_outputâ
/usr/local/src/php-4.4.7/ext/ming/ming.c: In function
âzif_swftextfield_setFontâ:
/usr/local/src/php-4.4.7/ext/ming/ming.c:2597: warning: passing
argument 2 of âSWFTextField_setFontâ from incompatible pointer type
Previous Comments:
------------------------------------------------------------------------
[2006-08-01 13:56:15] d3m1g0d at gmail dot com
hi,
im experiencing the same problem on centos 4.3 final. i've also tried
the current snapshot:
/bin/sh /usr/src/redhat/tmp/BUILD/php4-4.4.2/build-cgi/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/ncurses/
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ncurses/ -DPHP_ATOM_INC
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/build-cgi/include
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/build-cgi/main
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2 -I/usr/kerberos/include
-I/usr/include/pcre -I/usr/include/libxml2 -I/usr/include/freetype2
-I/usr/include/imap
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/mbstring/mbregex
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/mbstring/libmbfl
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/ncurses
-I/opt/oracle/product/9.0.2/rdbms/public
-I/opt/oracle/product/9.0.2/rdbms/demo -I/usr/include/pspell
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/build-cgi/TSRM
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/build-cgi/Zend
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/main
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/Zend
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/TSRM
-I/usr/src/redhat/tmp/BUILD/php4-4.4.2/build-cgi/ -O2 -g -pipe -m32
-march=i386 -mtune=pentium4 -fno-strict-aliasing -Wall -prefer-pic -c
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ncurses/ncurses_fe.c -o
ext/ncurses/ncurses_fe.lo
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ming/ming.c: In function
`zif_swfbitmap_init':
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ming/ming.c:323: warning:
assignment from incompatible pointer type
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ming/ming.c: In function
`zif_swfmovie_output':
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ming/ming.c:1467: error: too
many arguments to function `SWFMovie_output'
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ming/ming.c:1516: error: too
many arguments to function `SWFMovie_output'
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ming/ming.c: In function
`zif_swfmovie_save':
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ming/ming.c:1561: error: too
many arguments to function `SWFMovie_output'
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ming/ming.c:1575: error: too
many arguments to function `SWFMovie_output'
/usr/src/redhat/tmp/BUILD/php4-4.4.2/ext/ming/ming.c: In function
`zif_swftextfield_setFont':
/usr/src/redhat/tmp/BUILD/php4-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
------------------------------------------------------------------------
[2006-05-28 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-05-20 21:17:27] erkintek at fotograf dot web dot tr
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
------------------------------------------------------------------------
[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
Thread (5 messages)