|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-02-06 12:53 UTC] oszfer at monornet dot hu
Description: ------------ I cannot compile PHP with ming-0.3 extension. As I see on http://bugs.php.net/bug.php?id=35461 the problem was solved once. But, at least for me, it still exists with php-4.4.4. linux:/usr/local/src/php-4.4.4# gcc --version gcc (GCC) 3.3.5 (Debian 1:3.3.5-13) Copyright (C) 2003 Free Software Foundation, Inc. Actual result: -------------- /usr/local/src/php-4.4.4/ext/ming/ming.c: In function `zif_swfbitmap_init': /usr/local/src/php-4.4.4/ext/ming/ming.c:323: warning: assignment from incompatible pointer type /usr/local/src/php-4.4.4/ext/ming/ming.c: In function `zif_swfmovie_output': /usr/local/src/php-4.4.4/ext/ming/ming.c:1467: error: too many arguments to function `SWFMovie_output' /usr/local/src/php-4.4.4/ext/ming/ming.c: In function `zif_swfmovie_saveToFile': /usr/local/src/php-4.4.4/ext/ming/ming.c:1516: error: too many arguments to function `SWFMovie_output' /usr/local/src/php-4.4.4/ext/ming/ming.c: In function `zif_swfmovie_save': /usr/local/src/php-4.4.4/ext/ming/ming.c:1561: error: too many arguments to function `SWFMovie_output' /usr/local/src/php-4.4.4/ext/ming/ming.c:1575: error: too many arguments to function `SWFMovie_output' /usr/local/src/php-4.4.4/ext/ming/ming.c: In function `zif_swftextfield_setFont': /usr/local/src/php-4.4.4/ext/ming/ming.c:2597: warning: passing arg 2 of `SWFTextField_setFont' from incompatible pointer type make: *** [ext/ming/ming.lo] Error 1 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 16:00:01 2025 UTC |
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