ID: 40370
Comment by: m dot masson at cgi dot com
Reported By: oszfer at monornet dot hu
Status: Assigned
Bug Type: Ming related
Operating System: Debian sarge
PHP Version: 4.4.4
Assigned To: fmk
New Comment:
Got the same problem here...
I tried with both php-4.4.6 and the latest stable snapshot,
PHP5 compiles properly tough.
I can't use PHP5 as the application we are trying to install doesn't
support PHP5:
./configure --prefix=/data/php4-STABLE-200703081930
--with-apxs2=/data/apache/bin/apxs
--with-bz2
--with-gd
--with-freetype-dir=/usr
--with-jpeg-dir=/usr
--with-ttf
--with-png-dir
--with-jpeg-dir
--with-ming=/data/ming
--enable-exif
--enable-filter
--with-pdo-mysql=/data/mysql
--with-openssl
--with-mysql=/data/mysql
--with-mysqli=/data/mysql/bin/mysql_config
--with-zlib-dir=/usr
...
/bin/sh /data/SRC/php4-STABLE-200703081930/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/ming/
-I/data/SRC/php4-STABLE-200703081930/ext/ming/ -DPHP_ATOM_INC
-I/data/SRC/php4-STABLE-200703081930/include
-I/data/SRC/php4-STABLE-200703081930/main
-I/data/SRC/php4-STABLE-200703081930 -I/usr/kerberos/include
-I/usr/include/freetype2 -I/data/ming/include -I/data/mysql/include
-I/data/SRC/php4-STABLE-200703081930/ext/xml/expat
-I/data/SRC/php4-STABLE-200703081930/TSRM
-I/data/SRC/php4-STABLE-200703081930/Zend -g -O2 -prefer-non-pic -c
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c -o ext/ming/ming.lo
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c: In function
`zif_swfbitmap_init':
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:323: warning:
assignment from incompatible pointer type
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c: In function
`zif_swfmovie_output':
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:1467: error: too
many arguments to function `SWFMovie_output'
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:1516: error: too
many arguments to function `SWFMovie_output'
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c: In function
`zif_swfmovie_save':
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:1561: error: too
many arguments to function `SWFMovie_output'
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:1575: error: too
many arguments to function `SWFMovie_output'
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c: In function
`zif_swftextfield_setFont':
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:2597: warning:
passing arg 2 of `SWFTextField_setFont' from incompatible pointer type
make: *** [ext/ming/ming.lo] Error 1
thanks
Previous Comments:
------------------------------------------------------------------------
[2007-02-06 13:56:26] [EMAIL PROTECTED]
Assigned to the maintainer.
------------------------------------------------------------------------
[2007-02-06 13:48:38] oszfer at monornet dot hu
I get the same error with the latest snapshot:
/bin/sh /usr/local/src/php4-STABLE-200702061130/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/ming/
-I/usr/local/src/php4-STABLE-200702061130/ext/ming/ -DPHP_ATOM_INC
-I/usr/local/src/php4-STABLE-200702061130/include
-I/usr/local/src/php4-STABLE-200702061130/main
-I/usr/local/src/php4-STABLE-200702061130 -I/usr/include/libxml2
-I/usr/include/c-client
-I/usr/local/src/php4-STABLE-200702061130/ext/mbstring/mbregex
-I/usr/local/src/php4-STABLE-200702061130/ext/mbstring/libmbfl
-I/usr/local/src/php4-STABLE-200702061130/ext/mbstring/libmbfl/mbfl
-I/usr/local/include -I/home/oracle/product/9ir2/rdbms/public
-I/home/oracle/product/9ir2/rdbms/demo
-I/home/oracle/product/9ir2/plsql/public -I/usr/include/postgresql
-I/usr/local/src/php4-STABLE-200702061130/ext/xml/expat
-I/usr/local/src/php4-STABLE-200702061130/TSRM
-I/usr/local/src/php4-STABLE-200702061130/Zend -prefer-non-pic -c
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c -o
ext/ming/ming.lo
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c: In function
`zif_swfbitmap_init':
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:323: warning:
assignment from incompatible pointer type
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c: In function
`zif_swfmovie_output':
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:1467: error:
too many arguments to function `SWFMovie_output'
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:1516: error:
too many arguments to function `SWFMovie_output'
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c: In function
`zif_swfmovie_save':
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:1561: error:
too many arguments to function `SWFMovie_output'
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:1575: error:
too many arguments to function `SWFMovie_output'
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c: In function
`zif_swftextfield_setFont':
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:2597: warning:
passing arg 2 of `SWFTextField_setFont' from incompatible pointer type
make: *** [ext/ming/ming.lo] Error 1
------------------------------------------------------------------------
[2007-02-06 13:01:55] [EMAIL PROTECTED]
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
------------------------------------------------------------------------
[2007-02-06 12:53:36] oszfer at monornet dot hu
Description:
------------
I cannot compile PHP with ming-0.3 extension.
As I see on http://bugs.php.net/bug.php?id=35461 the
problem was solved once.
But, at least for me, it still exists with php-4.4.4.
linux:/usr/local/src/php-4.4.4# gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 Free Software Foundation, Inc.
Actual result:
--------------
/usr/local/src/php-4.4.4/ext/ming/ming.c: In function
`zif_swfbitmap_init':
/usr/local/src/php-4.4.4/ext/ming/ming.c:323: warning:
assignment from incompatible pointer type
/usr/local/src/php-4.4.4/ext/ming/ming.c: In function
`zif_swfmovie_output':
/usr/local/src/php-4.4.4/ext/ming/ming.c:1467: error: too
many arguments to function `SWFMovie_output'
/usr/local/src/php-4.4.4/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/usr/local/src/php-4.4.4/ext/ming/ming.c:1516: error: too
many arguments to function `SWFMovie_output'
/usr/local/src/php-4.4.4/ext/ming/ming.c: In function
`zif_swfmovie_save':
/usr/local/src/php-4.4.4/ext/ming/ming.c:1561: error: too
many arguments to function `SWFMovie_output'
/usr/local/src/php-4.4.4/ext/ming/ming.c:1575: error: too
many arguments to function `SWFMovie_output'
/usr/local/src/php-4.4.4/ext/ming/ming.c: In function
`zif_swftextfield_setFont':
/usr/local/src/php-4.4.4/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=40370&edit=1