Skip to contentSkip to conversation

2.6.10 compilation error

uml-devel Marcus Hardt 2 participants 3 messages Mar 31, 2005 – Apr 1, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hi Guys!

Whenever I try to compile a 2.6 guest kernel, I get a compilation error:

linux-2.6.9]$ cat ../uml-2.6.9-bs7.patch.bz2 | bzip2 -d | patch -p1 linux-2.6.9]$ make ARCH=um xconfig
linux-2.6.9]$ make ARCH=um

  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/um/kernel/built-in.o(.text+0x23c8): In function `mem_init':
: undefined reference to phys_page' arch/um/kernel/built-in.o(.init.text+0x203): In function kmap_init':
: undefined reference to `pte_offset'
collect2: ld returned 1 exit status
KSYM .tmp_kallsyms1.S
nm: '.tmp_vmlinux1': No such file
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2

What am I doing wrong?
Help greatly appreciated!

Signature · 12 lines
Marcus


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#1 lore raw
Quoted 3 lines · Marcus Hardt

Hi Guys!

Whenever I try to compile a 2.6 guest kernel, I get a compilation error:

2.6.11 (stock from kernel.org) was the first version to work for me out of the box. You might want to try that.

Rob

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw

Quoting Rob Landley

Quoted 7 lines · Marcus Hardt
Quoted 3 lines

Hi Guys!

Whenever I try to compile a 2.6 guest kernel, I get a compilation error:

2.6.11 (stock from kernel.org) was the first version to work for me out of the box. You might want to try that.

Thank you; this did the job. Enabling the ubd0 block device gave me a bootable image, finally :-)

Signature · 12 lines
Marcus


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel