#40370 [Asn->Fbk]: compile error
| From: | tony2001@php.net | Date: | Thu, 26 Apr 2007 09:27:22 +0000 |
| Subject: | #40370 [Asn->Fbk]: compile error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111938@lists.php.net to get a copy of this message | ||
ID: 40370
Updated by: tony2001@php.net
Reported By: oszfer at monornet dot hu
-Status: Assigned
+Status: Feedback
Bug Type: Ming related
Operating System: Debian sarge
PHP Version: 4.4.4
Assigned To: fmk
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2007-03-08 21:34:25] m dot masson at cgi dot com
Forgot to mention that I'm using RedHat Enterprise 4 update 4.
------------------------------------------------------------------------
[2007-03-08 21:32:29] m dot masson at cgi dot com
Got the same problem here...
I tried with both php-4.4.6 and the latest stable snapshot,
PHP5 compiles properly tough.
I can't use PHP5 as the application we are trying to install doesn't
support PHP5:
./configure --prefix=/data/php4-STABLE-200703081930
--with-apxs2=/data/apache/bin/apxs
--with-bz2
--with-gd
--with-freetype-dir=/usr
--with-jpeg-dir=/usr
--with-ttf
--with-png-dir
--with-jpeg-dir
--with-ming=/data/ming
--enable-exif
--enable-filter
--with-pdo-mysql=/data/mysql
--with-openssl
--with-mysql=/data/mysql
--with-mysqli=/data/mysql/bin/mysql_config
--with-zlib-dir=/usr
...
/bin/sh /data/SRC/php4-STABLE-200703081930/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/ming/
-I/data/SRC/php4-STABLE-200703081930/ext/ming/ -DPHP_ATOM_INC
-I/data/SRC/php4-STABLE-200703081930/include
-I/data/SRC/php4-STABLE-200703081930/main
-I/data/SRC/php4-STABLE-200703081930 -I/usr/kerberos/include
-I/usr/include/freetype2 -I/data/ming/include -I/data/mysql/include
-I/data/SRC/php4-STABLE-200703081930/ext/xml/expat
-I/data/SRC/php4-STABLE-200703081930/TSRM
-I/data/SRC/php4-STABLE-200703081930/Zend -g -O2 -prefer-non-pic -c
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c -o ext/ming/ming.lo
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c: In function
`zif_swfbitmap_init':
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:323: warning:
assignment from incompatible pointer type
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c: In function
`zif_swfmovie_output':
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:1467: error: too
many arguments to function `SWFMovie_output'
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:1516: error: too
many arguments to function `SWFMovie_output'
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c: In function
`zif_swfmovie_save':
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:1561: error: too
many arguments to function `SWFMovie_output'
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:1575: error: too
many arguments to function `SWFMovie_output'
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c: In function
`zif_swftextfield_setFont':
/data/SRC/php4-STABLE-200703081930/ext/ming/ming.c:2597: warning:
passing arg 2 of `SWFTextField_setFont' from incompatible pointer type
make: *** [ext/ming/ming.lo] Error 1
thanks
------------------------------------------------------------------------
[2007-02-06 13:56:26] tony2001@php.net
Assigned to the maintainer.
------------------------------------------------------------------------
[2007-02-06 13:48:38] oszfer at monornet dot hu
I get the same error with the latest snapshot:
/bin/sh /usr/local/src/php4-STABLE-200702061130/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/ming/
-I/usr/local/src/php4-STABLE-200702061130/ext/ming/ -DPHP_ATOM_INC
-I/usr/local/src/php4-STABLE-200702061130/include
-I/usr/local/src/php4-STABLE-200702061130/main
-I/usr/local/src/php4-STABLE-200702061130 -I/usr/include/libxml2
-I/usr/include/c-client
-I/usr/local/src/php4-STABLE-200702061130/ext/mbstring/mbregex
-I/usr/local/src/php4-STABLE-200702061130/ext/mbstring/libmbfl
-I/usr/local/src/php4-STABLE-200702061130/ext/mbstring/libmbfl/mbfl
-I/usr/local/include -I/home/oracle/product/9ir2/rdbms/public
-I/home/oracle/product/9ir2/rdbms/demo
-I/home/oracle/product/9ir2/plsql/public -I/usr/include/postgresql
-I/usr/local/src/php4-STABLE-200702061130/ext/xml/expat
-I/usr/local/src/php4-STABLE-200702061130/TSRM
-I/usr/local/src/php4-STABLE-200702061130/Zend -prefer-non-pic -c
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c -o
ext/ming/ming.lo
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c: In function
`zif_swfbitmap_init':
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:323: warning:
assignment from incompatible pointer type
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c: In function
`zif_swfmovie_output':
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:1467: error:
too many arguments to function `SWFMovie_output'
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c: In function
`zif_swfmovie_saveToFile':
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:1516: error:
too many arguments to function `SWFMovie_output'
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c: In function
`zif_swfmovie_save':
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:1561: error:
too many arguments to function `SWFMovie_output'
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:1575: error:
too many arguments to function `SWFMovie_output'
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c: In function
`zif_swftextfield_setFont':
/usr/local/src/php4-STABLE-200702061130/ext/ming/ming.c:2597: warning:
passing arg 2 of `SWFTextField_setFont' from incompatible pointer type
make: *** [ext/ming/ming.lo] Error 1
------------------------------------------------------------------------
[2007-02-06 13:01:55] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40370
--
Edit this bug report at http://bugs.php.net/?id=40370&edit=1