在ti-dvsdk_dm365-evm_4_02_00_06/psp/flash-utils/DM36x/GNU路径下执行make编译UBL出现如下错误,这是什么原因呢?
如下所示:
love@DaVinci:~/ti-dvsdk_dm365-evm_4_02_00_06/psp/flash-utils/DM36x/GNU$ make
make -C bc all
make[1]: Entering directory `/home/love/ti-dvsdk_dm365-evm_4_02_00_06/psp/flash-utils/DM36x/GNU/bc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/love/ti-dvsdk_dm365-evm_4_02_00_06/psp/flash-utils/DM36x/GNU/bc'
make -C genecc all
make[1]: Entering directory `/home/love/ti-dvsdk_dm365-evm_4_02_00_06/psp/flash-utils/DM36x/GNU/genecc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/love/ti-dvsdk_dm365-evm_4_02_00_06/psp/flash-utils/DM36x/GNU/genecc'
make -C sft all
make[1]: Entering directory `/home/love/ti-dvsdk_dm365-evm_4_02_00_06/psp/flash-utils/DM36x/GNU/sft'
make -C build TYPE=nand
make[2]: Entering directory `/home/love/ti-dvsdk_dm365-evm_4_02_00_06/psp/flash-utils/DM36x/GNU/sft/build'
arm-none-linux-gnueabi-gcc -Wl,-T../sft.lds -nostdlib sft_nand.o boot_nand.o selfcopy_nand.o uartboot_nand.o device_nand.o debug_nand.o uart_nand.o util_nand.o nand_nand.o device_nand_nand.o -o sft_DM36x_nand
device_nand.o: In function `DDR_Get_Val':
device.c:(.text+0x2ec): undefined reference to `__aeabi_uidiv'
device.c:(.text+0x2fc): undefined reference to `__aeabi_uidivmod'
collect2: ld returned 1 exit status
make[2]: *** [sft_DM36x_nand] Error 1
make[2]: Leaving directory `/home/love/ti-dvsdk_dm365-evm_4_02_00_06/psp/flash-utils/DM36x/GNU/sft/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/love/ti-dvsdk_dm365-evm_4_02_00_06/psp/flash-utils/DM36x/GNU/sft'
make: *** [all] Error 2
Chris Meng:
你好,
你是否有安装 Mono Framework ?
http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility#Compiling