Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-21-2005, 11:42 PM   #1
LQ Newbie
Registered: Aug 2005
Location: India
Distribution: Open SUSE
Posts: 6

Rep: Reputation: 0
Unhappy User Mode Linux

Hello all,


I was trying to compile a UML kernel version 2.6.13-4.

I updated the .config file using
make xconfig ARCH=um
and then I typed
make ARCH=um

The output of the same is given below.


LD init/built-in.o

LD .tmp_vmlinux1

arch/um/sys-i386/built-in.o: In function `__crc_kunmap':
: multiple definition of `__crc_kunmap'

arch/um/sys-i386/built-in.o: In function `__crc_kmap_atomic':
: multiple definition of `__crc_kmap_atomic'

arch/um/sys-i386/built-in.o: In function `__crc_kmap_atomic_to_page':
: multiple definition of `__crc_kmap_atomic_to_page'

arch/um/sys-i386/built-in.o: In function `__crc_kmap':
: multiple definition of `__crc_kmap'

collect2: ld returned 1 exit status

KSYM .tmp_kallsyms1.S

nm: '.tmp_vmlinux1': No such file

No valid symbol.
make: ***
Error 1

Can you please explain whats wrong and how should i proceed with building my UML kernel?

Thank you
Old 11-22-2005, 04:15 PM   #2
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 31
You "updated" the config? You mean you compiled a native kernel, then reconfigured for uml?

If so, that might be the problem. Do a make mrproper and configure from scratch. Re-making for a differenct arch can leave old files lying around, which is probably why it's screwed up.

One thing to note is that with 2.6 you can now configure and build in a different dir. This is handy as it keeps the src dir clean. You need a clean src so do a make mrproper first. Then, e.g. 'make O=../build-um ARCH=um xconfig' etc.
Of course, you must specify the O=../whatever for each invocation of make. You can then build as many kernels as you like, building each in a different dir. (Note that you still need to run make from the kernel dir, not the dir you specify with O=).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Mode Linux on Slackware 10.1 n3tw0rk Linux - Software 0 09-02-2005 02:34 PM
User Mode Linux (UML) EggZ Fedora 4 09-20-2004 11:46 AM
user mode linux supradrvr Linux - Software 0 06-01-2004 11:29 PM
user mode linux? ZoZo Linux - Newbie 1 09-21-2002 12:54 PM
User-Mode Linux darkmage Linux - General 2 08-05-2002 07:08 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration