Re: [netatalk-admins] Error Building pre-asun2.1.4-36a


Subject: Re: [netatalk-admins] Error Building pre-asun2.1.4-36a
From: davids@fruitfly.bdgp.berkeley.edu
Date: Thu Dec 09 1999 - 15:48:32 EST


On 9 Dec, Ron Creamer wrote:
> I'm trying to compile.. on my stock Red Hat 6.1 (kernel 2.2.12-20smp) But I
> get a fatal error at the end:
>
> /usr/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
>
> It sounds like some sort of NIS/YP problem. I went back through my log of
> messages and seem to have remembered this problem before, but I couldn't find
> the solution.
>
> Any clues/fixes? Thanks
>

Lets see, on my Debian system:

flyme 514% nm --dynamic /lib/libnss_nis.so.2 | grep yp_get_default_domain
                 U yp_get_default_domain

Try adding '-lnss_nis' to your LDFLAGS.

David S.

> -Ron
>
>
>
>



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:17:33 EST