SnakeByte Apprentice
Joined: 04 Oct 2002 Posts: 177 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 )
1G Ram
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
Code: | emerge crossdev-0.9.5 |
Build everything needed for mips64. Then installed kernel sources
Code: | 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:
Code: |
make ARCH=mips CROSS_COMPILE=mips64-unknown-linux-gnu-
CHK include/linux/version.h
make[1]: `arch/mips/kernel/offset.s' is up to date.
CHK include/linux/compile.h
CHK usr/initramfs_list
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
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
Code: | lib/lib.a: current ar archive |
The host "nm" can not read the symbols from the file but tells me
Code: | 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 |
|