forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 2244|回复: 4

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

    [复制链接]

    7

    主题

    14

    帖子

    61

    积分

    注册会员

    Rank: 2

    积分
    61
    发表于 2023-3-25 04:01:25 | 显示全部楼层 |阅读模式
    编译环境 阿里云香港云主机,操作系统Ubunut 18.04 ;编译固件路由型号为 AXT1800

    回复

    使用道具 举报

    7

    主题

    14

    帖子

    61

    积分

    注册会员

    Rank: 2

    积分
    61
     楼主| 发表于 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
    回复

    使用道具 举报

    7

    主题

    14

    帖子

    61

    积分

    注册会员

    Rank: 2

    积分
    61
     楼主| 发表于 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


    回复

    使用道具 举报

    7

    主题

    14

    帖子

    61

    积分

    注册会员

    Rank: 2

    积分
    61
     楼主| 发表于 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[3]: *** [/home/axt1800/gl-infra-builder/wlan-ap/openwrt/build_dir/host/tar-1.32/.configured] Error 1
    make[3]: 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[2]: *** [tools/tar/compile] Error 1
    make[2]: 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[1]: *** [/home/axt1800/gl-infra-builder/wlan-ap/openwrt/staging_dir/host/stamp/.tools_compile_yyynyynnyyynyyyyyynyynnyyynynyyyyyyyyyyyyyyyynnynnyyyyyyy] Error 2
    make[1]: 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: *** [world] Error 2

    回复

    使用道具 举报

    0

    主题

    4

    帖子

    76

    积分

    注册会员

    Rank: 2

    积分
    76
    发表于 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
    ...

    先要安装编译依赖的工具,你去看萝卜大侠的置顶
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2024-11-23 01:16 , Processed in 0.020263 second(s), 24 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表