This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: PSDK 09-00-01-02 compile error when make u-boot

Part Number: TDA4VM

我在TDA4VM EVM开发板上调试,PSDK版本是09-00-01-02,编译时碰到如下问题,帮忙看看怎么解决?

I used the TDA4VM EVM board,the PSDK is 09-00-01-02,what‘s the matter with below error?

eng@feng-VirtualBox:~/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02$ make u-boot
===================================
Building U-boot for A72
===================================
make -j 1 -C /home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6 ARCH=arm j721e_evm_a72_config \
O=/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6/build/a72
make[1]: Entering directory '/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6'
make[2]: Entering directory '/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6/build/a72'
GEN Makefile
#
# configuration written to .config
#
make[2]: Leaving directory '/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6/build/a72'
make[1]: Leaving directory '/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6'
make -j 1 -C /home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6 ARCH=arm CROSS_COMPILE=/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux- \
BINMAN_INDIRS=/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/prebuilt-images BL31=/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/prebuilt-images/bl31.bin TEE=/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/prebuilt-images/bl32.bin \
O=/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6/build/a72
make[1]: Entering directory '/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6'
make[2]: Entering directory '/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6/build/a72'
GEN Makefile
scripts/kconfig/conf --syncconfig Kconfig
CFG u-boot.cfg
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
CFG spl/u-boot.cfg
GEN spl/include/autoconf.mk
Using /home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6 as source for U-Boot
GEN Makefile
UPD include/generated/timestamp_autogenerated.h
ENVC include/generated/env.txt
ENVP include/generated/env.in
ENVT include/generated/environment.h
CC cmd/version.o
AR cmd/built-in.o
CC env/common.o
AR env/built-in.o
CC lib/efi_loader/dtbdump.o
LD lib/efi_loader/dtbdump_efi.so
OBJCOPY lib/efi_loader/dtbdump.efi
CC lib/efi_loader/initrddump.o
LD lib/efi_loader/initrddump_efi.so
OBJCOPY lib/efi_loader/initrddump.efi
LD u-boot
/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-ld.bfd: cannot find -lgcc: No such file or directory
/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6/Makefile:1757: recipe for target 'u-boot' failed
make[2]: *** [u-boot] Error 1
make[2]: Leaving directory '/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6/build/a72'
Makefile:177: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/feng/ti-processor-sdk-linux-adas-j721e-evm-09_00_01_02/board-support/u-boot-2023.04+gitAUTOINC+bd74e615a6-gbd74e615a6'
makerules/Makefile_u-boot:11: recipe for target 'u-boot-a72' failed
make: *** [u-boot-a72] Error 2