Xymon Mailing List Archive search

problems building the latest snapshot (Solaris 10)

list Henrik Størner
Tue, 11 Sep 2007 22:54:36 +0200
Message-Id: <user-c22ad0fddedd@xymon.invalid>

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