Xymon Mailing List Archive search

Hobbitclient compilation on AIX

4 messages in this thread

list Figaro Nicolas · Fri, 24 Jun 2005 09:05:50 +0200 ·
Hi, 
I tried to compile the hobbitclient 0.3 on aix 5.2 using gcc and gnu
make. 
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
list Dirk Kastens · Fri, 24 Jun 2005 09:43:02 +0200 ·
quoted from Figaro Nicolas
FIGARO Nicolas schrieb:
I still use the bb client, but I'm surprised as the hobbitd was compiled
without problem. 
As mentioned on the sourceforge site, the client is only for
NetBSD:
"hobbitclient is a C program featuring an OS-dependant backend. For now 
only a NetBSD backend has been written."

Regards,
Dirk
list Henrik Størner · Fri, 24 Jun 2005 09:47:01 +0200 ·
quoted from Figaro Nicolas
On Fri, Jun 24, 2005 at 09:05:50AM +0200, FIGARO Nicolas wrote:
Hi, 
I tried to compile the hobbitclient 0.3 on aix 5.2 using gcc and gnu
make. 
Dont do that. The hobbitclient is not yet ready for anything but
NetBSD.
-- 
Henrik Storner
list Figaro Nicolas · Fri, 24 Jun 2005 09:53:24 +0200 ·
I'm sorry I forgot to read the release notes. Shame on me. 
N F
quoted from Henrik Størner

-----Message d'origine-----
De : Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Envoyé : vendredi 24 juin 2005 09:47
À : user-ae9b8668bcde@xymon.invalid
Objet : Re: [hobbit] Hobbitclient compilation on AIX


On Fri, Jun 24, 2005 at 09:05:50AM +0200, FIGARO Nicolas wrote:
Hi,

I tried to compile the hobbitclient 0.3 on aix 5.2 using gcc and gnu make.
Dont do that. The hobbitclient is not yet ready for anything but NetBSD.
-- 
Henrik Storner