AIX compilation issues - openssh V 3.8.1p1 and 3.9p1

Anthony arassin at gmail.com
Wed Sep 8 23:23:11 EST 2004


I'm getting the following error when I compile openssh with IBM's xlc compiler.

/usr/vac/bin/xlc -g -I. -I.. -I. -I./.. -I/opt/freeware/include
-I/usr/local/include  -DHAVE_CONFIG_H -c bsd-arc4random.c
"/usr/include/syms.h", line 288.9: 1506-213 (S) Macro name T_NULL
cannot be redefined.
"/usr/include/syms.h", line 288.9: 1506-358 (I) "T_NULL" is defined on
line 150 of /usr/include/arpa/onameser_compat.h.
make[1]: *** [bsd-arc4random.o] Error 1
make[1]: Leaving directory `/build/openssh/aix52/openssh-3.8.1p1/openbsd-compat'
make: *** [openbsd-compat/libopenbsd-compat.a] Error 2

I realize that both onameser_compat.h and syms.h are part of the
system include files, but I was wondering if anyone had any ideas on
how I can get past this.  I can comment out the T_NULL in
onameser_compat.h and the compile works, but I don't like doing that.

OS ver: AIX 5.2 ML4
Compiler: Visual Age C for AIX 5.0.2.0
Openssh ver:  3.8.1p1 and 3.9p1

>From /usr/include/syms.h:
#define T_NULL          0


>From /usr/include/arpa/onameser_compat.h:
#define T_NULL          10              /* null resource record */




More information about the openssh-unix-dev mailing list