David Kesselring wrote:
I know my build for a custom board isn't right but it got through the
compiles only to get this link error. Does anyone know what it might point
to?
mips64el-linux-ld --oformat elf32-tradlittlemips -G 0 -static -T
arch/mips64/ld.script.elf32 -Ttext arch/mips64/kernel/head.o
arch/mips64/kernel/init_task.o init/main.o init/version.o init/do_mounts.o
\
--start-group \
arch/mips64/kernel/kernel.o arch/mips64/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o
arch/mips/ramdisk/ramdisk.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o \
net/network.o \
arch/mips64/lib/lib.a
/home/dkesselr/stbsw/linux/linux-64sead/lib/lib.a \
--end-group \
-o vmlinux
mips64el-linux-ld: invalid hex number `arch/mips64/kernel/head.o'
make: *** [vmlinux] Error 1
-Ttext expects an argument, the hex number mentioned, and it is for some
reason missing.
Since
arch/mips64/kernel/head.o
is not a valid hex number the build fails. You probably have some make
variable which is not
defined which should be. You should look at the makefile which contains
the linker line
and find -Ttext $(MISSING_VARIABLE) and find out why MISSING_VARIABLE is
not set.
/Brian
|