compile error on HPUX

M. Lavasani mehdi.lavasani at
Mon Sep 22 23:30:31 EST 2003


I am trying to compile openssh-3.7.1p1 on HPUX version 11.00 and 11.22.

I ran the configure with "--with-dns" option ( I know it is still in 
experimental stage ). The configure ran ok and in compile time I got the error:

gmake[1]: Entering directory `/net/ia64/lavasani/ssh/openssh-3.7.1p1/openssh-3.7.1p1/openbsd-compat'
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..  -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c xcrypt.c
In file included from /usr/include/prot.h:24,
                 from xcrypt.c:35:
/usr/include/rpcsvc/nis.h:79: error: parse error before numeric constant

I realised that when the prolem has been caused by:

#define DNS 1 

in config.h

I 've changed all the instance of "DNS" to "_DNS", and It compled ok.

--- 2003-09-22 12:34:55.000000000 +0100
+++     2003-09-16 22:38:13.000000000 +0100
@@ -417,7 +417,7 @@
 /* Define if DNS support is to be activated */
-#undef _DNS
+#undef DNS

Obviously I had to change any instance of the DNS in the following files also:


Has anyone had this problem??


PS: I am not part of the list, can you email me directly please.

More information about the openssh-unix-dev mailing list