Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 1995 13:17:48 -0500 (EST)
From:      John Capo <jc@irbs.com>
To:        yami@access.digex.net (Steven D. Arnold)
Cc:        jc@irbs.com, freebsd-questions@freebsd.org
Subject:   Re: BIND on FreeBSD
Message-ID:  <199511161817.NAA04585@irbs.irbs.com>
In-Reply-To: <9511161255.AA26958@digex.net> from "Steven D. Arnold" at Nov 16, 95 12:55:26 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511161817.NAA04585>