Hi ! I'm using Embedded Linux Development Kit and I have some errors
when I try to execute the makefile to rebuild a firmware (lejos for
nxt):
/opt/eldk/usr/bin/arm-linux-ld: ERROR: init.o uses FPA instructions,
whereas lejos_nxt_ram.elf does not
/opt/eldk/usr/bin/arm-linux-ld: failed to merge target specific data of
file init.o
/opt/eldk/usr/bin/arm-linux-ld: ERROR: interrupts.o uses FPA
instructions, whereas lejos_nxt_ram.elf does not
/opt/eldk/usr/bin/arm-linux-ld: failed to merge target specific data of
file interrupts.o
/opt/eldk/usr/bin/arm-linux-ld: ERROR: vectors.o uses FPA instructions,
whereas lejos_nxt_ram.elf does not
/opt/eldk/usr/bin/arm-linux-ld: failed to merge target specific data of
file vectors.o
/opt/eldk/usr/bin/arm-linux-ld: ERROR: irq.o uses FPA instructions,
whereas lejos_nxt_ram.elf does not
/opt/eldk/usr/bin/arm-linux-ld: failed to merge target specific data of
file irq.o
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/arm/lib/libc.a(strlen.o) does not support interworking,
whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/arm/lib/libc.a(memset.o) does not support interworking,
whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/arm/lib/libc.a(memcpy.o) does not support interworking,
whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/arm/lib/libc.a(wordcopy.o) does not support interworking,
whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/usr/lib/gcc/arm-linux/4.0.0/libgcc.a(_udivsi3.o) does not
support interworking, whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/usr/lib/gcc/arm-linux/4.0.0/libgcc.a(_divsi3.o) does not
support interworking, whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/usr/lib/gcc/arm-linux/4.0.0/libgcc.a(_umodsi3.o) does not
support interworking, whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/usr/lib/gcc/arm-linux/4.0.0/libgcc.a(_modsi3.o) does not
support interworking, whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/usr/lib/gcc/arm-linux/4.0.0/libgcc.a(_dvmd_lnx.o) does not
support interworking, whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/usr/lib/gcc/arm-linux/4.0.0/libgcc.a(_addsubsf3.o) does not
support interworking, whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/usr/lib/gcc/arm-linux/4.0.0/libgcc.a(_muldivsf3.o) does not
support interworking, whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/usr/lib/gcc/arm-linux/4.0.0/libgcc.a(_cmpsf2.o) does not
support interworking, whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning:
/opt/eldk/usr/lib/gcc/arm-linux/4.0.0/libgcc.a(_fixsfsi.o) does not
support interworking, whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: Warning: /opt/eldk/arm/lib/libm.so does
not support interworking, whereas lejos_nxt_ram.elf does
/opt/eldk/usr/bin/arm-linux-ld: error: no memory region specified for
loadable section `.dynamic'
make: *** [lejos_nxt_ram.elf] Erreur 1
I don't manage to solved these errors; Can you help me please?
Here there is the makefile:
GCC_VERSION :=4.0.0
COMP_PATH := /opt/eldk
LIBPREFIX := $(COMP_PATH)/arm/lib
GCC_LIB :=
$(COMP_PATH)/usr/lib/gcc/arm-linux/$(GCC_VERSION)/libgcc.a
LIBC := $(COMP_PATH)/arm/lib/libc.a
TARGET_PREFIX :=arm-linux
INC_PATH := $(COMP_PATH)/arm/usr/include
CC := $(COMP_PATH)/usr/bin/$(TARGET_PREFIX)-gcc
AS := $(COMP_PATH)/usr/bin/$(TARGET_PREFIX)-as
AR := $(COMP_PATH)/usr/bin/$(TARGET_PREFIX)-ar
LD := $(COMP_PATH)/usr/bin/$(TARGET_PREFIX)-ld
OBJCOPY := $(COMP_PATH)/usr/bin/$(TARGET_PREFIX)-objcopy
PHONY: EnvironmentMessage
EnvironmentMessage:
@echo " CC $(CC)"
@echo " AS $(AS)"
@echo " AR $(AR)"
@echo " LD $(LD)"
@echo " OBJCOPY $(OBJCOPY)"
Thanks for any answer.