|
本帖最后由 不望月的狼人 于 2022-2-15 11:37 编辑
使用GL-AX1800官方仓库的开源代码编译luci-app-turboacc错误,具体错误为:
- make[4]: Entering directory '/home/shi/gl-infra-builder_new/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx/linux-4.4.60-qsdk-11f09717303ecd83c3a64e9efe23f25921dc1016'
- CC [M] /home/shi/gl-infra-builder_new/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx/shortcut-fe/sfe_cm.o
- /home/shi/gl-infra-builder_new/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx/shortcut-fe/sfe_cm.c: In function 'sfe_cm_init':
- /home/shi/gl-infra-builder_new/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx/shortcut-fe/sfe_cm.c:1089:11: error: implicit declaration of function 'nf_conntrack_register_chain_notifier' [-Werror=implicit-function-declaration]
- result = nf_conntrack_register_chain_notifier(&init_net, &sfe_cm_conntrack_notifier);
- ^
- /home/shi/gl-infra-builder_new/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx/shortcut-fe/sfe_cm.c: In function 'sfe_cm_exit':
- /home/shi/gl-infra-builder_new/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx/shortcut-fe/sfe_cm.c:1177:2: error: implicit declaration of function 'nf_conntrack_unregister_chain_notifier' [-Werror=implicit-function-declaration]
- nf_conntrack_unregister_chain_notifier(&init_net, &sfe_cm_conntrack_notifier);
- ^
- cc1: all warnings being treated as errors
- make[5]: *** [scripts/Makefile.build:338: /home/shi/gl-infra-builder_new/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx/shortcut-fe/sfe_cm.o] Error 1
- make[4]: *** [Makefile:1412: _module_/home/shi/gl-infra-builder_new/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx/shortcut-fe] Error 2
- make[4]: Leaving directory '/home/shi/gl-infra-builder_new/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx/linux-4.4.60-qsdk-11f09717303ecd83c3a64e9efe23f25921dc1016'
- make[3]: *** [Makefile:92: /home/shi/gl-infra-builder_new/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/linux-ipq807x_ipq60xx/shortcut-fe/.built] Error 2
- make[3]: Leaving directory '/home/shi/gl-infra-builder_new/wlan-ap/openwrt/package/custom/luci-app-turboacc/shortcut-fe/shortcut-fe'
- time: package/custom/luci-app-turboacc/shortcut-fe/shortcut-fe/compile#1.91#0.49#2.36
- ERROR: package/custom/luci-app-turboacc/shortcut-fe/shortcut-fe failed to build.
- make[2]: *** [package/Makefile:114: package/custom/luci-app-turboacc/shortcut-fe/shortcut-fe/compile] Error 1
- make[2]: Leaving directory '/home/shi/gl-infra-builder_new/wlan-ap/openwrt'
- make[1]: *** [package/Makefile:108: /home/shi/gl-infra-builder_new/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.package_compile] Error 2
- make[1]: Leaving directory '/home/shi/gl-infra-builder_new/wlan-ap/openwrt'
- make: *** [/home/shi/gl-infra-builder_new/wlan-ap/openwrt/include/toplevel.mk:230: world] Error 2
复制代码 查了了一下,好像是内核缺少一个补丁?不太确定。@萝卜大侠 求解,谢谢。备注:使用的luci-app-turboacc源码仓库为:https://github.com/imy7/luci-app-turboacc/tree/main/Lean
|
|