ID: 27975 User updated by: hannes at phpug dot ch Reported By: hannes at phpug dot ch -Status: Feedback +Status: Closed Bug Type: Ming related Operating System: Linux 2.6.5 PHP Version: 5CVS-2004-04-13 (dev) New Comment:
Yes, it was 0.2a (from Debian), indeed. I fetched 0.3beta1-1 and I does compile now. Sorry. But "parse error" does just not sound like a version mismatch for the average PHP guy, does it. Previous Comments: ------------------------------------------------------------------------ [2004-04-13 12:41:50] [EMAIL PROTECTED] And what might the installed ming library version be..? (it compiles just fine for me using Ming 0.2a..) ------------------------------------------------------------------------ [2004-04-13 09:09:01] hannes at phpug dot ch 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 this bug report at http://bugs.php.net/?id=27975&edit=1