[hobbit] problems building the latest snapshot (Solaris 10)

Henrik Stoerner henrik at hswn.dk
Tue Sep 11 22:54:36 CEST 2007


On Tue, Sep 11, 2007 at 11:09:42AM -0500, Richard Wachter wrote:
> I downloaded the latest snapshot this morning and tried to build it.
> 
> Solaris 10 (current patches) and I received this error . . .
> gcc  -o hobbit_snmpcollect hobbit_snmpcollect.o `net-snmp-config --libs`
> ../lib/libbbgen.a
> gcc: language arch=v9 not recognized
> Undefined                       first referenced
>  symbol                             in file
> inet_aton                           ../lib/libbbgen.a(sendmsg.o)

Makefile problem. Change bbnet/Makefile - there's

hobbit_snmpcollect: hobbit_snmpcollect.o
        $(CC) $(LDFLAGS) -o $@ hobbit_snmpcollect.o `net-snmp-config --libs` ../lib/libbbgen.a

just add $(NETLIBS) after libbbgen.a, so it becomes

hobbit_snmpcollect: hobbit_snmpcollect.o
        $(CC) $(LDFLAGS) -o $@ hobbit_snmpcollect.o `net-snmp-config --libs` ../lib/libbbgen.a $(NETLIBS)


Henrik




More information about the Xymon mailing list