Subject: Re: i386-current fails to build (rshd)
To: Eric Jacoboni <jaco@teaser.fr>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 12/01/2002 08:56:31
On Sat, Nov 30, 2002 at 10:07:31PM +0100, Eric Jacoboni wrote:
  | >From a fresh cvsup:
  | 
  | dependall ===> libexec/rshd
  | /usr/src/current-tools/bin/i386--netbsdelf-gcc   -o rshd -nostdlib  -Wl,-rpath-link,/lib:/usr/lib  -L/lib /usr/lib/crt0.o /usr/lib/crti.o /usr/lib/crtbegin.o rshd.o  -L/usr/lib  -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
  | rshd.o: In function `doit':
  | rshd.o(.text+0xa83): undefined reference to `login_getclass'
  | rshd.o(.text+0xac6): undefined reference to `login_getcapbool'
  | rshd.o(.text+0xe9f): undefined reference to `login_getcapstr'
  | rshd.o(.text+0xf39): undefined reference to `setusercontext'
  | rshd.o(.text+0xf65): undefined reference to `login_close'
  | collect2: ld returned 1 exit status
  | *** Error code 1
  | 
  | $ uname -a
  | NetBSD titine.scrogneugneu.org 1.6K NetBSD 1.6K (TITINE-$Revision: 1.526 $) #1: Thu Nov 28 18:30:01 CET 2002     root@titine.scrogneugneu.org:/usr/src.cvsup/obj/sys/arch/i386/compile/TITINE i386

mea culpa; i removed -lutil from its Makefile, and whilst I'm sure i
test compiled the change, it appears that i did not.

i've fixed this.

luke.