Subject: bin/6264: bind 8 build problems
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik Bertelsen <erik@q610.ebe.uni-c.dk>
List: netbsd-bugs
Date: 10/08/1998 18:57:50
>Number:         6264
>Category:       bin
>Synopsis:       bind 8 build problems
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct  8 10:05:00 1998
>Last-Modified:
>Originator:     Erik Bertelsen
>Organization:
	
>Release:        NetBSD-current 8 Oct 1998
>Environment:
	
System: NetBSD q610.ebe.uni-c.dk 1.3H NetBSD 1.3H (Q610) #: Wed Oct 7 22:36:33 MEST 1998 erik@q610.ebe.uni-c.dk:/home/src/sys/arch/mac68k/compile/Q610 mac68k


>Description:

Two build problems with bind 8:

Make depend fails, possibly because of BSDOBJDIR, OBJMACHINE and USR_OBJMACHINE being set:
depend ===> named
(u=${USER-root} d=`pwd` h=`hostname` t=`date`;  sed -e "s|%WHEN%|${t}|" -e "s|%VERSION%|"8.1.2"|"  -e "s|%WHOANDWHERE%|${u}@${h}:${d}|"  < version.c > tmp_version.c)
cannot open version.c: no such file

Make fails, probably because of BSDOBJDIR, OBJMACHINE and USR_OBJMACHINE being set:
 make -k
all ===> lib
all ===> dig
cc   -o dig dig.o subr.o send.o list.o debug.o -L/home/src/usr.sbin/bind/dig/../lib -lbind
ld: -lbind: no match
collect2: ld returned 1 exit status
*** Error code 1 (continuing)
`all' not remade because of errors.
all ===> dnsquery
cc   -o dnsquery dnsquery.o -L/home/src/usr.sbin/bind/dnsquery/../lib -lbind
ld: -lbind: no match
collect2: ld returned 1 exit status
*** Error code 1 (continuing)
`all' not remade because of errors.
all ===> host
all ===> named
(u=${USER-root} d=`pwd` h=`hostname` t=`date`;  sed -e "s|%WHEN%|${t}|" -e "s|%VERSION%|"8.1.2"|"  -e "s|%WHOANDWHERE%|${u}@${h}:${d}|"  < version.c > tmp_version.c)
cannot open version.c: no such file
*** Error code 2 (continuing)
`all' not remade because of errors.
all ===> named-xfer
(u=${USER-root} d=`pwd` h=`` t=`date`;  sed -e "s|%WHEN%|${t}|" -e "s|%VERSION%|"8.1.2"|"  -e "s|%WHOANDWHERE%|${u}@${h}:${d}|"  < ../named/version.c > tmp_version.c)
cannot open ../named/version.c: no such file
*** Error code 2 (continuing)
`all' not remade because of errors.
all ===> ndc
all ===> nslookup
cc   -o nslookup main.o getinfo.o debug.o send.o skip.o list.o subr.o commands.o -ll -L/home/src/usr.sbin/bind/nslookup/../lib -lbind
ld: -lbind: no match
collect2: ld returned 1 exit status
*** Error code 1 (continuing)
`all' not remade because of errors.
all ===> nsupdate
cc   -o nsupdate nsupdate.o -L/home/src/usr.sbin/bind/nsupdate/../lib -lbind
ld: -lbind: no match
collect2: ld returned 1 exit status
*** Error code 1 (continuing)
`all' not remade because of errors.
all ===> reload
all ===> restart


regards
Erik Bertelsen
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted: