Joined: 04 Oct 2002
Location: Europe - Germany
|Posted: Fri May 13, 2005 3:02 pm Post subject: Cross-compiling Octane SMP kernel fails when linking vmlinux
|I need a kernel / crosscompile expert over here.
Just got may hands on that SGI Octane machine
2 * R10K CPU ( 195MHz )
So far I successfully netbooted the Image from http://dev.gentoo.org/~kumba/mips/netboot/ip30/
and alredy installed a gentoo MIPS stage that is working so far.
Now that http://skylark.cs.put.poznan.pl/ip30/ introduced ( experimental )
SMP support I would like to have such a kernel to fully utilize this thing.
First I did
|emerge crossdev-0.9.5 |
Build everything needed for mips64. Then installed kernel sources
|USE="IP30" emerge sys-kernel/mips-sources-2.6.12_rc3 |
I reused the config from the working Image and additionally selected NFS-root and DHCP support
because I want to have the userland on my NFS server.
Now when I compile the kernel it gets throug everything and when linking I get the following error:
make ARCH=mips CROSS_COMPILE=mips64-unknown-linux-gnu-
make: `arch/mips/kernel/offset.s' is up to date.
lib/lib.a: could not read symbols: Archive has no index; run ranlib to add one
make: *** [vmlinux] Error 1
Running the host runlib on the file does not give any return message, file displays
|lib/lib.a: current ar archive |
The host "nm" can not read the symbols from the file but tells me
|nm: Matching formats: elf64-bigmips elf64-tradbigmips |
and the mips64 cross "nm" prints lots of symbols and no error.
Now what is going wrong?
Where would I start to search for the problem?
Thanks for any ideas