Hobbitclient compilation on AIX

FIGARO Nicolas nfigaro at effigie.fr
Fri Jun 24 09:05:50 CEST 2005


I tried to compile the hobbitclient 0.3 on aix 5.2 using gcc and gnu

Here is the result : 
user at aix:/test_san_1/hobbitclient-0.3> /usr/local/bin/make
/usr/local/bin/gcc -g -O2 -DSYSCONFDIR="\"/usr/hobbit/client/etc\""   -c
-o hobbitc.o hobbitc.c
hobbitc.c:52:17: err.h: No such file or directory
hobbitc.c:71:23: sys/fcntl.h: No such file or directory
hobbitc.c: In function `main':
hobbitc.c:129: error: `O_RDONLY' undeclared (first use in this function)
hobbitc.c:129: error: (Each undeclared identifier is reported only once
hobbitc.c:129: error: for each function it appears in.)
make: *** [hobbitc.o] Error 1

There is no err.h (except the one from openssl, but I don't think this
one will fit). 
And the fcntl.h is in the /usr/include on aix, not /usr/include/sys. 

I still use the bb client, but I'm surprised as the hobbitd was compiled
without problem. 

N F 

More information about the Xymon mailing list