From owner-ssh@clinet.fi  Mon Dec 11 04:41:00 2000
Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7])
	by hutcs.cs.hut.fi (8.9.3/8.9.3) with ESMTP id EAA10270;
	Mon, 11 Dec 2000 04:40:59 +0200 (EET)
Received: (from majordom@localhost)
	by mail.clinet.fi (8.9.3/8.9.3) id DAA26660
	for ssh-outgoing; Mon, 11 Dec 2000 03:55:57 +0200
Received: from conrad.csl.uiuc.edu (qmailr@conrad.csl.uiuc.edu [130.126.139.111])
	by mail.clinet.fi (8.9.3/8.9.3) with SMTP id DAA26657
	for <ssh@clinet.fi>; Mon, 11 Dec 2000 03:55:55 +0200
Received: (qmail 24570 invoked from network); 11 Dec 2000 01:54:18 -0000
Received: from bluesky.csl.uiuc.edu (HELO ?130.126.139.108?) (130.126.139.108)
  by conrad.csl.uiuc.edu with SMTP; 11 Dec 2000 01:54:18 -0000
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
Date: Sun, 10 Dec 2000 19:55:54 -0600
Subject: compile failure on HPUX
From: "Alan Z. Liu" <liuzr@uiuc.edu>
To: ssh <ssh@clinet.fi>
Message-ID: <B6599049.9707%liuzr@uiuc.edu>
In-Reply-To: <9D5F7A73F86BD3119D2200508B443767EF697F@svr-mail.syd.lto.gov.aus>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Sender: owner-ssh@clinet.fi
Precedence: bulk

I have problem to compile ssh2.3 on HPUX machine.  First, the configuration
step has some errors in the config.log file.  One shows:

configure:2494: checking for opendir in -ldir
configure:2513: gcc -o conftest -g -O2 -Wall -Wno-unknown-pragmas
conftest.c -ldir   1>&5
/usr/ccs/bin/ld: Can't find library for -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 2502 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }

The machine is HPUX 10.20, 9000/770, and I am usnig gcc-2.95.2

Could somebody help me out?  Thanks!

-Alan

