#38880 [NEW]: Compiler error, php_bz2
| From: | Maylein at uni-hd dot de | Date: | Tue, 19 Sep 2006 12:47:01 +0000 |
| Subject: | #38880 [NEW]: Compiler error, php_bz2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-102409@lists.php.net to get a copy of this message | ||
From: Maylein at uni-hd dot de
Operating system: SuSE Linux 10.1
PHP version: 5.1.6
PHP Bug Type: Compile Failure
Bug description: Compiler error, php_bz2
Description:
------------
Compilation error php_bz2:
Compiler: gcc-4.1.0
php-5.1.6/ext/bz2/php_bz2.h:60: error: expected ')' before '*' token
Actual result:
--------------
/bin/sh /usr/local/src/php-5.1.6/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/bz2/ -I/usr/local/src/php-5.1.6/ext/bz2/
-DPHP_ATOM_INC -I/usr/local/src/php-5.1.6/include
-I/usr/local/src/php-5.1.6/main -I/usr/local/src/php-5.1.6
-I/usr/include/libxml2 -I/usr/local/src/php-5.1.6/ext/date/lib
-I/usr/local/src/php-5.1.6/ext/mbstring/oniguruma
-I/usr/local/src/php-5.1.6/ext/mbstring/libmbfl
-I/usr/local/src/php-5.1.6/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql
-I/usr/local/src/php-5.1.6/TSRM -I/usr/local/src/php-5.1.6/Zend
-I/usr/include -g -O2 -c /usr/local/src/php-5.1.6/ext/bz2/bz2.c -o
ext/bz2/bz2.lo
In file included from /usr/local/src/php-5.1.6/ext/bz2/bz2.c:26:
/usr/local/src/php-5.1.6/ext/bz2/php_bz2.h:60: error: expected ')' before
'*' token
make: *** [ext/bz2/bz2.lo] Fehler 1
Configure options:
./configure --with-mysql --with-apx2=/usr/local/httpd2/bin/apxs
--enable-track-vars --enable-sockets --with-gettext=/usr --enable-exif
--with-ldap=/usr --enable-wddx --enable-bcmath --no-create --no-recursion
--disable-debug --enable-calendar --enable-ctype --enable-discard-path
--enable-force-cgi-redirect --enable-inline-optimization
--enable-magic-quotes --enable-mbstr-enc-trans --enable-mbstring
--enable-memory-limit --enable-safe-mode --enable-shmop --enable-sigchild
--enable-sysvsem --enable-track-vars --enable-trans-sid
--enable-versioning --with-bz2 --with-dom=/usr/include/libxml2
--with-gettext --with-mcal=/usr --with-ndbm --with-ttf --with-xml
--with-xpm-dir=/usr/X11R6 --with-zlib=yes --with-mm
--
Edit bug report at http://bugs.php.net/?id=38880&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38880&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38880&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38880&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38880&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38880&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38880&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38880&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38880&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38880&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38880&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38880&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38880&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38880&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38880&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38880&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38880&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38880&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38880&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38880&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38880&r=mysqlcfg