When compiling the SD card boot and flashing tool, I get several errors:
DM35x/selfcopy.o:(.ARM.exidx.selfcopy+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' DM35x/boot.o:(.ARM.exidx.boot+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' DM35x/device.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' DM35x/device.o:(.ARM.exidx+0x68): undefined reference to `__aeabi_unwind_cpp_pr1' DM35x/debug.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr1' DM35x/debug.o:(.ARM.exidx+0x8): undefined reference to `__aeabi_unwind_cpp_pr0' DM35x/uart.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' DM35x/uart.o:(.ARM.exidx+0x18): undefined reference to `__aeabi_unwind_cpp_pr1' DM35x/util.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' DM35x/memory_test.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' DM35x/sdcard_flash.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' DM35x/mmcsd_protocol.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' DM35x/mmcsd_evm.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0' DM35x/nand.o:(.ARM.exidx+0x0): more undefined references to `__aeabi_unwind_cpp_pr0' follow collect2: ld returned 1 exit status make[1]: *** [DM35x/sdcard_flash] Error 1 |
The toolchain from CodeSourcery was installed as described in GSG: DVEVM Software Setup for DM3xx Platforms . I changed the Makefile to point to the correct compiler as follows:
#CROSSCOMPILE?= arm_v5t_le- CROSSCOMPILE?= arm-none-linux-gnueabi- CC= $(CROSSCOMPILE)gcc |
Does anybody know why I get the above listed errors?
Thank you.