php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34741 latest CVS ming don't compile
Submitted: 2005-10-05 13:50 UTC Modified: 2005-12-06 01:00 UTC
Votes:4
Avg. Score:2.5 ± 1.5
Reproduced:4 of 4 (100.0%)
Same Version:2 (50.0%)
Same OS:0 (0.0%)
From: ale dot pas at tiscali dot it Assigned: fmk (profile)
Status: No Feedback Package: Ming related
PHP Version: 5CVS-2005-10-05 (snap) OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ale dot pas at tiscali dot it
New email:
PHP Version: OS:

 

 [2005-10-05 13:50 UTC] 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  
   

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-05 14:10 UTC] sniper@php.net
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


 [2005-10-05 14:47 UTC] ale dot pas at tiscali dot it
I've tested the PHP snapshot but the error remains:

-I/usr/local/src/php5-200510051030/ext/ming/ -DPHP_ATOM_INC -I/usr/local/src/php5-200510051030/include -I/usr/local/src/php5-200510051030/main -I/usr/local/src/php5-200510051030 -I/usr/local/include/libxml2 -I/usr/local/src/php5-200510051030/ext/date/lib -I/usr/include/freetype2 -I/usr/interbase/include -I/usr/include/mysql -I/usr/local/pgsql/include -I/usr/local/src/php5-200510051030/TSRM -I/usr/local/src/php5-200510051030/Zend    -g -O2  -c /usr/local/src/php5-200510051030/ext/ming/ming.c -o ext/ming/ming.lo
/usr/local/src/php5-200510051030/ext/ming/ming.c: In function `zif_swfbitmap___construct':
/usr/local/src/php5-200510051030/ext/ming/ming.c:386: warning: assignment from incompatible pointer type
/usr/local/src/php5-200510051030/ext/ming/ming.c: In function `zif_swfmovie_output':
/usr/local/src/php5-200510051030/ext/ming/ming.c:2265: error: too many arguments to function `SWFMovie_output'
/usr/local/src/php5-200510051030/ext/ming/ming.c: In function `zif_swfmovie_saveToFile':
/usr/local/src/php5-200510051030/ext/ming/ming.c:2327: error: too many arguments to function `SWFMovie_output'
/usr/local/src/php5-200510051030/ext/ming/ming.c: In function `zif_swfmovie_save':
/usr/local/src/php5-200510051030/ext/ming/ming.c:2378: error: too many arguments to function `SWFMovie_output'
/usr/local/src/php5-200510051030/ext/ming/ming.c:2397: error: too many arguments to function `SWFMovie_output'
/usr/local/src/php5-200510051030/ext/ming/ming.c: In function `zif_swftextfield_setFont':
/usr/local/src/php5-200510051030/ext/ming/ming.c:3741: warning: passing arg 2 of `SWFTextField_setFont' from incompatible pointer type
make: *** [ext/ming/ming.lo] Error 1


BTW I've also tested ming-0.3beta1 (release) with the same results.
 [2005-10-05 21:36 UTC] sniper@php.net
Frank, you broke this. :)

 [2005-11-28 15:17 UTC] sniper@php.net
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


 [2005-11-29 17:33 UTC] netguy45 at hotmail dot com
I'm getting the same error while compiling PHP as the original 
poster. I didn't have this problem with previous builds of 
PHP. I tried the build sniper posted on Nov 28 and the problem 
was still present with that build. I'm compiling on OS X 
Server 10.4.3 if that makes any difference.
 [2005-11-29 17:37 UTC] netguy45 at hotmail dot com
To clarify my comment a little more. I was able to compile PHP 
5.0.5 with ming. The problem started for me when I tried to 
compile the 5.1.1 release. I didn't try 5.1.0.
 [2005-12-06 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC