[hobbit] Client build fails on Debian 2.1/slink (i386)
Charles Goyard
cgoyard at cvf.fr
Fri Jul 21 10:25:43 CEST 2006
Henrik Stoerner wrote :
> Like they say in the man-page "Clearly, the names were badly chosen."
>
> Indeed.
Indeed.
> I've changed all 351 instances of "dprintf" to "dbgprintf"... grab the
> latest version of the portability patch from
> http://www.hswn.dk/hobbitsw/betapatches/
Well, thanks a lot !
But...
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/tmp/snapshot/include -DCLIENTONLY=1 -o logfetch logfetch.c ../lib/hobbitclient.a
logfetch.c: In function `logdata':
logfetch.c:134: warning: implicit declaration of function `fseeko'
logfetch.c:168: warning: implicit declaration of function `ftello'
"These functions are found on SysV-like systems. They are
not present in libc4, libc5, glibc 2.0 but available since glibc 2.1. "
The fix should be easy.
(may I say I'm a bit _sorry_ to try to install hobbit on oldies like
that ?)
--
Charles Goyard - cgoyard at cvf.fr - (+33) 1 45 38 01 31
More information about the Xymon
mailing list