Yes Jeff, I do have <linux/threads.h> file, and this file arch/um/drivers/fd.c gets compiled properly if I manually add "-i <home>/linux-2.6.17/include" in the make string.
Well I am trying 2.6.20.
On Sat, Feb 24, 2007 at 10:13:06AM +0000, M S wrote:
> Hi Jeff, I was facing the same problem while trying to compile
> with kernel 2.6.17
> I didnt do anything other than defconfig. and also figured out
> CONFIG_MODE_TT is disabled. Still wondering why I am
> failing at compilation -
> CC arch/um/drivers/fd.o
> In file included from arch/um/include/os.h:13,
> from arch/um/drivers/fd.c:14:
> arch/um/include/kern_util.h:9:27: error: linux/threads.h: No such
> file or directory
> make: *** [arch/um/drivers/fd.o] Error 1
> make: *** [arch/um/drivers] Error 2
2.6.17 is fairly old, but I don't remember any compilation problems.
Does the same thing happen with 2.6.20? I would imagine not, since
there is no such include any more.
And you're sure you have <linux/threads.h>?
Work email - jdike at linux dot intel dot com