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

From: Darren Tucker (dtucker_at_zip.com.au)
Date: 10/04/05

  • Next message: Ronny Fauth: "Problem with ssh-Y/xdvi"
    Date: Tue, 04 Oct 2005 09:15:13 +1000
    To: Eric Liszka <eric.liszka@mci.com>
    
    

    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.
    

  • Next message: Ronny Fauth: "Problem with ssh-Y/xdvi"

    Relevant Pages

    • Re: Multiple Instances of program
      ... I have SunOS brahma 5.8 box ... But when I compile this fix it says LOCK_EX and LOCK_NB are undefined. ... I have even included the file sys/file.h but still it fails to compile ...
      (comp.unix.programmer)
    • Re: Actual Lottery Stuff. WOW eh?
      ... (Clue #1) ... I never bother to compile any project because I almost always ... I put a comment into it that tells how to fix it, ... VB5 was a major upgrade from all previous versions in that it compiles ...
      (rec.gambling.lottery)
    • Re: pointer q
      ... If you were trying to fix the code further up so it would compile what you wanted was: ... More a case of only reading part of the data with my "fix". ... Am I not reading, with correction, the number that a smaller type thinks a larger type was? ... It may have looked formatted on your machine, but here it looks a right mess, and I'm not going to try all my fonts on the off chance one uses the same spacings as whatever font you used. ...
      (comp.lang.c)
    • where are the sources :-)
      ... I can't wait to get the sources and compile for test (currently using ... >Alan started doing forward-porting of 2.4.x driver updates, ... >and USB updates. ... > o fix all the paths in ide Kconfig docs ...
      (Linux-Kernel)
    • Weekly Python Patch/Bug Summary
      ... Patch / Bug Summary ... http://python.org/sf/1126187 opened by Philippe Kirsanov ... Fix to allow urllib2 digest auth to talk to livejournal.com ... gensuitemodule.processfile fails ...
      (comp.lang.python)