BIND 8.4.6 Release won't compile
Mark Andrews
Mark_Andrews at isc.org
Wed Jan 26 14:03:41 UTC 2005
> 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.
I'm curious. Why did you remove the -lrt from SYSLIBS?
% grep rt port/solaris/Makefile.set*
port/solaris/Makefile.set:'SYSLIBS=-lrt -lnsl -lsocket'
port/solaris/Makefile.set.gcc:'SYSLIBS=-ll -lrt -lnsl -lsocket'
port/solaris/Makefile.set.sun:'SYSLIBS=-ll -lrt -lnsl -lsocket'
%
-lrt is part of SUNWcsl / SUNWcslx
% grep /librt\\. /var/sadm/install/contents
/usr/lib/libposix4.so.1=./librt.so.1 s none SUNWcsl
/usr/lib/librt.so=./librt.so.1 s none SUNWcsl
/usr/lib/librt.so.1 f none 0755 root bin 35884 15145 1054613854 SUNWcsl
/usr/lib/sparcv9/librt.so=librt.so.1 s none SUNWcslx
/usr/lib/sparcv9/librt.so.1 f none 0755 root bin 48768 46618 1054613855 SUNWcslx
/usr/share/man/sman3lib/librt.3lib f none 0444 root bin 9532 24133 1067022999 SUNWman
%
>
> Kind Regards,
>
> Dirk
>
>
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list