Bob Nielsen wrote: > > On Tue, Oct 15, 2002 at 11:08:46AM +1000, Russell wrote: > > Michael Olds wrote: > > > > > > Thank you, > > > > > > I am still in a fog in terms of simple things like symlinks. What you want > > > is to end up with a link in the linux directory called kernel-source-2.4.18 > > > that links to /usr/src/kernel-source-2.4.18. So how should that be said? > > > > > > [ ]1.d create a symbolic link to kernel-source-2.4.18 from /usr/src/linux > > > $ ln -s /usr/src/kernel-source-2.4.18 /usr/src/linux > > > > No. I don't know if you even *need* the linux symlink. But if you > > do, the symlink is /usr/src/linux and it points to /usr/src/kernel-source-2.4.18. > > AFAIK, the symlink is mostly used when compiling source which looks for > headers in /usr/src/linux/include.
That's what i understood, for other distros. I think for debian you're supposed to do: ln -s /usr/include/linux/include /usr/src/linux If you *need* the headers in the current kernel, then you add -I/usr/src/linux/include/ to the command line when compiling. http://www.debian.org/doc/FAQ/ch-kernel.en.html#s-non-debian-kernel I think you need to apt-get the headers, because /usr/include/linux/include doesn't seem to be on my system. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]