On Thursday 11 August 2005 23:54, Sven Hessler wrote:
> Hi,
>
> I tried to compile the guest kernel using linux-2.6.12.3 (from
> kernel.org) and the patch: uml-2.6.12-bb10-skas0.patch.bz2
Enabled SKAS mode too? It should compile anyway, but that could be the cause. 
And those symbols should be defined by arch/um/kernel/process.o

> but all I got were the following errors:

> -- snip --

> arch/um/kernel/built-in.o(.text+0x78da): In function `linux_main':
> arch/um/kernel/um_arch.c:352: undefined reference to `proc_mm'
> arch/um/kernel/built-in.o(.text+0x78e4):arch/um/kernel/um_arch.c:352:
> undefined reference to `ptrace_faultinfo'
>
> [...]
> -- snap --
The attached compile log is snipped too, right?
> What I did was:
>
> 1) unpack the kernel
>
> bzcat /tmp/linux-2.6.12.3.tar.bz2 | tar -xvf -
>
>
> 2) apply the patch in the directory linux-2.6.12.3
>
> bzcat /tmp/uml-2.6.12-bb10-skas0.patch.bz2 | patch -p1
>
>
> 3) config it
>
> make mrproper ARCH=um
> make menuconfig ARCH=um

> 4) build it

> make linux ARCH=um
It shouldn't make a difference, but try

make ARCH=um
or
make vmlinux ARCH=um. If they work, then answer reporting that make linux 
ARCH=um doesn't work while the other commands do. I've tested it, but it was 
time ago.
> What did I wrong and how could I solve the problem?

> Many thanks in advance!
>
> best regards
> Sven

> P.S. I already built successfully the host kernel with the same
> kernel (2.6.12.3) and the skas-2.6.12-v8.2.patch.bz2

> Just as you might ask/wonder. Yes, I did apply both patches to two
> different directories containing the (vanilla) linux kernel.

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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