Problems compiling on Solaris 8

Darren Tucker dtucker at zip.com.au
Wed Mar 15 06:43:37 EST 2006


William wrote:
> 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

This sounds like this:
http://bugzilla.mindrot.org/show_bug.cgi?id=1013

which was a compiler installation problem (a bogus cdefs.h file on the
system somewhere).

> 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'

That looks like the compiler is picking up a wrong buffer.h from
/nau/share/include.  Presumably you added that in CPPFLAGS or CFLAGS?
What options did you give configure?

-- 
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