From:             eero at jlug dot org
Operating system: Linux kernel 2.6
PHP version:      5CVS-2003-11-12 (dev)
PHP Bug Type:     Compile Failure
Bug description:  php5 does not compile, ming error

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



-- 
Edit bug report at http://bugs.php.net/?id=26211&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26211&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26211&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26211&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26211&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26211&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26211&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26211&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26211&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26211&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26211&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26211&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26211&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26211&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26211&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26211&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26211&r=float

Reply via email to