#45692 [Fbk->Csd]: ext/fileinfo: expected identifier or ( before __extension__
| From: | steffen dot weber at gmail dot com | Date: | Sun, 03 Aug 2008 08:43:42 +0000 |
| Subject: | #45692 [Fbk->Csd]: ext/fileinfo: expected identifier or ( before __extension__ | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-127536@lists.php.net to get a copy of this message | ||
ID: 45692
User updated by: steffen dot weber at gmail dot com
Reported By: steffen dot weber at gmail dot com
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: Gentoo Linux (x86)
PHP Version: 5.3.0alpha1
Assigned To: derick
New Comment:
I thought I had removed all Gentoo specific patches, but a simple
"./configure && make" without portage works fine. Sorry for the noise!
Previous Comments:
------------------------------------------------------------------------
[2008-08-03 08:19:21] derick@php.net
Does this compile with pure sources (without the gentoo stuff)? Ie -
download from php.net, and compile it by hand.
------------------------------------------------------------------------
[2008-08-02 23:53:34] jani@php.net
Assigned to the maintainer.
------------------------------------------------------------------------
[2008-08-02 21:56:42] steffen dot weber at gmail dot com
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 this bug report at http://bugs.php.net/?id=45692&edit=1