From: hannes at phpug dot ch Operating system: Linux 2.6.5 PHP version: 5CVS-2004-04-13 (dev) PHP Bug Type: Compile Failure Bug description: Compilation of ext/ming fails
Description: ------------ Compiling the latest snapshot (php5-200404131030) seems to fail when configuring it with "--with-ming". `make` produces a bunch of warnings and parse errors. Actual result: -------------- make ... ... -I/tmp/php5-200404131030/TSRM -g -O2 -prefer-pic -c /tmp/php5-200404131030 /ext/ming/ming.c -o ext/ming/ming.lo /tmp/php5-200404131030/ext/ming/ming.c:73: error: parse error before "getFontCha racter" /tmp/php5-200404131030/ext/ming/ming.c:73: warning: data definition has no type or storage class /tmp/php5-200404131030/ext/ming/ming.c:1313: error: parse error before "getFontC haracter" /tmp/php5-200404131030/ext/ming/ming.c: In function `getFontCharacter': /tmp/php5-200404131030/ext/ming/ming.c:1320: error: `SWFFontCharacter' undeclare d (first use in this function) /tmp/php5-200404131030/ext/ming/ming.c:1320: error: (Each undeclared identifier is reported only once /tmp/php5-200404131030/ext/ming/ming.c:1320: error: for each function it appears in.) /tmp/php5-200404131030/ext/ming/ming.c:1320: error: parse error before "font" /tmp/php5-200404131030/ext/ming/ming.c: In function `zif_swfmovie_importChar': /tmp/php5-200404131030/ext/ming/ming.c:2336: warning: assignment makes pointer f rom integer without a cast /tmp/php5-200404131030/ext/ming/ming.c: In function `zif_swfmovie_importFont': /tmp/php5-200404131030/ext/ming/ming.c:2353: error: `SWFFontCharacter' undeclare d (first use in this function) /tmp/php5-200404131030/ext/ming/ming.c:2353: error: parse error before "res" /tmp/php5-200404131030/ext/ming/ming.c:2363: error: `res' undeclared (first use in this function) /tmp/php5-200404131030/ext/ming/ming.c: In function `zif_swfmovie_addFont': /tmp/php5-200404131030/ext/ming/ming.c:2379: error: `SWFFontCharacter' undeclare d (first use in this function) /tmp/php5-200404131030/ext/ming/ming.c:2379: error: parse error before "res" /tmp/php5-200404131030/ext/ming/ming.c:2391: error: `res' undeclared (first use in this function) make: *** [ext/ming/ming.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=27975&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27975&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27975&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27975&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27975&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27975&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27975&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27975&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27975&r=support Expected behavior: http://bugs.php.net/fix.php?id=27975&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27975&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27975&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27975&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27975&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27975&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27975&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27975&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27975&r=float