Subject: Re: BIND 9.1.0 and unproven-pthreads-0.17nb1
To: Wolfgang Rupprecht <wolfgang@wsrcc.com>
From: Claude Marinier <claude.marinier@dreo.dnd.ca>
List: netbsd-help
Date: 02/05/2001 13:00:55
I tried building BIND 9.1.0 with

	./configure --disable-threads
	make

and I get the following error. I expected it to just build. What am I
missing?

Thanks.

gcc -g -O2 -o named aclconf.o client.o interfacemgr.o listenlist.o
  log.o logconf.o main.o notify.o omapi.o omapiconf.o query.o server.o
  sortlist.o tkeyconf.o tsigconf.o update.o xfrout.o zoneconf.o
  lwaddr.o lwresd.o lwdclient.o lwderror.o lwdgabn.o lwdgnba.o
  lwdgrbn.o lwdnoop.o lwsearch.o unix/os.o ../../lib/lwres/liblwres.a
  ../../lib/omapi/libomapi.a ../../lib/dns/libdns.a ../../lib/isc/libisc.a
../../lib/isc/libisc.a(lex.o): In function `isc_lex_openfile':
/usr/local/bind-9.1.0/lib/isc/lex.c:240: undefined reference to `flockfile'
../../lib/isc/libisc.a(lex.o): In function `isc_lex_openstream':
/usr/local/bind-9.1.0/lib/isc/lex.c:260: undefined reference to `flockfile'
../../lib/isc/libisc.a(lex.o): In function `isc_lex_close':
/usr/local/bind-9.1.0/lib/isc/lex.c:301: undefined reference to `funlockfile'
collect2: ld returned 1 exit status

On 1 Feb 2001, Wolfgang Rupprecht wrote:
> claude.marinier@dreo.dnd.ca (Claude Marinier) writes:
> > The BIND people recommend that we upgrade to bind 9.1.0. This version
> > needs a threads library.
>
> It can be compiled without threads.  The version in /usr/pkgsrc
> installs without threads (and without any problems, at least on
> netbsd-current).

-- 
Claude Marinier, Information Technology Group    claude.marinier@dreo.dnd.ca
Defence Research Establishment Ottawa (DREO)    (613) 998-4901  FAX 998-2675
3701 Carling Avenue, Ottawa, Ontario  K1A 0Z4         http://www.dreo.dnd.ca