Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

OpenSSH > 3.8p1 compile failure on Solaris

Subject: OpenSSH > 3.8p1 compile failure on Solaris
Date: Tue, 12 Apr 2005 11:17:06 +0200 (MEST)
I am unable to compile openssh v3.9p1 or 4.0p1 on Solaris (using GNU gcc, ld, as, make). 3.8p1 and earlier versions are ok.

[...]
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
make[1]: *** [bsd-arc4random.o] Error 1

I noticed that the declaration of fatal and cleanup_exit in log.h has been changed from __attribute__ to __dead __attribute__, but I don't know what difference that should make.

If I remove the two "__dead"s in the declarations of fatal and cleanup_exit in log.h (i.e., reverting log.h to v3.8p1), v4.0p1 compiles and runs fine.

If anyone has advice on how to determine the actual cause of the compile failure, and how to resolve the problem, I am thankful for any input.

Sigmund Straumsnes

<Prev in Thread] Current Thread [Next in Thread>
  • OpenSSH > 3.8p1 compile failure on Solaris, Sigmund Straumsnes <=