[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] problems building the latest snapshot (Solaris 10)
- To: hobbit (at) hswn.dk
 
- Subject: Re: [hobbit] problems building the latest snapshot (Solaris 10)
 
- From: henrik (at) hswn.dk (Henrik Stoerner)
 
- Date: Tue, 11 Sep 2007 22:54:36 +0200
 
- References: <c326024c0709110909y2d3a4a40ue14d4e09699c81a4 (at) mail.gmail.com>
 
- User-agent: Mutt/1.5.13 (2006-08-11)
 
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