Re: yp_get_default_domain ?


Subject: Re: yp_get_default_domain ?
From: andrew morgan (morgan@orst.edu)
Date: Fri Sep 08 2000 - 19:55:14 EDT


On Sat, 9 Sep 2000, Paul Reilly wrote:

>
> Hi,
>
> Has anyone seen this make error before?
>
> /usr/bin/../lib/libwrap.a(hosts_access.o): In function `host_match':
> hosts_access.o(.text+0x400): undefined reference to
> `yp_get_default_domain'
> collect2: ld returned 1 exit status
> make[4]: *** [afpd] Error 1
>
>
>
> I'm just installing netatalk-1.4b2+asun2.1.3 on a RedHat 6.2 system
> and it won't get passt this point.
>
> I have des.h & tcpd.h in the build dir /include/ directory, as well as in
> /usr/local/include and libdes.a in /usr/local/lib. Why is it looking for
> a YP though?

If you compile in tcp-wrappers, you'll get this error. Just add "-lnsl"
to the LIBS line in sys/linux/Makefile. This is a known error in
asun2.1.3.

        Andy



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:08 EST