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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 > > > > > |