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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 17:01:29 2024 UTC