#38522 [Opn->Bgs]: --with-mbstring won't compile, #error "GCC no longer implements <varargs.h>."
ID: 38522
Updated by: tony2001@php.net
Reported By: mbolien at brightsite dot de
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Fedora-Core 1
PHP Version: 5.1.5
New Comment:
Duplicate of bug #38452.
Previous Comments:
------------------------------------------------------------------------
[2006-08-20 15:10:14] mbolien at brightsite dot de
sorry, provided wrong OS, it's FC1 with gcc-Version 3.3.2 20031022 (Red
Hat Linux 3.3.2-1)
------------------------------------------------------------------------
[2006-08-20 14:55:59] mbolien at brightsite dot de
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 this bug report at http://bugs.php.net/?id=38522&edit=1
Thread (5 messages)