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

Reply via email to