From: steffen dot weber at gmail dot com Operating system: Gentoo Linux (x86) PHP version: 5.3.0alpha1 PHP Bug Type: Compile Failure Bug description: ext/fileinfo: expected identifier or ( before __extension__
Description: ------------ I get the following error message when I try to compile PHP 5.3 Alpha 1 using GCC 4.3.1 on Gentoo Linux x86: /bin/sh /var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/libtool --silent --preserve-dup-deps --mode=compile i686-pc-linux-gnu-gcc -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/ext/fileinfo/libmagic -Iext/fileinfo/ -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/ext/fileinfo/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/include -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/main -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0 -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/ext/ereg/regex -I/usr/include/libxml2 -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/ext/date/lib -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/ext/mbstring/oniguruma -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/ext/mbstring/libmbfl -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/TSRM -I/var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/Zend -I/usr/include -march=athlon64 -O2 -pipe -D_GNU_SOURCE -c /var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/ext/fileinfo/libmagic/softmagic.c -o ext/fileinfo/libmagic/softmagic.lo /var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/ext/fileinfo/libmagic/softmagic.c:305: error: expected identifier or ( before __extension__ /var/tmp/portage/dev-lang/php-5.3.0/work/php-5.3.0/ext/fileinfo/libmagic/softmagic.c:308: error: expected identifier or ( before __extension__ -- Edit bug report at http://bugs.php.net/?id=45692&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45692&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45692&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45692&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45692&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45692&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45692&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45692&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45692&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45692&r=support Expected behavior: http://bugs.php.net/fix.php?id=45692&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45692&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45692&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45692&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45692&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45692&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45692&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45692&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45692&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45692&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45692&r=mysqlcfg