Article View: comp.unix.programmer
Article #3688Re: Help : gcc linking problem with __builtin_va_arg_incr
From: Casper H.S. Dik
Date: Wed, 29 May 1996 00:00
Date: Wed, 29 May 1996 00:00
37 lines
2128 bytes
2128 bytes
ksp1@ix.netcom.com(Ssu-Ping Ko ) writes:
>Hi,
> I am trying to get some programs running on Solaris 2.5 with gcc
>compiler. After entering thelinking phase, an error message generates
> about __built_va_arg_incr undefined. I know it's used in <varargs.h>
>but couldn't get it fixed with any libraay. Thanks in advance for any
>suggestion / help.
The solaris FAQ says:
5.9) Why do I get __builtin_va_alist or __builtin_va_arg_incr undefined?
You're using gcc without properly installing the gcc fixed
include files. Or you ran fixincludes after installing gcc
w/o moving the gcc supplied varargs.h and stdarg.h files
out of the way and moving them back again later. This often
happens when people install gcc from a binary distribution.
If there's a tmp directory in gcc's include directory, fixincludes
didn't complete. You should have run "just-fixinc" instead.
Another possible cause is using ``gcc -I/usr/include.''
--- end of excerpt from the FAQ
Questions marked with a * or + have been changed or added since
the FAQ was last posted
The most recently posted version of the FAQ is available from
<http://www.fwi.uva.nl/pub/solaris/solaris2/>
--
Casper Dik - Sun Microsystems - via my guest account at the University
of Amsterdam. My work e-mail address is: Casper.Dik@Holland.Sun.COM
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
Technical Details
Message-ID:
<4ogts6$5b0@mail.fwi.uva.nl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4og985$gob@sjx-ixn6.ix.netcom.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,16b53863f712dcf2 X-Google-Attributes: gid11318c,public X-Google-Thread: f8c9b,16b53863f712dcf2 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,16b53863f712dcf2 X-Google-Attributes: gidfc89c,public From: casper@fwi.uva.nl (Casper H.S. Dik) Subject: Re: Help : gcc linking problem with __builtin_va_arg_incr Date: 1996/05/29 Message-ID: <4ogts6$5b0@mail.fwi.uva.nl> X-Deja-AN: 157306736 distribution: world references: <4og985$gob@sjx-ixn6.ix.netcom.com> organization: Sun Microsystems, Netherlands newsgroups: comp.unix.programmer,comp.unix.questions,gnu.gcc.help