From: ale dot pas at tiscali dot it
Operating system: linux
PHP version: 5.0.5
PHP Bug Type: *Compile Issues
Bug description: latest CVS ming don't compile
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 bug report at http://bugs.php.net/?id=34741&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34741&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=34741&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=34741&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34741&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34741&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34741&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34741&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34741&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34741&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34741&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=34741&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=34741&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34741&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34741&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34741&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34741&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34741&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34741&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34741&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34741&r=mysqlcfg