🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.programmer
3 messages
3 total messages Started by Ssu-Ping Ko Wed, 29 May 1996 00:00
Help : gcc linking problem with __builtin_va_arg_incr
#3687
Author: Ssu-Ping Ko
Date: Wed, 29 May 1996 00:00
11 lines
955 bytes
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.

David Ko
  
Re: Help : gcc linking problem with __builtin_va_arg_incr
#3688
Author: Casper H.S. Dik
Date: Wed, 29 May 1996 00:00
37 lines
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.
Re: Help : gcc linking problem with __builtin_va_arg_incr
#3689
Author: Dominic Binks
Date: Wed, 29 May 1996 00:00
28 lines
1820 bytes

In article <4og985$gob@sjx-ixn6.ix.netcom.com> 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.

   David Ko

I had this problem when I put /usr/include explicitly in my includes
as this gets searched first rather than using the gcc munged versions.


-- 
-----------
Dominic Binks                                   dominic@aethos.demon.co.uk
Aethos Communication Systems Ltd.  | 220 Park Avenue  | Bristol  | BS8 1SB
Telephone: +44 1454 614455			      Fax: +44 1454 620527
----------- 
"Meditation, 2. _spec_ (in religious use): That kind of private devotional
exercise which consists in the continuous application of the mind to the
contemplation of some truth, mystery or object of reverence, in order that
the soul may increase in love of God and holiness of life." OED
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads