Hello SSH List
I managed to get the ssh2 installation on Tru64 V4 by modifying the
unistd.h library as follows
# diff unistd.h unistd.h.save
489c489
< extern int gethostid __((void));
---
> extern long gethostid __((void));
#
I have reverted to the original for other compilations, but at least this
works for compiling ssh2.
Who should I inform regarding modifying the compilation script to
compensate for this problem with the compaq cc libraries. I can only assume
that it is the same for V5, as both V4a and f have the same format for
unistd.h.
Regards
Roger Holman
>Date: Fri, 01 Dec 2000 07:08:40 -0600
>From: "Lee, Dana-Renee" <[EMAIL PROTECTED]>
>Subject: RE: Problems with compiling ssh2.3 on alpha Tru64 V4.0a
>To: "'Roger Holman'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>X-Mailer: Internet Mail Service (5.5.2650.21)
>X-scanner: scanned by Inflex 0.1.5c - (http://www.inflex.co.za/)
>
>I too have been trying to get ssh to work on Tru64 on Alpha except it is on
>V5.1.
>There are some major changes from 4.X to 5.X and I thought this was the
>problem.
>
>Any Suggestions?
>
>Dana-Renee Lee
>
>
>-----Original Message-----
>From: Roger Holman [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 30, 2000 9:09 PM
>To: [EMAIL PROTECTED]
>Subject: Problems with compiling ssh2.3 on alpha Tru64 V4.0a
>
>
>Hello SSH list,
>
>I hope this is the right list for problems with releases. I am wondering if
>anyone has managed to get ssh2.3 compiled and running on an alpha running
>Tru64 V4.0a
>
>The problem I get when running 'make' after a successful ./compile follows.
>I have tried the faq suggestion of compiling with --disable-arm, but the
>problem seems to be an inconsistency in the Tru64 libraries (netdb.h and
>unistd.h or at least the way they are called from the ssh2 make process.
>Note I have ssh1.2.27 already running successfuly on this machine
>
>Any advice would be appreciated. Sorry if this is the wrong place for this
>but I am just wondering if anyone else has managed to get it to run. There
>isn't any University support set up yet. .
>
>cc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I. -I. -I../../../..
>-I../../../.. -I../../../../lib/sshutil -I../../../../lib/sshutil/sshcore
>-I../../../../lib/sshutil/sshadt -I../../../../lib/sshutil/ssholdadt
>-I../../../../lib/sshutil/sshstrutil -I../../../../lib/sshutil/ssheloop
>-I../../../../lib/sshutil/sshstream -I../../../../lib/sshutil/sshfsm
>-I../../../../lib/sshutil/sshsysutil -I../../../../lib/sshutil/sshnet
>-I../../../../lib/sshutil/sshmisc -I../../../../lib/sshutil/sshpacketstream
>-I../../../../lib/sshutil/sshtestutil -I../../../../lib/zlib
>-I../../../../lib/sshmath -I../../../../lib/sshreadline
>-I../../../../lib/sshapputil -I../../../../lib/sshcrypt
>-I../../../../lib/sshproto -I../../../../lib/sshagent
>-I../../../../lib/sshsession -I../../../../lib/sshhttp
>-I../../../../lib/sshscrlock -I../../../../lib/sshsmtp
>-I../../../../lib/sshscm -I../../../../lib/sshpgp
>-I../../../../lib/sshipsecappapi -I../../../../lib/sshhs
>-I../../../../lib/sshexternalkey -I../../../../lib/sshfilexfer -g -std1
>-warnprotos -D_OSF_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -g3 -O2
>-c sshunixtcp.c
>cc: Error: /usr/include/netdb.h, line 173: In this declaration, the type of
>"gethostid" is not compatible with the type of a previous declaration of
>"gethostid" at line number 489 in file /usr/include/unistd.h.
>extern int gethostid __((void));
>-----------^
>*** Exit 1
>Stop.
>****************************************************************
>
>Roger Holman
>Manager Computer Facility
>Wellington School of Medicine
>P.O. Box 7343, Wellington South
>Mein St, Newtown, Wellington
>Tel 64 4 385 5534
>Fax 64 4 389 5725
>email [EMAIL PROTECTED]
>
****************************************************************
Roger Holman
Manager Computer Facility
Wellington School of Medicine
P.O. Box 7343, Wellington South
Mein St, Newtown, Wellington
Tel 64 4 385 5534
Fax 64 4 389 5725
email [EMAIL PROTECTED]