From: Blaisorblade [mailto:blaisorblade_spam@...]
Sent: 28 October 2004 19:25
Subject: Re: [uml-user] Installation Problems on kernel 2.6.8
On Wednesday 27 October 2004 15:18, i.katsaros@... wrote:
> I am trying to install UML on a Mandrake 10 box without much success.
> I saw postings on the following error in the list and followed the
> instructions to resolve but the result was the same.
> I am trying to install it on a 2.6.8 kernel with the 188.8.131.52-1 uml patch.
> This is the error I get at
> #make linux ARCH=um
> ld -r -o arch/um/kernel/tt/unmap_fin.o arch/um/kernel/tt/unmap.o -lc
> -L/usr/lib ld: cannot find -lc
> make: *** [arch/um/kernel/tt/unmap_fin.o] Error 1
> make: *** [arch/um/kernel/tt] Error 2
> make: *** [arch/um/kernel] Error 2
> A suggestion was to install glibc-devel and I did:
You need glibc-static-devel. The file ld is searching is "/usr/bin/libc.a".
"urpmi glibc-static-devel" should be enough.
Also, please note that the default Mandrake 10 compiler has no problem with
UML/2.6, but has a lot of ones on UML/2.4.
So, if you need to compile UML/2.4, install the Mandrake 9.1 compiler (the
could work or not, I've not tested it) (gcc and cpp packages needed) and add
"CC=gcc-3.2.2" on the command line (gcc-3.2.2 is valid for the 9.1 gcc,
Mdk9.1 includes gcc 3.2.2; adapt to your setup as needed).
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
Thanks Paolo it worked in the end. Just a tiny detail that could make
a big difference to people with a similar problem.
After installing the glibc-static-devel lib it still didn't work.
Following the HOWTO and doing:
make menuconfig ARCH=um
make linux ARCH=um
resulted in loads of compilation errors, inserting a
make mrproper clean before the make linux ARCH=um command made all the
And just to complete the thread, the mandrake filesystem simply did not
work. I chose to include it in the command line
and it wouldn't load. It worked like clockwork with the root_fs_slack8.1.bz2
Thanks again for your help.