php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1937 Complaint about "__builtin_va_alist".
Submitted: 1999-08-01 08:37 UTC Modified: 1999-09-26 11:40 UTC
From: lupe at lupe-christoph dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: Solaris 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lupe at lupe-christoph dot de
New email:
PHP Version: OS:

 

 [1999-08-01 08:37 UTC] lupe at lupe-christoph dot de
gcc -g -O2 -O2  -I/opt/local/i386/include -I. -I.                     -I/opt/local/i386/imap/include -I/opt/local/i386/include -I/usr/X11R6/include/X11/magick -I/usr/openwin/include/X11 -I/opt/local/i386/mysql/include -I/opt/local/i386/postgres/include -I/usr/include -I/usr/local/include -I/opt/local/i386/include/xml    -c main.c -o main.o
main.c: In function `php3_printf':
main.c:308: `__builtin_va_alist' undeclared (first use in this function)
main.c:308: (Each undeclared identifier is reported only once
main.c:308: for each function it appears in.)
main.c: In function `php3_error':
main.c:381: `__builtin_va_alist' undeclared (first use in this function)

Using "gcc version egcs-2.91.57 19980901 (egcs-1.1 release)".

The cause is the inclusion of "/usr/include" in the Makefile INCLUDE
line.  Dunno where this is generated by configure. /usr/include is
always used by any Unix compiler I've seen so far, but GCC does not
like seeing it before it's own include dir, for obvious reasons.

Removing /usr/include from that line allows the compilation to proceed.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-26 11:40 UTC] sas at cvs dot php dot net
PHP 4 avoids passing standard paths to the compiler/linker. 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jul 01 18:00:01 2026 UTC