Re: Problems compiling on Solaris 8

This is a discussion on Re: Problems compiling on Solaris 8 within the OpenSSH Development forums, part of the Networking and Network Related category; William wrote: > I have two machines that we are having problems compiling version 4.3p2. > > Both machines ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-14-2006
Darren Tucker
 
Posts: n/a
Default Re: Problems compiling on Solaris 8

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.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0