php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26211 php5 does not compile, ming error
Submitted: 2003-11-12 02:24 UTC Modified: 2003-11-12 04:11 UTC
From: eero at jlug dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2003-11-12 (dev) OS: Linux kernel 2.6
Private report: No CVE-ID: None
 [2003-11-12 02:24 UTC] eero at jlug dot org
Description:
------------
Latest php5 (php5-200311120630.tar.bz2) snapshot does not 
compile.

Configuration options:

#!/bin/sh

export CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"

./configure  --with-mysql --with-bz2 --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-gettext --enable-inline
-optimization \
--with-apxs=/home/apache/bin/apxs --with-pgsql --with-zlib-dir=/usr/lib --enable-ftp --enable-sockets --with-ming --with-mm --
with-pdflib \
--enable-mime-magic --enable-dio --enable-calendar --enable-bcmath --enable-wddx --with-xmlrpc --with-expat --with-dom --with-
unixODBC \
--with-freetype --enable-gd-native-ttf --with-gettext --with-gmp --enable-mbstring --enable-mbregex --enable-xslt --with-xslt-
sablot \
--with-sablot-js --enable-shmop



Errors:


/bin/sh /home/eero/baar/php5-200311120630/libtool --silent --preserve-dup-deps -
-mode=compile gcc  -Iext/ming/ -I/home/eero/baar/php5-200311120630/ext/ming/ -DP
HP_ATOM_INC -I/home/eero/baar/php5-200311120630/include -I/home/eero/baar/php5-2
00311120630/main -I/home/eero/baar/php5-200311120630 -I/home/eero/baar/php5-2003
11120630/Zend -I/usr/include/libxml2 -I/home/eero/baar/php5-200311120630/ext/mbs
tring/oniguruma -I/home/eero/baar/php5-200311120630/ext/mbstring/libmbfl -I/home
/eero/baar/php5-200311120630/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/u
sr/local/include  -I/home/eero/baar/php5-200311120630/TSRM  -march=athlon -O3 -p
ipe -fomit-frame-pointer  -prefer-pic -c /home/eero/baar/php5-200311120630/ext/m
ing/ming.c -o ext/ming/ming.lo
/home/eero/baar/php5-200311120630/ext/ming/ming.c:71: parse error before `getSou
ndInstance'
/home/eero/baar/php5-200311120630/ext/ming/ming.c:71: warning: data definition h
as no type or storage class
/home/eero/baar/php5-200311120630/ext/ming/ming.c:1309: parse error before `getF
ontCharacter'
/home/eero/baar/php5-200311120630/ext/ming/ming.c: In function `getFontCharacter
':
/home/eero/baar/php5-200311120630/ext/ming/ming.c:1316: `SWFFontCharacter' undec
lared (first use in this function)
/home/eero/baar/php5-200311120630/ext/ming/ming.c:1316: (Each undeclared identif
ier is reported only once
/home/eero/baar/php5-200311120630/ext/ming/ming.c:1316: for each function it app
ears in.)
/home/eero/baar/php5-200311120630/ext/ming/ming.c:1316: parse error before `font
'
/home/eero/baar/php5-200311120630/ext/ming/ming.c: In function `zif_swfsound_ini
t':
/home/eero/baar/php5-200311120630/ext/ming/ming.c:1760: too many arguments to fu
nction `newSWFSound_fromInput'
make: *** [ext/ming/ming.lo] Error 1



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-12 04:11 UTC] helly@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 09:01:28 2024 UTC