You are not logged in.

#1 2006-10-10 20:32:13

useche
Member
From: Miami
Registered: 2006-10-09
Posts: 10
Website

User Mode Linux -- Compiling problem

Hi,

I want to run the user mode linux for linux-2.6.17.6. When I try to compile the user mode linux I get this error:

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

I was looking up a lot of time in google.

My steps to compile it is:

export ARCH=um
make defconfig
make

If you have any suggestion, let me know.

Bye.


Luis Useche

Offline

#2 2006-10-10 21:43:40

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: User Mode Linux -- Compiling problem

export ARCH=um

is probably wrong. Try

export ARCH=i386

·¬»· i am shadowhand, powered by webfaction

Offline

#3 2006-10-10 22:28:20

useche
Member
From: Miami
Registered: 2006-10-09
Posts: 10
Website

Re: User Mode Linux -- Compiling problem

Using that option the kernel compiles smoothly. The problem here, is that I am not getting the kernel that I want. I am just building a normal kernel.

Any suggestion, let me know

Luis.


Luis Useche

Offline

#4 2006-11-11 19:29:45

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: User Mode Linux -- Compiling problem


to live is to die

Offline

Board footer

Powered by FluxBB