From: yilanbin at 163 dot com
Operating system: redhat as 4.3
PHP version: 5.2.10
PHP Bug Type: Compile Failure
Bug description: php4 does not compile, ming error
Description:
------------
Latest php-4.4.9 does not compile with ming-0.4.0.beta5 ,update php from
4.4.0 to 4.4.9¡£
Reproduce code:
---------------
./configure '--with-apxs=/usr/local/apache/bin/apxs' '--enable-track-vars'
'--with-ttf' '--with-freetype-dir=/usr/local/lib' '--enable-gd-native-ttf'
'--enable-ftp' '--with-zlib' '--with-gd' '--with-freetype' '--with-sockets'
'--enable-sockets' '--with-sysvshm' '--with-sysvsem' '--disable-debug'
'--with-pdflib-dir=/usr/local/lib' '--with-tiff-dir=/usr/local/lib'
'--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib'
'--with-zlib-dir=/usr/local/lib' '--with-mysql' '--with-xml' '--with-iconv'
'--with-ming'
Expected result:
----------------
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfaction_init':
/usr/local/src/php-4.4.9/ext/ming/ming.c:248: warning:
`compileSWFActionCode' is
deprecated (declared at
/usr/local/include/ming.h:611)
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfbitmap_init':
/usr/local/src/php-4.4.9/ext/ming/ming.c:323: warning: assignment from
incompati
ble pointer type
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfbutton_setHit':
/usr/local/src/php-4.4.9/ext/ming/ming.c:429: warning:
`SWFButton_addShape' is d
eprecated (declared at
/usr/local/include/ming.h:663)
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfbutton_setOver':
/usr/local/src/php-4.4.9/ext/ming/ming.c:447: warning:
`SWFButton_addShape' is d
eprecated (declared at
/usr/local/include/ming.h:663)
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfbutton_setUp':
/usr/local/src/php-4.4.9/ext/ming/ming.c:465: warning:
`SWFButton_addShape' is d
eprecated (declared at
/usr/local/include/ming.h:663)
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfbutton_setDown':
/usr/local/src/php-4.4.9/ext/ming/ming.c:483: warning:
`SWFButton_addShape' is d
eprecated (declared at
/usr/local/include/ming.h:663)
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfbutton_addShape':
/usr/local/src/php-4.4.9/ext/ming/ming.c:502: warning:
`SWFButton_addShape' is d
eprecated (declared at
/usr/local/include/ming.h:663)
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function `zif_swffont_init':
/usr/local/src/php-4.4.9/ext/ming/ming.c:1091: warning:
`loadSWFFontFromFile' is
deprecated (declared at
/usr/local/include/ming.h:418)
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfmovie_init':
/usr/local/src/php-4.4.9/ext/ming/ming.c:1328: error: too many arguments
to func
tion `newSWFMovie'
/usr/local/src/php-4.4.9/ext/ming/ming.c:1330: error: too many arguments
to func
tion `newSWFMovie'
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfmovie_output':
/usr/local/src/php-4.4.9/ext/ming/ming.c:1467: error: too many arguments
to func
tion `SWFMovie_output'
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/usr/local/src/php-4.4.9/ext/ming/ming.c:1516: error: too many arguments
to func
tion `SWFMovie_output'
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swfmovie_save':
/usr/local/src/php-4.4.9/ext/ming/ming.c:1561: error: too many arguments
to func
tion `SWFMovie_output'
/usr/local/src/php-4.4.9/ext/ming/ming.c:1575: error: too many arguments
to func
tion `SWFMovie_output'
/usr/local/src/php-4.4.9/ext/ming/ming.c: In function
`zif_swftextfield_setFont'
:
/usr/local/src/php-4.4.9/ext/ming/ming.c:2597: warning: passing arg 2 of
`SWFTex
tField_setFont' from incompatible pointer type
make: *** [ext/ming/ming.lo] Error 1
[r...@www php-4.4.9]#
Actual result:
--------------
I don't know how to write?sorry!help me please!thanks!
--
Edit bug report at http://bugs.php.net/?id=48720&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=48720&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=48720&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=48720&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=48720&r=fixedcvs
Fixed in CVS and need be documented:
http://bugs.php.net/fix.php?id=48720&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=48720&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=48720&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=48720&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=48720&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=48720&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=48720&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=48720&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=48720&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=48720&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48720&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48720&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=48720&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=48720&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=48720&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=48720&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=48720&r=mysqlcfg