Subject: Re: lfs problem on amd64
To: Kurt Schreiner <ks@ub.uni-mainz.de>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 11/10/2007 18:51:13
On Sat, Nov 10, 2007 at 07:29:08PM +0100, Kurt Schreiner wrote:

> On Sat, Nov 10, 2007 at 06:36:25PM +0100, Kurt Schreiner wrote:
> > On Sat, Nov 10, 2007 at 06:00:38PM +0200, Mindaugas R. wrote:
> > > [...]
> > > http://www.netbsd.org/~rmind/pinod_removal.diff
> > > 
> > > Not sure if PRI_IOFLUSH is correct level here..
> > With the patch applied the system is up and running again:
> > [...]
> > Let's see, if it survives build.sh distribution...
> Hm, sort of survival: No problems w/ lfs per se but:
> 
> >-508: /u/NetBSD/arch/amd64/TOOLS/bin/nbmake-amd64 dependall
>      create  lfs/lfs.d
>      create  lfs/.depend
>     compile  lfs/lfs.o
>        link  lfs/lfs
> /u/NetBSD/arch/amd64/obj/sys/rump/fs/lib/liblfs/liblfs.a(lfs_vfsops.o): In function `lfs_mountfs':
> /u/NetBSD/src/sys/ufs/lfs/lfs_vfsops.c:874: undefined reference to `schedppq'
> collect2: ld returned 1 exit status

It needs to include sys/sched.h to get the priority defs.

Thanks,
Andrew