[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

arm-linux-ld: target elf32-arm not found



While cross compiling a kernel with Mark van Doesburg's patches for the
EBSA285 the make exited with this error:

arm-linux-ld -T /mnt/research/ben2.2.9/linux/arch/arm/vmlinux-armv.lds
-e stext -Ttext 0x60008000 arch/arm/kernel/head-armv.o
arch/arm/kernel/init_task.o init/main.o init/version.o \
--start-group \
arch/arm/kernel/kernel.o arch/arm/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/net/net.a drivers/pcimsg/pcimsg.a arch/arm/special/special.a
arch/arm/nwfpe/math-emu.a drivers/pcimsg/pcimsg.a \
arch/arm/lib/lib.a /mnt/research/ben2.2.9/linux/lib/lib.a `arm-linux-gcc
-D__KERNEL__ -I/mnt/research/ben2.2.9/linux/include  -mapcs-32
-mshort-load-bytes -mcpu=strongarm110 --print-libgcc-file-name` \
        --end-group \
        -o vmlinux
arm-linux-ld: target elf32-arm not found
make: *** [vmlinux] Error 1

I found where the target for the kernel build was set,
arch/arm/vmlinux-armo.lds and arch/arm/vmlinux-armv.lds, and through
trial and error found that target 'elf32-littlearm' would build the
kernel. I am using kernel 2.2.9 and binutils 2.9.5.0.13. Is there
something eles I needed to change? or was there something that I broke
earlier when I build my cross compiler. 
-- 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Benjamin Stocks
Computer Engineering
Milwaukee School of Engineering
email: stocksb@msoe.edu
http://www.msoe.edu/~stocksb
voice: 414.220.9683

"Don't Panic"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Reply to: