From: Philip Blundell <Philip.Blundell@pobox.com>
Subject: Re: linux-nfs-0.4.21 for Alpha glibc
Date: Sat, 27 Dec 1997 22:58:30 +0000 [thread overview]
Message-ID: <E0xm5Bf-0000AN-00@paddington.london.uk.eu.org> (raw)
>I have completed a set of patches which permits Olaf's knfs utilities to
>compile on an Alpha with glibc-2.0.3+. Unfortunately, there are some
>operational problems (read: it doesn't seem to do anything bad, but
>exports don't work).
>
>I'll be chipping away at this, but my ignorance of nfs, rpc, etc. is
>monumental, so help and advice is appreciated.
>
>I believe that the changes to compile with glibc were sound, but most of
>it was sheer guesswork - feel free to level constructive criticism. I'm
>not real pleased about the patches required in the kernel headers, but
>don't see how this could be avoided. Also, something was just plain
>missing in <rpc/svc.h>??
The rule of thumb when writing code for glibc is to avoid including any kernel
headers - if you need definitions that are only found in the kernel headers
then you should duplicate them in your own code (hopefully there aren't too
many). This is a bit of a pain sometimes, but it's a cleaner solution than
trying to patch up all the kernel headers to make them safe to include (which
is often hard without breaking some libc5 application along the way).
p.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-12-27 22:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-27 22:58 Philip Blundell [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-01-01 0:28 linux-nfs-0.4.21 for Alpha glibc Philip Blundell
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox