From owner-freebsd-questions Thu Nov 16 10:19:07 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA03598 for questions-outgoing; Thu, 16 Nov 1995 10:19:07 -0800 Received: from irbs.irbs.com (irbs.com [199.182.75.129]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA03587 for ; Thu, 16 Nov 1995 10:19:02 -0800 Received: (from jc@localhost) by irbs.irbs.com (8.6.12/8.6.6) id NAA04585; Thu, 16 Nov 1995 13:17:49 -0500 From: John Capo Message-Id: <199511161817.NAA04585@irbs.irbs.com> Subject: Re: BIND on FreeBSD To: yami@access.digex.net (Steven D. Arnold) Date: Thu, 16 Nov 1995 13:17:48 -0500 (EST) Cc: jc@irbs.com, freebsd-questions@freebsd.org In-Reply-To: <9511161255.AA26958@digex.net> from "Steven D. Arnold" at Nov 16, 95 12:55:26 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1930 Sender: owner-questions@freebsd.org Precedence: bulk Steven D. Arnold writes: > > Thanks for this answer! Here's the current status. I moved the .c files in > res to /usr/src/lib/libc/net. I moved the files in include to /usr/include. > I also moved the files in conf to libc/conf. Then, in /usr/src/lib/libc, I > typed "make" and everything linked without a problem. I then typed "make > install" -- once again, no problem. Then I went back to the BSD directory in > the bind distribution and typed "make clean" followed by "make." Here's what > I got: > > /usr/local/lib/named/bind-4.9.3beta26/BSD # make > ===> named > gcc -O2 -I. -I/usr/local/lib/named/bind-4.9.3beta26/BSD/named/../BIND -I/usr/ > local/lib/named/bind-4.9.3beta26/BSD/named/../BIND/include -DUSE_OPTIONS_H > -o named version.o db_dump.o db_glue.o db_load.o db_lookup.o db_reload.o > db_save.o db_secure.o db_update.o dmalloc.o ns_forw.o ns_init.o ns_main.o > ns_maint.o ns_ncache.o ns_req.o ns_resp.o ns_sort.o ns_stats.o ns_validate.o > storage.o tree.o > db_dump.o: Undefined symbol `_inet_nsap_ntoa' referenced from text segment > db_load.o: Undefined symbol `_inet_nsap_addr' referenced from text segment > /usr/lib/libc.so.2.1: Undefined symbol `_inet_nsap_ntoa' referenced > *** Error code 1 I left the fies in /usr/lib/libc/net alone and built the library in the beta26/res directory. Both of the unresolved functions are in res/nsap_addr.c Unless you added nsap_addr.o the the Makefile in libc/net it would not get built. I would restore libc to its original state and build the library in beta26/res and link with it there. FreeBSD may have made changes to libc/net that programs linked with it need. I was not up to researching the differences at the time. John Capo jc@irbs.com IRBS Engineering High performance FreeBSD systems (305) 792-9551 Internet Consulting - ISP Solutions