Xymon Mailing List Archive search

Error builing latest snapshot

3 messages in this thread

list Frédéric Mangeant · Mon, 07 Aug 2006 11:47:45 +0200 ·
Hi Henrik

building the latest snapshot gives this :

[...]

gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/BB/src/snapshot/include -I/usr/include -o hobbitgraph.cgi -Wl,--rpath=/usr/lib -Wl,--rpath=/usr/lib -Wl,--rpath=/usr/lib -Wl,--rpath=/usr/lib hobbitgraph.o ../lib/libbbgen.a -L/usr/lib -lpcre -L/usr/lib -lrrd -L/usr/lib -lpng
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/BB/src/snapshot/include -I/usr/include -c -o hobbitsvc.o hobbitsvc.c
hobbitsvc.c: In function `do_request':
hobbitsvc.c:196: error: `n' undeclared (first use in this function)
hobbitsvc.c:196: error: (Each undeclared identifier is reported only once
hobbitsvc.c:196: error: for each function it appears in.)
make[1]: *** [hobbitsvc.o] Error 1
make[1]: Leaving directory `/BB/src/snapshot/web'
make: *** [web-build] Error 2


System is running Gentoo Linux x86, with GCC 3.4.6

Regards,

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis
list Henrik Størner · Mon, 7 Aug 2006 12:12:04 +0200 ·
quoted from Frédéric Mangeant
On Mon, Aug 07, 2006 at 11:47:45AM +0200, Frédéric Mangeant wrote:
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/BB/src/snapshot/include 
-I/usr/include -c -o hobbitsvc.o hobbitsvc.c
hobbitsvc.c: In function `do_request':
hobbitsvc.c:196: error: `n' undeclared (first use in this function)
Sorry 'bout that - grab the latest snapshot (just updated), or just the
web/hobbitsvc.c file from
http://www.hswn.dk/beta/snapshot/web/hobbitsvc.c


Regards,
Henrik
list Frédéric Mangeant · Mon, 07 Aug 2006 16:32:40 +0200 ·
quoted from Henrik Størner
Le 07/08/2006 12:12, Henrik Stoerner a écrit :
Sorry 'bout that - grab the latest snapshot (just updated), or just the
web/hobbitsvc.c file from
http://www.hswn.dk/beta/snapshot/web/hobbitsvc.c
  
Thanks, it works.

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis