Compiling openssh-4.0p1 on Solaris 10.

Darren Tucker dtucker at zip.com.au
Tue Jun 7 15:17:34 EST 2005


Peter Losher wrote:
[...]
> gmake[1]: Entering directory `/var/tmp/openssh-4.1p1/openbsd-compat'
> gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. 
> -I/usr/sfw/include  -I/usr/local/krb5/include -DHAVE_CONFIG_H -c 
> bsd-arc4random.c
> In file included from bsd-arc4random.c:18:
> ../log.h: In function `fatal':
> ../log.h:56: warning: empty declaration
> ../log.h:65: error: parse error before "volatile"
> ../log.h:65: error: old-style parameter declarations in prototyped function 
> definition

Others have reported these errors can be caused by an old sys/cdefs.h 
header left over from previous gcc installation:
http://bugzilla.mindrot.org/show_bug.cgi?id=1013

> Has anyone successfully compiled 4.1p1 on a Solaris 10 system?

I built 4.0p1 on Solaris 10/x86 a while back but not 4.1p1.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list