Compiling openssh-4.0p1 on Solaris 10.
Quellyn L. Snead
quellyn at lanl.gov
Thu Jun 9 00:11:07 EST 2005
>>Darren Tucker wrote:
>>
>>
>>>That version of OpenSSL may not work since the one that ships with
>>>Solaris is missing some AES functions.
>>>
>>>
>>Forgot to add: apparently if you install the "Solaris Data Encryption
>>Supplement" (SUNWcry and SUNWcryr packages) then it will restore the
>>missing functions.
>>
>>
>
>tried that:
>
>-=-
>% pkginfo | grep SUNWcry
>system SUNWcry Crypt Utilities
>system SUNWcryr Solaris Root Crypto
>-=-
>
>... and it still blows up in the same place...
>
>-=-
>(cd openbsd-compat && gmake)
>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
>../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
>effect
>bsd-arc4random.c:20: error: parse error before '}' token
>gmake[1]: *** [bsd-arc4random.o] Error 1
>gmake[1]: Leaving directory `/var/tmp/openssh-4.1p1/openbsd-compat'
>gmake: *** [openbsd-compat/libopenbsd-compat.a] Error 2
>-=-
>
>Note that I am calling up the ssl bits from /opt/sfw where the version of
>OpenSSH that comes w/ Solaris resides. (attempts to compile OpenSSL from
>source have been unsuccessful...)
>
>Has anyone successfully compiled 4.1p1 on a Solaris 10 system?
>
>-Peter
>
>
I have compiled 4.0p1 on Solaris 10 (sparc). There was a problem with
OpenSSL 0.9.7g at the time:
http://www.mail-archive.com/openssl-dev@openssl.org/msg18853.html
I ended up downloading openssl-0.9.7-stable-SNAP-20050317.tar.gz and
building that instead.
--
*******************************************************
Quellyn L. Snead
UNIX Effort Team ( unixeffort at lanl.gov )
CCN-1 Central Services and Development Team
Los Alamos National Laboratory
(505) 667-4185
*******************************************************
More information about the openssh-unix-dev
mailing list