[Top] [All Lists]

Re: odd link error

To: David Kesselring <>
Subject: Re: odd link error
From: Brian Murphy <>
Date: Wed, 23 Jul 2003 16:26:42 +0200
Original-recipient: rfc822;
References: <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1
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

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 \
/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.


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.


<Prev in Thread] Current Thread [Next in Thread>