Yes, I built UML in its own 2.6.24 source tree ie., is 

 /oldext/downloads/uml-krnl/linux-2.6.24

I also uploaded my .config (minus the commented lines) from above directory in 
my last email.


not that it makes any difference..I have AMD athlon XP processor..

pretty much this is all I did:

/oldext/downloads/uml-krnl$ tar xf ../linux-2.4.26.tar
/oldext/downloads/uml-krnl$ cd linux-2.4.26
/oldext/downloads/uml-krnl/linux-2.4.26$ make defconfig ARCH=um
/oldext/downloads/uml-krnl/linux-2.4.26$ make menuconfig ARCH=um
/oldext/downloads/uml-krnl/linux-2.4.26$ make linux ARCH=um
/oldext/downloads/uml-krnl/linux-2.4.26$ make modules ARCH=um

now i go to my module dir and give "/oldext/downloads/uml-krnl/linux-2.4.26" as 
source dir for kernel sources.

maybe i can send history of all commands that i did :)

thanks for your help


----- Original Message ----
From: Jeff Dike <[EMAIL PROTECTED]>
To: K D <[EMAIL PROTECTED]>
Cc: user-mode-linux-user@lists.sourceforge.net
Sent: Tuesday, May 13, 2008 8:42:43 AM
Subject: Re: [uml-user] do i have to recompile my module in UML

On Fri, May 09, 2008 at 06:29:39PM -0700, K D wrote:
> When I compile my module with UML kernel source tree I get these errors. I 
> must be doing something silly:
> 
> [EMAIL PROTECTED] rdp]# make -C /oldext/downloads/uml-krnl/linux-2.6.24 
> M=`pwd` modules
> make: Entering directory `/oldext/downloads/uml-krnl/linux-2.6.24'
>   CC [M]  /oldext/rdp/hello.o
> In file included from include/linux/prefetch.h:14,
>                  from include/linux/list.h:8,
>                  from include/linux/module.h:9,
>                  from /oldext/rdp/hello.c:1:
> include/asm/processor.h:17:30: error: sysdep/faultinfo.h: No such file or 
> directory

Have you built UML in /oldext/downloads/uml-krnl/linux-2.6.24?  It
looks like it's missing all of its generated files.

                     Jeff

-- 
Work email - jdike at linux dot intel dot com



      
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to