Subject: Re: lfs problem on amd64
To: Andrew Doran <ad@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 11/10/2007 22:03:50
On Sat, Nov 10, 2007 at 07:51:13PM +0100, Andrew Doran wrote:
> On Sat, Nov 10, 2007 at 07:29:08PM +0100, Kurt Schreiner wrote:
> 
> > [...]
> > >-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.
Hm, I'v cvs update'd to the newest sources: lfs_vfsops.c,v 1.247
2007/11/10 18:53:57, but the above error persists. 
The _definition_ of schedppq alone isn't enough, there has to be
a value (which is set in sched_4bsd.c or sched_m2.c)...

Kurt