Xymon Mailing List Archive search

A client for OpenBSD ?

3 messages in this thread

list Christophe Truffier · Wed, 26 Apr 2006 16:26:47 +0200 ·
Hi,

I'm looking for a working hobbit client for an OpenBSD 3.4... I've try to do compilation but, after installing gmake then gcc packages, I still have this error:

  # gmake
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -I/usr/local/include -L/usr/local/lib -DBSD -I. -I`pwd`/include -DCLIENTONLY=1" OSDEF="-DBSD" RPATHOPT="" PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" BBTOPDIR="/home/hobbit" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="192.168.0.3" BBHOSTOS="" gmake -C lib client
gmake[1]: Entering directory `/root/sources/hobbit-4.1.2p1/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -I/usr/local/include -L/usr/local/lib -DBSD -I. -I/root/sources/hobbit-4.1.2p1/include -DCLIENTONLY=1 -I. -I../include    -c -o osdefs.o osdefs.c
osdefs.c:12:23: sys/types.h: No such file or directory
In file included from /usr/local/lib/gcc-lib/i386-unknown-openbsd3.4/3.2.3/include/stdarg.h:4,
                  from osdefs.c:13:
/usr/local/lib/gcc-lib/i386-unknown-openbsd3.4/3.2.3/include/machine/ansi.h:3:32: machine/ansi.h: No such file or directory
osdefs.c:14:19: stdio.h: No such file or directory
In file included from osdefs.c:16:
osdefs.h:17:23: sys/types.h: No such file or directory
In file included from osdefs.c:16:
osdefs.h:25: syntax error before "size_t"
osdefs.h:29: syntax error before "size_t"
osdefs.c:19: syntax error before "size_t"
osdefs.c: In function `snprintf':
osdefs.c:23: `format' undeclared (first use in this function)
osdefs.c:23: (Each undeclared identifier is reported only once
osdefs.c:23: for each function it appears in.)
osdefs.c:24: warning: implicit declaration of function `vsprintf'
osdefs.c:24: `str' undeclared (first use in this function)
osdefs.c:23: `va_start' used in function with fixed args
osdefs.c: At top level:
osdefs.c:29: syntax error before "size_t"
osdefs.c: In function `vsnprintf':
osdefs.c:31: `str' undeclared (first use in this function)
osdefs.c:31: `format' undeclared (first use in this function)
osdefs.c:31: `args' undeclared (first use in this function)
gmake[1]: *** [osdefs.o] Error 1
gmake[1]: Leaving directory `/root/sources/hobbit-4.1.2p1/lib'
gmake: *** [lib-client] Error 2


Do someone completed compilation for this OpenBSD version ?

Thanks

-- 
Christophe Truffier
Pack-Solutions
list Henrik Størner · Thu, 27 Apr 2006 13:25:18 +0200 ·
quoted from Christophe Truffier
On Wed, Apr 26, 2006 at 04:26:47PM +0200, Christophe Truffier wrote:
Hi,

I'm looking for a working hobbit client for an OpenBSD 3.4... I've try to do compilation but, after installing gmake then gcc packages, I still have this error:

 # gmake
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -I/usr/local/include -L/usr/local/lib -DBSD -I. -I`pwd`/include -DCLIENTONLY=1" OSDEF="-DBSD" RPATHOPT="" PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" BBTOPDIR="/home/hobbit" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="192.168.0.3" BBHOSTOS="" gmake -C lib client
gmake[1]: Entering directory `/root/sources/hobbit-4.1.2p1/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -I/usr/local/include -L/usr/local/lib -DBSD -I. -I/root/sources/hobbit-4.1.2p1/include -DCLIENTONLY=1 -I. -I../include    -c -o osdefs.o osdefs.c
osdefs.c:12:23: sys/types.h: No such file or directory
In file included from /usr/local/lib/gcc-lib/i386-unknown-openbsd3.4/3.2.3/include/stdarg.h:4,
                 from osdefs.c:13:
/usr/local/lib/gcc-lib/i386-unknown-openbsd3.4/3.2.3/include/machine/ansi.h:3:32: machine/ansi.h: No such file or directory
osdefs.c:14:19: stdio.h: No such file or directory
These are standard include-files that must exist on your system, or you won't be able to compile *anything* at all. I don't know enough
about the OpenBSD packages, but there is some fairly fundamental part of
your development toolkit that's missing.


Regards,
Henrik
list Christophe Truffier · Thu, 27 Apr 2006 14:46:58 +0200 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Wed, Apr 26, 2006 at 04:26:47PM +0200, Christophe Truffier wrote:
Hi,

I'm looking for a working hobbit client for an OpenBSD 3.4... I've try to do compilation but, after installing gmake then gcc packages, I still have this error:

 # gmake
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -I/usr/local/include -L/usr/local/lib -DBSD -I. -I`pwd`/include -DCLIENTONLY=1" OSDEF="-DBSD" RPATHOPT="" PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" BBTOPDIR="/home/hobbit" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="192.168.0.3" BBHOSTOS="" gmake -C lib client
gmake[1]: Entering directory `/root/sources/hobbit-4.1.2p1/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -I/usr/local/include -L/usr/local/lib -DBSD -I. -I/root/sources/hobbit-4.1.2p1/include -DCLIENTONLY=1 -I. -I../include    -c -o osdefs.o osdefs.c
osdefs.c:12:23: sys/types.h: No such file or directory
In file included from /usr/local/lib/gcc-lib/i386-unknown-openbsd3.4/3.2.3/include/stdarg.h:4,
                 from osdefs.c:13:
/usr/local/lib/gcc-lib/i386-unknown-openbsd3.4/3.2.3/include/machine/ansi.h:3:32: machine/ansi.h: No such file or directory
osdefs.c:14:19: stdio.h: No such file or directory
These are standard include-files that must exist on your system, or you won't be able to compile *anything* at all. I don't know enough
about the OpenBSD packages, but there is some fairly fundamental part of
your development toolkit that's missing.
Thanks, I'll try to find a way to resolve this problem.

-- 
Christophe Truffier
Pack-Solutions