Hobbitclient compilation on AIX
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
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
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
participants (3)
-
Dirk.Kastens@uni-osnabrueck.de
-
henrik@hswn.dk
-
nfigaro@effigie.fr