From:             hostmaster at xenterra dot net
Operating system: Slackware Linux 10.2
PHP version:      5.1.1
PHP Bug Type:     Compile Failure
Bug description:  Ming extension fails to compile

Description:
------------
No script; this is a compile error.
Configure options:
./configure --with-apxs=/usr/local/apache/bin/apxs \
            --with-pgsql=/usr/local/pgsql \
            --enable-dba \
            --with-flatfile \
            --with-openssl \
            --enable-exif \
            --with-gd=/usr/local/gd-2.0.33 \
            --with-jpeg-dir=/usr/lib \
            --with-png-dir=/usr/lib \
            --with-zlib-dir=/usr/lib \
            --with-xpm-dir=/usr/X11R6/lib \
            --with-imap=/usr/local/imap-2002d \
            --with-imap-ssl=/usr/local/ssl \
            --with-curl \
            --with-curlwrappers \
            --enable-ftp \
            --enable-soap \
            --with-libxml-dir=/usr/local/lib \
            --with-ming=/usr/local/lib \
            --enable-sockets

Compilation also failed using CVS snapshot php5-200511282130 on Slackware
10.2, and on Slackware 10.1 using official release.

Ming version is ming-0.3beta1.

Reproduce code:
---------------
No code.

Expected result:
----------------
N/A

Actual result:
--------------
Following is gcc output right before "make" quit:

/usr/local/php-5.1.1/ext/ming/ming.c: In function
`zif_swfbitmap___construct':
/usr/local/php-5.1.1/ext/ming/ming.c:386: warning: assignment from
incompatible pointer type
/usr/local/php-5.1.1/ext/ming/ming.c: In function `zif_swfmovie_output':
/usr/local/php-5.1.1/ext/ming/ming.c:2267: error: too few arguments to
function `SWFMovie_output'
/usr/local/php-5.1.1/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/usr/local/php-5.1.1/ext/ming/ming.c:2329: error: too few arguments to
function `SWFMovie_output'
/usr/local/php-5.1.1/ext/ming/ming.c: In function `zif_swfmovie_save':
/usr/local/php-5.1.1/ext/ming/ming.c:2380: error: too few arguments to
function `SWFMovie_output'
/usr/local/php-5.1.1/ext/ming/ming.c:2399: error: too few arguments to
function `SWFMovie_output'
/usr/local/php-5.1.1/ext/ming/ming.c: In function
`zif_swftextfield_setFont':
/usr/local/php-5.1.1/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=35461&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35461&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35461&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35461&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35461&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35461&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35461&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35461&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35461&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35461&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35461&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35461&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35461&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35461&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35461&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35461&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35461&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35461&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35461&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35461&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35461&r=mysqlcfg

Reply via email to