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]

Re: Problem compiling OpenSSH 4.2p1 on Tru64 UNIX 4.0F

Subject: Re: Problem compiling OpenSSH 4.2p1 on Tru64 UNIX 4.0F
Date: Tue, 04 Oct 2005 09:15:13 +1000
Eric Liszka wrote:
Hello,
I had compiled 3.7p2 on my Tru64 4.0F system successfully a couple
of years ago. Trying to compile 4.2p1, the make fails. I have tried it with
DEC C V5.9-011 (which is what I used to compile 3.7p2) and the new
Tru64 compiler, and with Compaq C++ V7.1-006 for Digital UNIX V4.0F.
I hope I don't have to use gcc to compile this new version.

make fails at this point:
/usr/bin/cxx -g -I. -I.. -I. -I./.. -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -I/usr/local/include -I/usr/include -DHAVE_CONFIG_H -c strtonum.c
cc: Error: strtonum.c, line 55: In this statement, "ldLL" is not declared. (undeclared)
else if ((ll == LLONG_MIN && errno == ERANGE) || ll <

From the typescript, I see that LLONG_MAX is not defined by the headers and is calculated by configure. It would appear that this calculation does not work correctly for your system for some reason.


Take a look in config.h and you should find the definition of LLONG_MAX and LLONG_MIN, which I suspect are wrong.

The quick fix is to replace that definition by hand with whatever the maximum and minimum values for a signed "long long" are on an Alpha running Tru64 (is that 64 or 128 bits?). The real fix is to find out why the configure test doesn't work, whether it's a problem with the test or elsewhere, and fix that.

It looks like this kind of thing doesn't work on your system:

long long n = 1;
printf("%lld", n);

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

<Prev in Thread] Current Thread [Next in Thread>