[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Henrik,

Thanks for the help, unfortunately it did not resolve the problem.

I tried a clean install ( rm -r snapshot; tar xvf hobbit-snapshot.tar ) and
I received the same results.  I tried changing the bbnet/Makefile before the
configure and after, same results.

chmod 755 bbretest-net.sh
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/users/hobbit/snapshot/include -I/usr/local/include -o contest
-I../include -Ic-ares -DSTANDALONE contest.c httptest.o dns.o
dns2.o./libcares.a ../lib/libbbgen.a
Undefined                       first referenced
 symbol                             in file
bind                                /var/tmp//ccIP3DG3.o
recv                                ./libcares.a(ares_process.o)
send                                ./libcares.a(ares_process.o)
getservbyname                       ../lib/libbbgen.a(url.o)
gethostbyname                       dns.o
socket                              /var/tmp//ccIP3DG3.o
getsockopt                          /var/tmp//ccIP3DG3.o
connect                             /var/tmp//ccIP3DG3.o
hstrerror                           dns.o
inet_addr                           ./libcares.a(ares_gethostbyname.o)
inet_aton                           /var/tmp//ccIP3DG3.o
inet_ntoa                           /var/tmp//ccIP3DG3.o
h_errno                             dns.o
shutdown                            /var/tmp//ccIP3DG3.o
ld: fatal: Symbol referencing errors. No output written to contest
collect2: ld returned 1 exit status
make[1]: *** [contest] Error 1
make[1]: Leaving directory `/users/hobbit/snapshot/bbnet'
make: *** [bbnet-build] Error 2




On 9/11/07, Henrik Stoerner <henrik (at) hswn.dk> wrote:
>
> 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
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>


-- 
===================================
Richard Wachter
General Unix Geek
rich (at) richwachter.com
<><   Precariously perched on the precipice of another day . . .