Re: Migrating 2.4.x to 2.6.x Question (include files)

From: Erik Mouw
Date: Wed Jan 14 2004 - 13:37:14 EST


On Wed, Jan 14, 2004 at 11:00:00AM +0100, Kianusch Sayah Karadji wrote:
> I'm trying to install kernel 2.6.1 on a freshly installed Debian woody.
>
> Well I got it working but ...
>
> On 2.4.x I used to (soft) link
>
> /usr/src/linux-2.4.x/include/linux to /usr/include/linux

[...]

> Which is probably not the correct way :( - What am I missing?

None of them. You shouldn't link the kernel headers at all. See:

http://www.kernelnewbies.org/faq/index.php3#headers

Debian has been doing it the right way for quite some time.


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
| Data lost? Stay calm and contact Harddisk-recovery.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/