php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38522 --with-mbstring won't compile, #error "GCC no longer implements <varargs.h>."
Submitted: 2006-08-20 14:55 UTC Modified: 2006-08-21 09:46 UTC
From: mbolien at brightsite dot de Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.5 OS: Fedora-Core 1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mbolien at brightsite dot de
New email:
PHP Version: OS:

 

 [2006-08-20 14:55 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-20 15:10 UTC] 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-21 08:36 UTC] tony2001@php.net
Duplicate of bug #38452.
 [2006-08-21 09:38 UTC] mbolien at brightsite dot de
Yes, nearly duplicated, but #38452 is Mac OS X. On FC1 is no XCode 2.4 and I've tried all stuff suggested at #38452. Checked out older versions...
 [2006-08-21 09:46 UTC] tony2001@php.net
No need to keep 2 reports for 1 issue.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 21:01:29 2024 UTC