php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48720 php4 does not compile, ming error
Submitted: 2009-06-29 14:40 UTC Modified: 2009-06-29 15:06 UTC
From: yilanbin at 163 dot com Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 5.2.10 OS: redhat as 4.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: yilanbin at 163 dot com
New email:
PHP Version: OS:

 

 [2009-06-29 14:40 UTC] yilanbin at 163 dot com
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
[root@www php-4.4.9]#


Actual result:
--------------
I don't know how to write?sorry!help me please!thanks!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-29 15:06 UTC] scottmac@php.net
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 20:01:36 2025 UTC