Jeff Dike <jdike <at> addtoit.com> writes: > > On Sun, Feb 04, 2007 at 09:48:24PM +0100, Kamil Gorlo wrote: > > > Ok, thanks. But I have still the same errors during compilation... > > If you mean this: > > In file included from arch/um/kernel/tt/exec_user.c:14: > arch/um/include/kern_util.h:9:27: error: linux/threads.h: No such file > or directory > > then you're not using the default config you got from defconfig. At > the least, CONFIG_MODE_T should be disabled. > > > Ok, after some patching I've deal with above errors, but now I get > > following error during linking... > > What patching? > > I suspect you have a mangled tree at this point. I would start over > with a clean tree, preferably a recent one, run defconfig, and build > it. > > Jeff >
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 that 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[1]: *** [arch/um/drivers/fd.o] Error 1 make: *** [arch/um/drivers] Error 2 However, I checked the verbose of make, and found out that the base include file is not included through -I option , wondering why ?, a manual compilation by adding -I option to make string compiles fd.c file, but then it fails elsewhere.. any ideas .. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user