Compiling openssh-4.0p1 on Solaris 10.

Peter Losher Peter_Losher at
Sat May 21 19:48:53 EST 2005

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) as well as MIT Krb5 1.4.1 (for various 
reasons we are not using Sun's Krb5 implementation):

./configure --prefix=/usr/local --with-kerberos5=/usr/local/krb5 

And it looks to be bombing here (adding in random support?):

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 
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 
../log.h:56: error: parameter name omitted
bsd-arc4random.c:20: error: `rcsid' undeclared (first use in this function)
bsd-arc4random.c:20: error: (Each undeclared identifier is reported only once
bsd-arc4random.c:20: error: for each function it appears in.)
bsd-arc4random.c:20: warning: left-hand operand of comma expression has no 
bsd-arc4random.c:20: error: parse error before '}' token
gmake[1]: *** [bsd-arc4random.o] Error 1
gmake[1]: Leaving directory `/var/tmp/openssh-4.0p1/openbsd-compat'
gmake: *** [openbsd-compat/libopenbsd-compat.a] Error 2

Any possible solutions to work around this? (I see via google this has come up 
w/ someone compiling 3.9p1 on Solaris 8, using the OpenSSL package from

Best WIshes - Peter
Peter_Losher at | ISC | OpenPGP 0xE8048D08 | "The bits must flow"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : 

More information about the openssh-unix-dev mailing list