Bind 8.2.1 build problem, help.
gundalba
gundalba at isi.com
Fri Aug 27 23:17:01 UTC 1999
I am trying to build bind 8.2.1 from Sun U1 with Sol 2.6 - core
installation.
For build, I got GNU gcc, bison, and flex installed following the README
suggestion.
Following make file settings were set with yacc only so setting change
to bison was
made;
~src/port/solaris/Makefile.set
~src/port/solaris/Makefile.set.gcc
Also ~src/bin/named/Makefile contained names for yacc only which changed
to
proper bison generated file names;
< mv y.tab.c ns_parser.c
< mv y.tab.h ns_parser.h
---
> mv ns_parser.tab.c ns_parser.c
> mv ns_parser.tab.h ns_parser.h
Even after all this fix "make depend" still reports a file not found
error for the "math.h"
while the file IS sitting there;
:
In file included from res_debug.c:113:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/include/math.h:5:
math.h: No s
uch file or directory
:
And if I am to ignore and run the make on this, I will see following
make error log;
# make
:
In file included from res_debug.c:113:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/include/math.h:5:
math.h: No s
uch file or directory
make[2]: *** [res_debug.o] Error 1
:
:
gcc -g -O2 -I../../port/solaris/include -I../../include
-D_PATH_HELPFILE=\"/usr
/local/lib/nslookup.help\" -c commands.c
gcc -g -O2 -o nslookup main.o getinfo.o debug.o send.o skip.o list.o
subr.o co
mmands.o \
../../lib/libbind.a -ll -lnsl -lsocket
Undefined first referenced
symbol in file
__res_nsend ../../lib/libbind.a(hesiod.o)
__res_ninit main.o
__loc_ntoa ../../lib/libbind.a(ns_print.o)
__dn_expand getinfo.o
__sym_ston subr.o
__p_secstodate ../../lib/libbind.a(ns_print.o)
__p_class_syms subr.o
_res list.o
_res_opcodes debug.o
__p_type_syms subr.o
__res_hnok ../../lib/libbind.a(dns_ho.o)
__putshort send.o
__p_rcode debug.o
__dn_skipname getinfo.o
__res_dnok ../../lib/libbind.a(dns_ho.o)
__dn_count_labels ../../lib/libbind.a(ns_print.o)
__p_time debug.o
__res_hostalias getinfo.o
__p_type main.o
__p_class main.o
__res_nmkquery getinfo.o
__res_nquery ../../lib/libbind.a(dns_ho.o)
herror main.o
__res_nsearch ../../lib/libbind.a(dns_ho.o)
__res_nclose ../../lib/libbind.a(irs_data.o)
__sym_ntop subr.o
__sym_ntos subr.o
ld: fatal: Symbol referencing errors. No output written to nslookup
make[2]: *** [nslookup] Error 1
make[2]: Leaving directory `/export/home/dl/bind_8.2.1/src/bin/nslookup'
make[1]: *** [nslookup] Error 2
make[1]: Leaving directory `/export/home/dl/bind_8.2.1/src/bin'
make: *** [all] Error 2
#
Does anyone has some insite on this and help me out?
Many thanks in advance,
Troy
More information about the bind-users
mailing list