Problems compiling on Solaris 8

William william.wilson at NAU.EDU
Wed Mar 15 04:41:22 EST 2006


I have two machines that we are having problems compiling version 4.3p2.

Both machines are Solaris 8 and gcc 3.3.2  openssl 0.9.8a is installed on 
both machines as well.

The first exhibits an error in log.h:

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:56: error: parm types given both in parmlist and separately
../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
*** Error code 1
make: Fatal error: Command failed for target `bsd-arc4random.o'
Current working directory /nau/src/Net/openssh-4.3p2/openbsd-compat
*** Error code 1
make: Fatal error: Command failed for target 
`openbsd-compat/libopenbsd-compat.a'


The second machine exhibits a different problem:

In file included from port-aix.c:32:
/nau/share/include/buffer.h:72: error: redefinition of `BUF_MEM'
/nau/share/include/openssl/ossl_typ.h:114: error: `BUF_MEM' previously 
declared here
*** Error code 1
make: Fatal error: Command failed for target `port-aix.o'
Current working directory /nau/src/Net/openssh-4.3p2/openbsd-compat
*** Error code 1
make: Fatal error: Command failed for target 
`openbsd-compat/libopenbsd-compat.a'


Any ideas on how to fix these? I've done a web search for both and have not 
found any good answers.

Thanks!
**************************************************************************
* William Wilson - Northern AZ Univ
* william.wilson at nau.edu  *** http://jan.ucc.nau.edu/~wew





More information about the openssh-unix-dev mailing list