#48720 [Opn->WFx]: php4 does not compile, ming error

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               48720
 Updated by:       [email protected]
 Reported By:      yilanbin at 163 dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         Compile Failure
 Operating System: redhat as 4.3
 PHP Version:      5.2.10
 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------

[2009-06-29 14:40:07] 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!


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48720&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.