#38522 [NEW]: --with-mbstring won't compile, #error "GCC no longer implements <varargs.h>."
From: mbolien at brightsite dot de
Operating system: Cent-OS 4.3
PHP version: 5.1.5
PHP Bug Type: Compile Failure
Bug description: --with-mbstring won't compile, #error "GCC no longer implements
<varargs.h>."
Description:
------------
Trying to compile with mbstring support results in compiler error. Similar
bug found at 14-08, but different OS
Reproduce code:
---------------
shell:
In file included from
/usr/local/src/php/ext/mbstring/oniguruma/regerror.c:37:
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/include/varargs.h:4:2: #error
"GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/include/varargs.h:5:2: #error
"Revise your code to use <stdarg.h>."
config.log:
configure:68527: checking for variable length prototypes and stdarg.h
configure:68566: gcc -o conftest -I/usr/include -g -O2 -L/usr/lib
-Wl,-rpath,/usr/local/src/imap/lib -L/usr/local/src/imap/lib
-Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib conftest.c -lcrypt -lpam
-lpng -lz -ljpeg -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz
-lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lgssapi_krb5
-lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz >&5 configure:68569: $? = 0
configure:68571: ./conftest
configure:68574: $? = 0
configure:68589: result: yes
Expected result:
----------------
compiling php 5.1.5
--
Edit bug report at http://bugs.php.net/?id=38522&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38522&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38522&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38522&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38522&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38522&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38522&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38522&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38522&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38522&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38522&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38522&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38522&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38522&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38522&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38522&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38522&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38522&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38522&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38522&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38522&r=mysqlcfg
Thread (5 messages)
- mbolien at brightsite dot de