编译报错recipe for target 'build_app' failed

网关设备, 语音中控设备等
Post Reply
iinnxx
Posts: 3

版本
/root/Documents/tuya/Projects/X86_64_TuyaOS-3.9.10
在目录右键Build
/root/Documents/tuya/Projects/X86_64_TuyaOS-3.9.10/software/TuyaOS/apps/tuyaos_demo_gw

报错如下
/root/workspace_temp/cde/ci_gw_technology_group/tuyaos-gw-integrated/components/tuya_matter_trans_engine/src/tuya_ez_map.c:297: undefined reference to tuya_hashmap_get'
/root/Documents/tuya/Projects/X86_64_TuyaOS-3.9.10/software/TuyaOS/libs/libty_module_dp_engine.a(tuya_ez_map.c.o): In function
tuya_ez_map_pop':
/root/workspace_temp/cde/ci_gw_technology_group/tuyaos-gw-integrated/components/tuya_matter_trans_engine/src/tuya_ez_map.c:344: undefined reference to tuya_hashmap_get'
/root/Documents/tuya/Projects/X86_64_TuyaOS-3.9.10/software/TuyaOS/libs/libty_module_dp_engine.a(tuya_ez_map.c.o): In function
tuya_ez_map_destroy':
/root/workspace_temp/cde/ci_gw_technology_group/tuyaos-gw-integrated/components/tuya_matter_trans_engine/src/tuya_ez_map.c:448: undefined reference to tuya_hashmap_free'
/root/Documents/tuya/Projects/X86_64_TuyaOS-3.9.10/software/TuyaOS/libs/libty_module_gw_app.a(gw_debug_log.c.o): In function
tuya_gw_debug_log_reg_proto':
/root/workspace_temp/cde/ci_gw_technology_group/tuyaos-gw-integrated/components/gw_svc_log/src/gw_debug_log.c:117: undefined reference to tuya_list_add_tail'
/root/Documents/tuya/Projects/X86_64_TuyaOS-3.9.10/software/TuyaOS/libs/libty_module_gw_app.a(gw_debug_log.c.o): In function
tuya_gw_debug_log_unreg_proto':
/root/workspace_temp/cde/ci_gw_technology_group/tuyaos-gw-integrated/components/gw_svc_log/src/gw_debug_log.c:139: undefined reference to `tuya_list_del'
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'build_app' failed
make[1]: *** [build_app] Error 1
make[1]: Leaving directory '/root/Documents/tuya/Projects/X86_64_TuyaOS-3.9.10/software/TuyaOS/apps/tuyaos_demo_zigbee'
/root/Documents/tuya/Projects/X86_64_TuyaOS-3.9.10/software/TuyaOS/scripts/mk/app.mk:186: recipe for target 'app_by_name' failed
make: *** [app_by_name] Error 2

Kyson
Posts: 230

Re: 编译报错recipe for target 'build_app' failed

可以提供一下完整的日志吗?应该是 vendor 没下载

iinnxx
Posts: 3

Re: 编译报错recipe for target 'build_app' failed

Kyson 2024年 Jun 25日 13:50

可以提供一下完整的日志吗?应该是 vendor 没下载

感谢回复,日志附上

1.log
(111.13 KiB) Downloaded 44 times
iinnxx
Posts: 3

Re: 编译报错recipe for target 'build_app' failed

Kyson
Posts: 230

Re: 编译报错recipe for target 'build_app' failed

Code: Select all

./scripts/prepare_param.sh: line 7: git: command not found

你环境没有安装 git 工具哦,先安装 git 和 unzip 之后再试试看。

Post Reply