Xymon Mailing List Archive search

Client build fails on Debian 2.1/slink (i386)

list Henrik Størner
Fri, 21 Jul 2006 10:37:17 +0200
Message-Id: <user-383b8d7c6204@xymon.invalid>

On Fri, Jul 21, 2006 at 10:25:43AM +0200, Charles Goyard wrote:
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.
Yes, the LFSDEF in build/Makefile.Linux should be set to blank.

Could you try running the command
   MAKE=make ./build/lfs.sh 
on your Debian 2.1 system and tell me what it says ?

(may I say I'm a bit _sorry_ to try to install hobbit on oldies like
that ?)
Sure you are :-)


Regards,
Henrik