From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sat, 27 Dec 1997 22:58:30 +0000 From: Philip Blundell Subject: Re: linux-nfs-0.4.21 for Alpha glibc >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 ?? 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