[Fwd: va_list problems on Solaris]

Damien Miller djm at ibs.com.au
Wed Mar 8 10:05:11 EST 2000


This might shed some light on the va_list problem reported previously.

-d

David Hesprich wrote:
> 
> On Wed, 8 Mar 2000, Damien Miller wrote:
> 
> > > log.c: In function `fatal':
> > > log.c:17: `__builtin_va_alist' undeclared (first use in this function)
> >
> > A few people have reported this - it looks like a gcc vs native cc
> > problem.
> >
> > Can you try:
> > CC=cc ./configure
> 
> It's a Solaris box, which means that cc=gcc (Solaris doesn't ship with a
> compilier, and since gcc is free and works with just about everything...)
> 
> However, I screwed up and downgraded gcc from 2.95.1 to 2.8.1, which left
> version 2.95.1 of gcc in /usr/ucb/cc, and version 2.8.1 in
> /usr/local/bin/gcc. Removing the errant binary from /usr/ucb allowed the
> compile to proceed to completion.
> 
> I haven't testing the results though, I gotta bolt out the door for a
> meeting, but perhaps this anecdote might be helpful for others that are
> hanving the same problem. Perhaps they should check to make sure their cc
> and gcc version are consistent.
> 
> -David Hesprich
-------------- next part --------------
An embedded message was scrubbed...
From: Damien Miller <djm at ibs.com.au>
Subject: va_list problems on Solaris
Date: Wed, 08 Mar 2000 10:04:13 +1100
Size: 1735
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20000308/3b048fc6/attachment.mht 


More information about the openssh-unix-dev mailing list