[hobbit] Compile problems
Henrik Stoerner
henrik at hswn.dk
Tue Apr 19 23:42:34 CEST 2005
On Tue, Apr 19, 2005 at 04:00:07PM -0500, Paul D. Backer wrote:
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/opt/hobbit/hobbit-4.0.2/include -DHOBBITD=1 -o bb-webpage bb-webpage.o ../lib/libbbgen.a -L/opt/sfw/lib -lpcre
> Undefined first referenced
> symbol in file
> recv ../lib/libbbgen.a(sendmsg.o)
There's a missing "$(NETLIBS)" in the bbdisplay/Makefile entry for
bb-webpage.
Around line 67 or so of bbdisplay/Makefile you'll find this:
bb-webpage: $(WEBPAGEOBJS) ../lib/libbbgen.a
$(CC) $(CFLAGS) -o $@ $(WEBPAGEOBJS) ../lib/libbbgen.a $(PCRELIBS)
Just add $(NETLIBS) after the $(PCRELIBS), like it is on the other
lines around there.
Regards,
Henrik
More information about the Xymon
mailing list