skun 发表于 2023-3-25 04:01:25

按照github官方文档编译固件出现依赖警告

编译环境 阿里云香港云主机,操作系统Ubunut 18.04 ;编译固件路由型号为 AXT1800

skun 发表于 2023-3-25 04:02:52

编译编译步骤为:1:git clone https://github.com/gl-inet/gl-infra-builder.git && cd gl-infra-builder
2:python3 setup.py -c configs/config-wlan-ap.yml && cd wlan-ap/openwrt
3:./scripts/gen_config.py target_wlan_ap-gl-axt1800 luci
4:make V=s -j5

skun 发表于 2023-3-25 04:05:29

警告信息为:
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build dependency on 'libpam', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency on 'liblzma', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a dependency on 'libnetsnmp', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a build dependency on 'libpam', which does not exist
WARNING: Makefile 'package/system/uvol/Makefile' has a dependency on 'lvm2', which does not exist


skun 发表于 2023-3-25 04:07:26

如忽略高级继续编译出现如下错误:
Makefile:31: recipe for target '/home/axt1800/gl-infra-builder/wlan-ap/openwrt/build_dir/host/tar-1.32/.configured' failed
make: *** Error 1
make: Leaving directory '/home/axt1800/gl-infra-builder/wlan-ap/openwrt/tools/tar'
time: tools/tar/compile#10.99#4.25#18.31
    ERROR: tools/tar failed to build.
tools/Makefile:160: recipe for target 'tools/tar/compile' failed
make: *** Error 1
make: Leaving directory '/home/axt1800/gl-infra-builder/wlan-ap/openwrt'
tools/Makefile:158: recipe for target '/home/axt1800/gl-infra-builder/wlan-ap/openwrt/staging_dir/host/stamp/.tools_compile_yyynyynnyyynyyyyyynyynnyyynynyyyyyyyyyyyyyyyynnynnyyyyyyy' failed
make: *** Error 2
make: Leaving directory '/home/axt1800/gl-infra-builder/wlan-ap/openwrt'
/home/axt1800/gl-infra-builder/wlan-ap/openwrt/include/toplevel.mk:228: recipe for target 'world' failed
make: *** Error 2

shaoxiao1990 发表于 2023-4-8 11:58:46

skun 发表于 2023-3-25 04:02
编译编译步骤为:1:git clone https://github.com/gl-inet/gl-infra-builder.git && cd gl-infra-builder
...

先要安装编译依赖的工具,你去看萝卜大侠的置顶
页: [1]
查看完整版本: 按照github官方文档编译固件出现依赖警告