David: Thanks! You are my hero. With pre-asun2.1.4-36a, not only does
adding libnss_nis to my Makefile allow me to build, but
pre-asun2.1.4-36a fixes my other problems!!! WHEE! 

[EMAIL PROTECTED] wrote:
> 
> 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
> >
> >
> >
> >

-- 
William "Bo" Brinkman                         [EMAIL PROTECTED]
Princeton Computer Science        http://www.cs.princeton.edu/~brinkman
-- 
Greater love has no one than this, that he lay down his life for his
friends. --John 15:13

Reply via email to