On Fri, 2006-03-24 at 00:28, Krishna wrote:
> scripts/basic/fixdep.c: In function `print_deps':
> scripts/basic/fixdep.c:336: warning: unused variable `map'
> warning: cannot find entry symbol _start; defaulting to 0000000000400040
You apparently have something like
in your linux kernel Makefile. This will not work. The host compiler
is the compiler for the machine that you are building the linux kernel
on. This will normally be just "cc" or "gcc".
The other problem is that you have apparently set CROSS-COMPILE to
sb1-elf- which will also not work. This must be either mips-linux- or
mips64-linux- (if you want a 64-bit kernel) as others have already
You can use the specifix toolchain release to build the linux kernel.
However, you can't use the sb1-elf binaries. These are only for
building embedded applications that run on top of CFE without an OS. To
build the linux kernel, you need to grab the sources (which are just FSF
gcc-3.4.x with some SB-1 support backported), configure them for
mips-linux (or mips64-linux), and then build and install them. You can
then use this compile to build the linux kernel.
There is a learning curve here if you have never done this before.
There is probably a FAQ somewhere that explains how to do this. I don't
know offhand where to look for linux kernel building FAQs. Perhaps
someone else can point you at one.
Jim Wilson, GNU Tools Support, http://www.specifix.com