php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37472 ming 0.3.0 does not compile with php 4.4.2
Submitted: 2006-05-17 07:20 UTC Modified: 2006-05-28 01:00 UTC
Votes:9
Avg. Score:3.6 ± 0.7
Reproduced:9 of 9 (100.0%)
Same Version:6 (66.7%)
Same OS:5 (55.6%)
From: cs at tequila dot co dot jp Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.4.2 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cs at tequila dot co dot jp
New email:
PHP Version: OS:

 

 [2006-05-17 07:20 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-20 21:17 UTC] 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-28 01:00 UTC] 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-08-01 13:56 UTC] 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
 [2007-06-05 09:19 UTC] maxime at carpediem dot fr
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
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Apr 30 16:01:28 2025 UTC