* va_start() in varargs.h
@ 1994-12-30 3:45 George Armhold
1994-12-30 14:33 ` John Hascall
1994-12-30 14:45 ` Greg Lueck Development Environment
0 siblings, 2 replies; 5+ messages in thread
From: George Armhold @ 1994-12-30 3:45 UTC (permalink / raw)
I'm trying to compile Mosaic 2.4 under OSF/1 3.0, and the linker can't
seem to resolve va_start(), as declared in varargs.h. Running "nm"
over /usr/lib shows that it doesn't seem to be defined in any library
there.
Is this not provided under 3.0? The man page claims that it is...
-George
--
Internet: armhold@klinzhai.rutgers.edu
UUCP: {backbone}!rutgers!klinzhai!armhold
BITNET: armhold@PISCES.BITNET
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: va_start() in varargs.h
1994-12-30 3:45 va_start() in varargs.h George Armhold
@ 1994-12-30 14:33 ` John Hascall
1994-12-30 14:45 ` Greg Lueck Development Environment
1 sibling, 0 replies; 5+ messages in thread
From: John Hascall @ 1994-12-30 14:33 UTC (permalink / raw)
George Armhold <armhold@klinzhai.rutgers.edu> wrote:
}I'm trying to compile Mosaic 2.4 under OSF/1 3.0, and the linker can't
}seem to resolve va_start(), as declared in varargs.h. Running "nm"
}over /usr/lib shows that it doesn't seem to be defined in any library
}there.
}
}Is this not provided under 3.0? The man page claims that it is...
I dunno 'bout 3.0, but in 2.1 it's a #define...
eeyore.cc> grep va_start /usr/include/varargs.h
#define va_start(list) __builtin_va_start(list, va_alist, 0)
John
--
John Hascall ``An ill-chosen word is the fool's messenger.''
Systems Software Engineer, ISU Comp Center + Ames, IA 50011 + 515/294-9551
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: va_start() in varargs.h
1994-12-30 3:45 va_start() in varargs.h George Armhold
1994-12-30 14:33 ` John Hascall
@ 1994-12-30 14:45 ` Greg Lueck Development Environment
1994-12-30 20:00 ` George Armhold
1 sibling, 1 reply; 5+ messages in thread
From: Greg Lueck Development Environment @ 1994-12-30 14:45 UTC (permalink / raw)
In article <3dvvp3$2be@klinzhai.rutgers.edu>, armhold@klinzhai.rutgers.edu (George Armhold) writes:
|>
|> I'm trying to compile Mosaic 2.4 under OSF/1 3.0, and the linker can't
|> seem to resolve va_start(), as declared in varargs.h. Running "nm"
|> over /usr/lib shows that it doesn't seem to be defined in any library
|> there.
va_start() is a macro defined in <varargs.h> and also in <stdarg.h>. It is
not a function, so it doesn't appear in the libraries with "nm". Are you
including either <varargs.h> or <stdarg.h> from the source file that uses
va_start()?
--
-------------------------------------------------------------------------------
Greg Lueck Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
--
-------------------------------------------------------------------------------
Greg Lueck Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: va_start() in varargs.h
1994-12-30 14:45 ` Greg Lueck Development Environment
@ 1994-12-30 20:00 ` George Armhold
1994-12-30 21:21 ` Matt Thomas
0 siblings, 1 reply; 5+ messages in thread
From: George Armhold @ 1994-12-30 20:00 UTC (permalink / raw)
lueck@gurgi.zk3.dec.com (Greg Lueck Development Environment) writes:
>In article <3dvvp3$2be@klinzhai.rutgers.edu>, armhold@klinzhai.rutgers.edu (George Armhold) writes:
>|>
>|> I'm trying to compile Mosaic 2.4 under OSF/1 3.0, and the linker can't
>|> seem to resolve va_start(), as declared in varargs.h. Running "nm"
>|> over /usr/lib shows that it doesn't seem to be defined in any library
>|> there.
>va_start() is a macro defined in <varargs.h> and also in <stdarg.h>. It is
>not a function, so it doesn't appear in the libraries with "nm". Are you
>including either <varargs.h> or <stdarg.h> from the source file that uses
>va_start()?
Actually to be more precise, the symbol left undefined is:
> Unresolved:
> __builtin_va_start
> collect2: ld returned 1 exit status
I am including varargs.h.
-George
--
Internet: armhold@dimacs.rutgers.edu
UUCP: {backbone}!rutgers!dimacs!armhold
BITNET: armhold@PISCES.BITNET
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: va_start() in varargs.h
1994-12-30 20:00 ` George Armhold
@ 1994-12-30 21:21 ` Matt Thomas
0 siblings, 0 replies; 5+ messages in thread
From: Matt Thomas @ 1994-12-30 21:21 UTC (permalink / raw)
In article <3e1oth$ghk@lunar.rutgers.edu>, armhold@lunar.rutgers.edu (George Armhold) writes:
|>In article <3dvvp3$2be@klinzhai.rutgers.edu>, armhold@klinzhai.rutgers.edu (George Armhold) writes:
|>|>
|>|> I'm trying to compile Mosaic 2.4 under OSF/1 3.0, and the linker can't
|>|> seem to resolve va_start(), as declared in varargs.h. Running "nm"
|>|> over /usr/lib shows that it doesn't seem to be defined in any library
|>|> there.
|>
|>Actually to be more precise, the symbol left undefined is:
|>
|>> Unresolved:
|>> __builtin_va_start
|>> collect2: ld returned 1 exit status
|>
|>I am including varargs.h.
But you didn't say you were using gcc. vararg and stdargs both use
compiler builtins on DEC OSF/1 that are not available with gcc. You
need make sure you are using the varargs.h supplied with gcc.
--
Matt Thomas Internet: thomas@lkg.dec.com
U*X Networking WWW URL: http://ftp.dec.com/%7Ethomas/
Digital Equipment Corporation Disclaimer: This message reflects my
Littleton, MA own warped views, etc.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1994-12-30 21:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-30 3:45 va_start() in varargs.h George Armhold
1994-12-30 14:33 ` John Hascall
1994-12-30 14:45 ` Greg Lueck Development Environment
1994-12-30 20:00 ` George Armhold
1994-12-30 21:21 ` Matt Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox