I'm trying to compile ssh 2.3.0 on osf1 v4.0b using gcc 2.95.2 and I"m
getting this error message:

In file included from sshunixtcp.c:40:
/usr/include/netdb.h:173: conflicting types for `gethostid'
/freeware/lib/gcc-lib/alphaev5-dec-osf4.0b/2.95.2/include/unistd.h:489:
previous declaration of `gethostid'

Grep'ing for gethostid reveals.

/usr/include/netdb.h:extern int gethostid __((void));
/freeware/lib/gcc-lib/alphaev5-dec-osf4.0b/2.95.2/include/unistd.h:extern
long gethostid __((void));

I'm not too familiar with the libraries and such.  What changes can I
make to the Makefile or configuration to make ssh compile?

Thanks

Nancy

Reply via email to