Tina-T113 openWrt 新增软件包,选中menuconfig后,编译报错,makefile完全就是按照sdk里QT对应的makefile来写的
-
make[3]: Entering directory '/work/t113_tina5.0_openwrt/t113_tina5.0_openwrt/openwrt/package/thirdparty/miniapp'
Makefile:68: *** missing separator. Stop.
make[3]: Leaving directory '/work/t113_tina5.0_openwrt/t113_tina5.0_openwrt/openwrt/package/thirdparty/miniapp'
time: package/subpackage/thirdparty/miniapp/compile#0.07#0.02#0.08
ERROR: package/subpackage/thirdparty/miniapp failed to build.
package/Makefile:114: recipe for target 'package/subpackage/thirdparty/miniapp/compile' failed
make[2]: *** [package/subpackage/thirdparty/miniapp/compile] Error 1
make[2]: Leaving directory '/work/t113_tina5.0_openwrt/t113_tina5.0_openwrt/openwrt/openwrt'
package/Makefile:110: recipe for target '/work/t113_tina5.0_openwrt/t113_tina5.0_openwrt/openwrt/openwrt/staging_dir/target/stamp/.package_compile' failed
make[1]: *** [/work/t113_tina5.0_openwrt/t113_tina5.0_openwrt/openwrt/openwrt/staging_dir/target/stamp/.package_compile] Error 2
make[1]: Leaving directory '/work/t113_tina5.0_openwrt/t113_tina5.0_openwrt/openwrt/openwrt'
/work/t113_tina5.0_openwrt/t113_tina5.0_openwrt/openwrt/openwrt/include/toplevel.mk:238: recipe for target 'world' failed
make: *** [world] Error 2
make: Leaving directory '/work/t113_tina5.0_openwrt/t113_tina5.0_openwrt/openwrt/openwrt'
INFO: build_openwrt_rootfs failed -
Makefile:68: *** missing separator. Stop.
这个错误通常表示在 Makefile 的第 68 行或附近存在语法错误。Makefile 中使用的规则必须遵循严格的缩进规范,通常是使用 Tab 键进行缩进,而不是空格。
请检查 Makefile 第 68 行附近的代码,确保每个规则的命令部分都以 Tab 键开头,并且规则名称和命令之间使用冒号(:)分隔。此外,还需要确认 Makefile 的每一行都是使用相同的缩进方式,要么都是 Tab,要么都是空格,不要混用。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号