Re: BIND 8.4.6 Release won't compile

This is a discussion on Re: BIND 8.4.6 Release won't compile within the Bind Users forums, part of the DNS and Related Forums category; I've seen this compiler error before (don't recall if in BIND 8 or someplace else), if you look ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-26-2005
Stefan Puiu
 
Posts: n/a
Default Re: BIND 8.4.6 Release won't compile


I've seen this compiler error before (don't recall if in BIND 8 or
someplace else), if you look in the clock_gettime manpage you'll see you
need to link with librt in order to be able to use it (by adding -lrt to
the link command). As far as I can see from the command line that
generated the error (I still haven't donwloaded the 8.4.6 release), -lrt
is missing from the command line; it should be added to the nslookup
Makefile.

Anyway, do you need nslookup that bad? Changes in 8.4.6 seem to be
related to named mostly, at least looking at the Changelog.

Dirk Janssen wrote:

>Hi,
>
>I've just tried to update to 8.4.6 on Solaris 8 (Sparc) but get the following error:
>
>+++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++
>gcc -I../../port/solaris/include -I../../include
>-D_PATH_HELPFILE=\"/usr/local/lib/nslookup.help\" -g -O2 -c list.c
>gcc -I../../port/solaris/include -I../../include
>-D_PATH_HELPFILE=\"/usr/local/lib/nslookup.help\" -g -O2 -c subr.c
>gcc -I../../port/solaris/include -I../../include
>-D_PATH_HELPFILE=\"/usr/local/lib/nslookup.help\" -g -O2 -c commands.c
>gcc -g -O2 -o nslookup main.o getinfo.o debug.o send.o skip.o list.o
>subr.o commands.o \
> ../../lib/libbind.a -ll -lnsl -lsocket
>Undefined first referenced
> symbol in file
>clock_gettime ../../lib/libbind.a(ev_timers.o)
>ld: fatal: Symbol referencing errors. No output written to nslookup
>collect2: ld returned 1 exit status
>make[2]: *** [nslookup] Error 1
>make[2]: Leaving directory `/opt/bind-8.4.6/src/bin/nslookup'
>make[1]: *** [all] Error 1
>make[1]: Leaving directory `/opt/bind-8.4.6/src/bin'
>make: *** [all] Error 1
>+++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++
>
>Any help would be appreciated.
>
>Kind Regards,
>
>Dirk
>
>
>
>
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:52 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0