Re: gdm & nis



On Wed, Feb 10, 1999 at 01:31:00PM +0100, Robert Bihlmeyer was heard to say:
> Hi,
> 
> >>>>> On Mon, 08 Feb 1999 16:56:36 +0100
> >>>>> Mauro Condarelli <mc5686@mclink.it> said:
> 
>  Mauro> Hi, here I have a debian-slink with nis enabled. GDM refuses
>  Mauro> to compile because of a missing function.
> 
> What's the exact error?
> 
>  Mauro> I found out that adding "-lnss_nis" to LIBS (i did that
>  Mauro> directly in the Makefile) solves the problem.
> 
> As far as I understand glibc, no normal program is required to link
> directly with any libnss_*. You just link with libc and use the normal 
> functions, which dynamically load and use the appropriate backend(s).
> 
> There is something amiss.
> 

  Grr.  I posted this to the list about a week ago. :-)

  Here's the error:

/bin/sh ../libtool --mode=link gcc  -g -O2 -g -Wall             -Wpointer-arith                 -Wmissing-prototypes -Wmissing-declarations   -o gdm  gdm.o gdmslave.o gdmserver.o gdmverify.o gdmmisc.o gdmauth.o gdmcookie.o gdmxdmcp.o md5.o -rdynamic -L/usr/local/gnome/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -lSM -lICE -laudiofile -lm -ldb -lglib -ldl -lXdmcp -lX11  -lcrypt -lwrap
gcc -g -O2 -g -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -o gdm gdm.o gdmslave.o gdmserver.o gdmverify.o gdmmisc.o gdmauth.o gdmcookie.o gdmxdmcp.o md5.o -rdynamic -L/usr/local/gnome/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -lSM -lICE -laudiofile -lm -ldb -lglib -ldl -lXdmcp -lX11 -lcrypt -lwrap
/usr/lib/libwrap.a(hosts_access.o): In function `host_match':
hosts_access.o(.text+0x4c1): undefined reference to `yp_get_default_domain'

  This is Debian potato (2.2).

-- 
  Daniel Burrows

  Nothing is hopeless.

  PROOF:
(a) Assume the opposite.
(b) If something _is_ hopeless, then its condition can only improve.
(c) If its condition can only improve, then there must be hope for it.
(d) Therefore, nothing is hopeless.  QED.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]