[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: "Richard Wachter" <rich (at) richwachter.com>
- Date: Wed, 12 Sep 2007 09:18:14 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=q9VBhwWTng6MlOLHkRWQ0crGT4DQzxEuk4hN8bkbMzg=; b=cn4bB0vvcThl1J85f6gXAPunE5b/gLYbeKQqa9Ej7py+GliKCRCBgoVMPL17o7VFjlAkFsaLJhRF9n1ws1tUD/cYZe6jSFewzL+/oSlke1Ods0yZmvYBTOhWRihGEgXoyoE+IjIEMiUC3UEe83Zrfn7Mk43HR57j0cK2VJ7yHDs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=Se+Hy2QYkcMHlT+GrfRUPTG78OLZ7xI5czsGRSjC6QAduql6mZbQ2V6r4qJGF2VfajW/Gx8lBIDm3AR+Ur/jkWGzSimDcEy2efscq6E89FyapcRAcYkAKR4q8THMPlY7MqJwrKQPiWlxreX6ZmhKIhhAllrOEXX93Y0CsZyR7Kk=
- References: <c326024c0709110909y2d3a4a40ue14d4e09699c81a4 (at) mail.gmail.com> <20070911205436.GA13495 (at) hswn.dk>
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 . . .