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