#34741 [Com]: latest CVS ming don't compile
| From: | netguy45 at hotmail dot com | Date: | Tue, 29 Nov 2005 16:33:02 +0000 |
| Subject: | #34741 [Com]: latest CVS ming don't compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-89404@lists.php.net to get a copy of this message | ||
ID: 34741
Comment by: netguy45 at hotmail dot com
Reported By: ale dot pas at tiscali dot it
Status: Feedback
Bug Type: Ming related
Operating System: linux
PHP Version: 5CVS-2005-10-05 (snap)
Assigned To: fmk
New Comment:
I'm getting the same error while compiling PHP as the original
poster. I didn't have this problem with previous builds of
PHP. I tried the build sniper posted on Nov 28 and the problem
was still present with that build. I'm compiling on OS X
Server 10.4.3 if that makes any difference.
Previous Comments:
------------------------------------------------------------------------
[2005-11-28 15:17:14] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-10-05 21:36:58] sniper@php.net
Frank, you broke this. :)
------------------------------------------------------------------------
[2005-10-05 14:47:13] ale dot pas at tiscali dot it
I've tested the PHP snapshot but the error remains:
-I/usr/local/src/php5-200510051030/ext/ming/ -DPHP_ATOM_INC
-I/usr/local/src/php5-200510051030/include
-I/usr/local/src/php5-200510051030/main
-I/usr/local/src/php5-200510051030 -I/usr/local/include/libxml2
-I/usr/local/src/php5-200510051030/ext/date/lib
-I/usr/include/freetype2 -I/usr/interbase/include -I/usr/include/mysql
-I/usr/local/pgsql/include -I/usr/local/src/php5-200510051030/TSRM
-I/usr/local/src/php5-200510051030/Zend -g -O2 -c
/usr/local/src/php5-200510051030/ext/ming/ming.c -o ext/ming/ming.lo
/usr/local/src/php5-200510051030/ext/ming/ming.c: In function
`zif_swfbitmap___construct':
/usr/local/src/php5-200510051030/ext/ming/ming.c:386: warning:
assignment from incompatible pointer type
/usr/local/src/php5-200510051030/ext/ming/ming.c: In function
`zif_swfmovie_output':
/usr/local/src/php5-200510051030/ext/ming/ming.c:2265: error: too many
arguments to function `SWFMovie_output'
/usr/local/src/php5-200510051030/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/usr/local/src/php5-200510051030/ext/ming/ming.c:2327: error: too many
arguments to function `SWFMovie_output'
/usr/local/src/php5-200510051030/ext/ming/ming.c: In function
`zif_swfmovie_save':
/usr/local/src/php5-200510051030/ext/ming/ming.c:2378: error: too many
arguments to function `SWFMovie_output'
/usr/local/src/php5-200510051030/ext/ming/ming.c:2397: error: too many
arguments to function `SWFMovie_output'
/usr/local/src/php5-200510051030/ext/ming/ming.c: In function
`zif_swftextfield_setFont':
/usr/local/src/php5-200510051030/ext/ming/ming.c:3741: warning: passing
arg 2 of `SWFTextField_setFont' from incompatible pointer type
make: *** [ext/ming/ming.lo] Error 1
BTW I've also tested ming-0.3beta1 (release) with the same results.
------------------------------------------------------------------------
[2005-10-05 14:10:56] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-10-05 13:50:24] ale dot pas at tiscali dot it
Description:
------------
Ming 0.3beta1 from cvs installed correctly.
PHP configured without errors
make fails.
Reproduce code:
---------------
Configure:
./configure --with-interbase --with-ming=/usr
--with-mysql=/usr --with-png-dir \
--with-jpeg-dir=/usr/local/src/jpeg-6b --with-zlib-dir
--with-gd \
--with-flatfile \
--enable-exif --with-ttf
--with-freetype-dir=/usr/include/freetype2 \
--with-t1lib --enable-gd-native-ttf --enable-debugger \
--enable-mbstr-enc-trans --with-iconv --with-pgsql
--enable-dbase \
--enable-force-cgi-redirect --enable-fastcgi
Actual result:
--------------
gcc -Iext/ming/ -I/usr/local/src/php-5.0.5/ext/ming/
-DPHP_ATOM_INC -I/usr/local/src/php-5.0.5/include
-I/usr/local/src/php-5.0.5/main -I/usr/local/src/php-5.0.5
-I/usr/include/libxml2 -I/usr/include/freetype2
-I/usr/interbase/include -I/usr/include/mysql
-I/usr/local/pgsql/include -I/usr/local/src/php-5.0.5/TSRM
-I/usr/local/src/php-5.0.5/Zend -g -O2
-c /usr/local/src/php-5.0.5/ext/ming/ming.c -o
ext/ming/ming.o && echo > ext/ming/ming.lo
/usr/local/src/php-5.0.5/ext/ming/ming.c: In function
`zif_swfbitmap___construct':
/usr/local/src/php-5.0.5/ext/ming/ming.c:386: warning:
assignment from incompatible pointer type
/usr/local/src/php-5.0.5/ext/ming/ming.c: In function
`zif_swfmovie_output':
/usr/local/src/php-5.0.5/ext/ming/ming.c:2265: error: too
many arguments to function `SWFMovie_output'
/usr/local/src/php-5.0.5/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/usr/local/src/php-5.0.5/ext/ming/ming.c:2327: error: too
many arguments to function `SWFMovie_output'
/usr/local/src/php-5.0.5/ext/ming/ming.c: In function
`zif_swfmovie_save':
/usr/local/src/php-5.0.5/ext/ming/ming.c:2378: error: too
many arguments to function `SWFMovie_output'
/usr/local/src/php-5.0.5/ext/ming/ming.c:2397: error: too
many arguments to function `SWFMovie_output'
/usr/local/src/php-5.0.5/ext/ming/ming.c: In function
`zif_swftextfield_setFont':
/usr/local/src/php-5.0.5/ext/ming/ming.c:3741: 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=34741&edit=1