On Wed, Jul 30, 2003 at 09:26:27AM +0100, Richard Lyons wrote: > On Wednesday 30 July 2003 02:29, Antony Gelberg wrote: > > On Wed, Jul 30, 2003 at 02:20:47AM +0100, Richard Lyons wrote: > [...detailed install instructions cut...] > > > In para. 1. there is no directory like > > > /usr/src/linux/pcmcia-cs-3.0.9/include/ - I cannot find any > > > *pcmcia*/include/. What should I do here? > > > > I'm no pcmcia guru, but try /usr/src/linux/include/pcmcia. Or > > /usr/src/linux/drivers/pcmcia. > > The tree Debian installed is: > > /usr/src/rpm/BUILD [empty] > RPMS/athlon [empty] > i386 [empty] > i486 [empty] > i586 [empty] > i686 [empty] > noarch [empty] > SOURCES [empty] > SPECS [empty] > SRPMS [empty] > > So I'm guessing I need first to install a further package from the > Woody distibution cds in order to create and populate the 'linux' > branch of the tree. Any idea what package?
You need the kernel header files. Try apt-cache search kernel-headers and grab the one that goes with your kernel. They'll go in /usr/src/<somedir>, create the symlink between that and /usr/src/linux. > > RPMS? sounds like RH?? Yes. Now I'm confused. > > [...] > > > #include "kern_compat.h" > [...] > > > > No point in copying it, it will be used in the compilation. The # > > means that that line is dealt with by the C preprocessor. > > Effectively before compiling that file, it will include the > > contents of kern_compat.h in it, to benefit from it's declarations. > > > > This is basically to avoid having everything in one file, and to > > enable files to share declarations. > > So I _do_ need this file (kern_compat.h) to be in the directory to > which I have copied the rtl8139.c which I need to compile. Yes, otherwise how could it #include the contents? Antony -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]