#27975 [Opn->Fbk]: Compilation of ext/ming fails
| From: | sniper@php.net | Date: | Tue, 13 Apr 2004 16:41:51 +0000 |
| Subject: | #27975 [Opn->Fbk]: Compilation of ext/ming fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-58040@lists.php.net to get a copy of this message | ||
ID: 27975
Updated by: sniper@php.net
Reported By: hannes at phpug dot ch
-Status: Open
+Status: Feedback
-Bug Type: Compile Failure
+Bug Type: Ming related
Operating System: Linux 2.6.5
PHP Version: 5CVS-2004-04-13 (dev)
New Comment:
And what might the installed ming library version be..?
(it compiles just fine for me using Ming 0.2a..)
Previous Comments:
------------------------------------------------------------------------
[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