forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    楼主: 萝卜大侠

    [固件资源] AX1800开源固件

      [复制链接]

    0

    主题

    5

    帖子

    83

    积分

    注册会员

    Rank: 2

    积分
    83
    发表于 2022-5-31 03:12:35 | 显示全部楼层
    aojie654 发表于 2022-5-27 01:33
    现在正常了,可能是代码合并还没完全做完推上去导致的,后来重新拉了一遍就没就有 openwrt 文件夹了,不 ...

    遭遇了相同问题
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9641

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9641

    官方人员

     楼主| 发表于 2022-5-31 15:31:55 | 显示全部楼层
    Shuwa 发表于 2022-5-31 03:12
    遭遇了相同问题

    清掉当前项目,重新拉取试一下
    回复

    使用道具 举报

    3

    主题

    32

    帖子

    202

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    202
    发表于 2022-5-31 16:09:51 | 显示全部楼层
    萝卜大侠 发表于 2022-5-31 15:31
    清掉当前项目,重新拉取试一下

    重新拉了一下,这次是连 wlan-ap 目录都没了
    回复

    使用道具 举报

    3

    主题

    32

    帖子

    202

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    202
    发表于 2022-5-31 18:47:06 | 显示全部楼层
    再重新拉了一遍,有 wlan-ap/openwrt 了,但是跑编译的时候还是有这个报错:
    1. make[3]: Leaving directory '/home/shengjyerao/git/gl-infra-builder/wlan-ap/feeds/ipq807x/qca-ssdk'
    2. time: package/feeds/ipq807x/qca-ssdk/nohnat/compile#104.23#18.87#134.00
    3. make[2]: Leaving directory '/home/shengjyerao/git/gl-infra-builder/wlan-ap/openwrt'
    4. make[1]: *** [package/Makefile:110: /home/shengjyerao/git/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.package_compile] Error 2
    5. make[1]: Leaving directory '/home/shengjyerao/git/gl-infra-builder/wlan-ap/openwrt'
    6. make: *** [/home/shengjyerao/git/gl-infra-builder/wlan-ap/openwrt/include/toplevel.mk:230: world] Error 2
    复制代码
    回复

    使用道具 举报

    8

    主题

    63

    帖子

    436

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    436
    发表于 2022-6-1 13:57:13 | 显示全部楼层
    aojie654 发表于 2022-5-31 18:47
    再重新拉了一遍,有 wlan-ap/openwrt 了,但是跑编译的时候还是有这个报错:

    不会是root用户编译的吧
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9641

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9641

    官方人员

     楼主| 发表于 2022-6-1 14:16:46 | 显示全部楼层
    catndog 发表于 2022-6-1 12:42
    luci.yml配置如下:

    就这个帖子,137楼有这个错误的解决方案 https://forum.gl-inet.cn/forum.p ... &pid=1956&fromuid=1
    回复

    使用道具 举报

    0

    主题

    6

    帖子

    118

    积分

    注册会员

    Rank: 2

    积分
    118
    发表于 2022-6-1 15:13:06 | 显示全部楼层
    萝卜大侠 发表于 2022-6-1 14:16
    就这个帖子,137楼有这个错误的解决方案 https://forum.gl-inet.cn/forum.p ... &pid=1956&fromuid=1
    ...

    问题解决了。
    出现了另外的错误:
    make[3] -C feeds/packages/net/haproxy compile
    make[3] -C feeds/packages/utils/bash compile
    make[3] -C feeds/packages/net/wget compile
    make[3] -C package/network/services/dnsmasq compile
    make[3] -C package/network/services/dnsmasq compile
    make[3] -C package/network/config/firewall compile
    make[3] -C package/libs/uclient compile
    make[3] -C package/network/services/uhttpd compile
    make[3] -C /home/zzz/router/gl-infra-builder/wlan-ap/feeds/wifi-ax/hostapd compile
    make[3] -C package/network/config/swconfig compile
    make[3] -C package/network/services/odhcpd compile
    make[3] -C package/utils/busybox compile
    make[3] -C package/network/config/netifd compile
    make[3] -C package/system/ubox compile
    make[3] -C package/utils/mtd-utils compile
    make[3] -C /home/zzz/router/gl-infra-builder/feeds/glinet/chinadns-ng compile
        ERROR: package/feeds/wifi_ax/hostapd failed to build (build variant: wpad-full-internal).
    回复

    使用道具 举报

    0

    主题

    5

    帖子

    83

    积分

    注册会员

    Rank: 2

    积分
    83
    发表于 2022-6-1 20:54:21 | 显示全部楼层
    本帖最后由 Shuwa 于 2022-6-1 20:57 编辑

    最新源码编译仍然报错。编译环境是重装过的WSL2(path处理过了),未添加任何软件包或修改任何配置,完全按照该贴给出的命令执行。每次编译分别会出现诸如这些报错内容之一:
    1. -linux-muslgnueabi/5.5.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: <artificial>:(.text.dragonfly_get_rand_2_to_r_1.lto_priv.1559+0x20): undefined reference to `crypto_bignum_is_zero'
    2. /home/shuwa/gl-infra-builder/wlan-ap/openwrt/staging_dir/toolchain-arm_cortex-a7_gcc-5.5.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/5.5.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: <artificial>:(.text.dragonfly_get_rand_2_to_r_1.lto_priv.1559+0x30): undefined reference to `crypto_bignum_is_one'
    3. collect2: error: ld returned 1 exit status
    4. make[3]: *** [Makefile:687: /home/shuwa/gl-infra-builder/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/hostapd-wpad-full-internal/hostapd-2021-02-20-59e9794c/.built] Error 1
    5. make[3]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/feeds/wifi-ax/hostapd'
    6. time: package/feeds/wifi_ax/hostapd/wpad-full-internal/compile#13.57#0.41#13.72
    7.     ERROR: package/feeds/wifi_ax/hostapd failed to build (build variant: wpad-full-internal).
    8. make[2]: *** [package/Makefile:114: package/feeds/wifi_ax/hostapd/compile] Error 1
    9. make[2]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt'
    10. make[1]: *** [package/Makefile:108: /home/shuwa/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.package_compile] Error 2
    11. make[1]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt'
    12. make: *** [/home/shuwa/gl-infra-builder/wlan-ap/openwrt/include/toplevel.mk:230: world] Error 2
    复制代码
    1. touch /home/shuwa/gl-infra-builder/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/luci-base/.pkgdir/luci-i18n-base-zh-cn.installed
    2. mkdir -p /home/shuwa/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/root-ipq807x/stamp
    3. SHELL= flock /home/shuwa/gl-infra-builder/wlan-ap/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/shuwa/gl-infra-builder/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/luci-base/.pkgdir/luci-i18n-base-zh-cn/. /home/shuwa/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/root-ipq807x/'
    4. touch /home/shuwa/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/root-ipq807x/stamp/.luci-i18n-base-zh-cn_installed
    5. echo "luci-i18n-base-zh-cn" >> /home/shuwa/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/pkginfo/luci-base.default.install
    6. make[3]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt/feeds/luci/modules/luci-base'
    7. time: package/feeds/luci/luci-base/compile#1.43#0.13#1.49
    8. make[2]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt'
    9. make[1]: *** [package/Makefile:108: /home/shuwa/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.package_compile] Error 2
    10. make[1]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt'
    11. make: *** [/home/shuwa/gl-infra-builder/wlan-ap/openwrt/include/toplevel.mk:230: world] Error 2
    复制代码
    1. touch /home/shuwa/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.libpcap_installed
    2. make[3]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt/package/libs/libpcap'
    3. time: package/libs/libpcap/compile#6.68#0.60#39.33
    4. make[2]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt'
    5. make[1]: *** [package/Makefile:108: /home/shuwa/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.package_compile] Error 2
    6. make[1]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt'
    7. make: *** [/home/shuwa/gl-infra-builder/wlan-ap/openwrt/include/toplevel.mk:230: world] Error 2
    复制代码
    1. make[3]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt/package/libs/libselinux'
    2. time: package/libs/libselinux/compile#4.97#0.70#8.20
    3. make[2]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt'
    4. make[1]: *** [package/Makefile:108: /home/shuwa/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.package_compile] Error 2
    5. make[1]: Leaving directory '/home/shuwa/gl-infra-builder/wlan-ap/openwrt'
    6. make: *** [/home/shuwa/gl-infra-builder/wlan-ap/openwrt/include/toplevel.mk:230: world] Error 2
    复制代码
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9641

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9641

    官方人员

     楼主| 发表于 2022-6-1 22:28:48 | 显示全部楼层
    Shuwa 发表于 2022-6-1 20:54
    最新源码编译仍然报错。编译环境是重装过的WSL2(path处理过了),未添加任何软件包或修改任何配置,完全按 ...

    我这加上luci中文语言包也遇到了,明天解决
    回复

    使用道具 举报

    3

    主题

    32

    帖子

    202

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    202
    发表于 2022-6-2 08:00:44 | 显示全部楼层
    阿里速卖通 发表于 2022-6-1 13:57
    不会是root用户编译的吧

    不是,自建的普通用户
    回复

    使用道具 举报

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

    本版积分规则

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

    GMT+8, 2024-5-6 18:42 , Processed in 0.025380 second(s), 24 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

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