🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51249

Re: gcc-2.4.3.1 + varargs.h on HP/UX 9.01 => ???

#51249
From: Neal Becker
Date: Mon, 21 Jun 1993 20:15
27 lines
1867 bytes
>>>>> On 16 Jun 93 20:22:11 GMT, lmcdefo@lmc.ericsson.se (Denis Fortin) said:
	Denis> Nntp-Posting-Host: bullfinch.lmc.ericsson.se

	Denis> I've just compiled gcc 2.4.3.1 on an HP 9000/715 running under HP/UX 9.01, and
	Denis> I have a bit of trouble linking things that include varargs.h...  

	Denis> For instance, when I do a "make" to produce lib-g++.2.3.1, I get the following
	Denis> error message:

	Denis> 	/bin/ld: Unsatisfied symbols:
	Denis> 	  __builtin_va_start (code)
	Denis> 	collect: ld returned 1 exit status

	Denis> when it tries to link "gperf"!  This stems from the fact that HP's "varargs.h"
	Denis> defines va_start as an expression that references a function called
	Denis> __builtin_va_start, which is likely defined internally by the HP/UX compiler!

	Denis> I'm sure other people have run into this before...  What is the "lore of the
	Denis> land" on this?  I haven't seen anything in fixincludes...


Not sure, but check out:


1) Make sure you don't say -I/usr/include

I may be wrong, but I think that gcc shouldn't even see /usr/include/varargs.h
Technical Details
Message-ID: <NEAL.93Jun21161555@neal.ctd.comsat.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!ra!cs.umd.edu!sdd.comsat.com!wiley.ctd.comsat.com!news!neal
References: <1993Jun16.202211.1034@exu.ericsson.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,4140da1741d573e5
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-06-21 14:39:15 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!ra!cs.umd.edu!sdd.comsat.com!wiley.ctd.comsat.com!news!neal
From: neal@ctd.comsat.com (Neal Becker)
Newsgroups: gnu.gcc.help
Subject: Re: gcc-2.4.3.1 + varargs.h on HP/UX 9.01 => ???
Date: 21 Jun 1993 20:15:55 GMT
Organization: COMSAT Labs
Lines: 27
Message-ID: <NEAL.93Jun21161555@neal.ctd.comsat.com>
References: <1993Jun16.202211.1034@exu.ericsson.se>
NNTP-Posting-Host: neal.ctd.comsat.com
In-reply-to: lmcdefo@lmc.ericsson.se's message of 16 Jun 93 20:22:11 GMT
X-Md4-Signature: 1898d96d29c14a446c3c1d4513cf5f26