#34741 [Fbk]: latest CVS ming don't compile
| From: | sniper@php.net | Date: | Wed, 05 Oct 2005 12:10:57 +0000 |
| Subject: | #34741 [Fbk]: latest CVS ming don't compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86046@lists.php.net to get a copy of this message | ||
ID: 34741
Updated by: sniper@php.net
Reported By: ale dot pas at tiscali dot it
Status: Feedback
-Bug Type: *Compile Issues
+Bug Type: Ming related
Operating System: linux
PHP Version: 5.0.5
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2005-10-05 14:10:23] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-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