Re: compile problem


Subject: Re: compile problem
From: Peter Gutowski (petergut@mediaone.net)
Date: Tue Jul 18 2000 - 06:39:46 EDT


On Tuesday, July 18, 2000, Pierre Carecchi <carecchi@hmg.inpg.fr> wrote:
> Hi,
>i try to recompile netatalk....
>/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
.....
>What can i do ?

in <netatalkdir>/sys/linux/Makefile add -lnss_nis to your ADDLIBS= line. Mine looks like this:

ADDLIBS = -lcrypt -lnss_nis

That should fix the problem.

-- 
Peter Gutowski / petergut@mediaone.net

"Millions long for immortality who don't know what to do on a rainy day." -- Susan Ertz (c. 1894-1985), American Writer



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