2022-11-25 06:41 AM
Hello,
while building OP-TEE I encountered one error:
ERROR:
make[1]: Entering directory /developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1'
CHK /developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/conf.mk
UPD /developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/conf.mk
CHK /developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/include/generated/conf.h
CHK /home/aniket.kumar/common_bsp/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/core/include/generated/asm-defines.h
CHK /developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/core/include/generated/context_asm_defines.h
make[1]: *** No rule to make target `core/arch/arm/plat-stm32mp1/./drivers/stm32mp1_etzpc.h', needed by `/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/core/arch/arm/plat-stm32mp1/main.o'. Stop.
make[1]: Leaving directory `/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1'
cp: cannot stat '/home/aniket.kumar/common_bsp/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/core/tee-header_v2.bin': No such file or directory
cp: cannot stat '/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/core/tee-pager_v2.bin': No such file or directory
cp: cannot stat '/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/core/tee-pageable_v2.bin': No such file or directory
cp: cannot stat '/developer-package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/optee-os-stm32mp-3.12.0.r1-r0/optee-os-stm32mp-3.12.0.r1/../build/stm32mp157a-dk1/core/tee.elf': No such file or directory
make: *** [optee] Error 1
Please let me know bout this issue.
Thankyou
2022-12-01 08:55 AM
Hello,
Did you source the SDK before your make ?
You can check it doing "echo $CC"
If nothing is returned it's that you did not source it.
Regards,
Grégory