Compiling openssh-4.0p1 on Solaris 10.

Darren Tucker dtucker at
Sat May 21 20:09:45 EST 2005

Peter Losher wrote:
> I am trying to compile OpenSSH 4.0p1 on a new Solaris 10 system using the 
> OpenSSL that comes w/ the OS (0.9.7d)

That version of OpenSSL may not work since the one that ships with 
Solaris is missing some AES functions.

> as well as MIT Krb5 1.4.1 (for various 
> reasons we are not using Sun's Krb5 implementation):
> gmake[1]: Entering directory `/var/tmp/openssh-4.0p1/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

Sounds like this, which turned out to be a compiler installation problem:

Darren Tucker (dtucker at
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