lkml.org 
[lkml]   [1997]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Can't build linux-nfs-0.4.2x under 2.1.76


On Sat, 27 Dec 1997, Alessandro Suardi wrote:

> Hi all,
>
> I tried building the linux-nfs tools so to be able to use knfsd,
> but both .21 and .22 fail as rpcdebug.c includes <linux/sched.h>
> and <linux/nfs_fs.h> which in turn include <asm/processor.h>.
> This last file uses u8 and possibly other definitions which look
> pretty much buried under __KERNEL__ in <asm/types.h>; could some
> kind soul please point me to the Right Thing to do ?

I've been doing battle with this for the past day while fixing knfsd for
use on an Alpha. If you ever find the "right" thing to do, please let all
of us know. Under glibc, a lot of this stuff is in sys/types.h. If you
are using libc-5, you may have to selectively un-__KERNEL__ some of the
conditionals in the kernel headers. I guess I'm lucky that I haven't
tried to rebuild the knfs utilities since about 2.1.67 or so :-(.

I'm beginning to be quite annoyed with the header shuffling that's
occurring. Will the developers please keep aware of the fact that not
everyone in the world is using glibc, and consider how many things you may
be breaking with this (largely undocumented) move to a new paradigm?

Steve



\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.037 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site