forum.gl-inet.cn

用户名  找回密码
 立即注册

QQ登录

只需一步,快速开始

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

    [固件资源] AX1800开源固件

      [复制链接]

    3

    主题

    32

    帖子

    202

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    202
    发表于 2022-5-21 22:27:41 | 显示全部楼层
    萝卜大侠 发表于 2022-5-21 20:59
    第4个问题应该是我们的同事给opkg打补丁导致的,我让他修正一下

    请教一下大萝,问题3感觉是不是内核版本太老了所以没有?我看有些package 在 openwrt 新版的 kernel /linux 下面是有的。这方面刚入门不久瞎猜一拨哈哈哈哈
    回复

    举报

    0

    主题

    3

    帖子

    38

    积分

    新手上路

    Rank: 1

    积分
    38
    发表于 2022-5-22 01:27:41 | 显示全部楼层
    python3.10 版本太新,识别不了会报错:
    Build dependency: Please install Python >= 3.5

    照着官方把include/prereq-build.mk改成这样就可以了;
    1. $(eval $(call SetupHostCommand,python,Please install Python >= 3.5, \
    2.         python3.10 -V 2>&1 | grep 'Python 3', \
    3.         python3.9 -V 2>&1 | grep 'Python 3', \
    4.         python3.8 -V 2>&1 | grep 'Python 3', \
    5.         python3.7 -V 2>&1 | grep 'Python 3', \
    6.         python3.6 -V 2>&1 | grep 'Python 3', \
    7.         python3.5 -V 2>&1 | grep 'Python 3', \
    8.         python3 -V 2>&1 | grep -E 'Python 3\.([5-9]|10)\.?'))

    9. $(eval $(call SetupHostCommand,python3,Please install Python >= 3.5, \
    10.         python3.10 -V 2>&1 | grep 'Python 3', \
    11.         python3.9 -V 2>&1 | grep 'Python 3', \
    12.         python3.8 -V 2>&1 | grep 'Python 3', \
    13.         python3.7 -V 2>&1 | grep 'Python 3', \
    14.         python3.6 -V 2>&1 | grep 'Python 3', \
    15.         python3.5 -V 2>&1 | grep 'Python 3', \
    16.         python3 -V 2>&1 | grep -E 'Python 3\.([5-9]|10)\.?'))
    复制代码
    回复

    举报

    0

    主题

    3

    帖子

    38

    积分

    新手上路

    Rank: 1

    积分
    38
    发表于 2022-5-22 14:00:07 | 显示全部楼层
    除了上面提到的Python版本的问题,Ubuntu 22.04 LTS编译toolchains/gcc也会报错,大家还是在上一个LTS版本下编译吧
    回复

    举报

    76

    主题

    2144

    帖子

    1万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    10009

    官方人员

     楼主| 发表于 2022-5-23 09:24:31 | 显示全部楼层
    hyec 发表于 2022-5-22 14:00
    除了上面提到的Python版本的问题,Ubuntu 22.04 LTS编译toolchains/gcc也会报错,大家还是在上一个LTS版本 ...

    我平常都是在20.4 LTS的版本上开发, 22.04还没用上呢
    回复

    举报

    0

    主题

    3

    帖子

    38

    积分

    新手上路

    Rank: 1

    积分
    38
    发表于 2022-5-24 10:15:58 | 显示全部楼层
    大侠帮忙看下这个编译的错误呗,自己解决不了了,
    1. make[3] -C feeds/luci/collections/luci compile
    2.     ERROR: package/feeds/wifi_ax/hostapd failed to build (build variant: wpad-full-internal).
    复制代码

    详细日志是:
    1. make[3]: Entering directory '/home/hyec/gl-infra-builder/wlan-ap/feeds/wifi-ax/hostapd'
    2. ## ........
    3. export MAKEFLAGS=""; arm-openwrt-linux-muslgnueabi-gcc -o /home/hyec/gl-infra-builder/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/hostapd-wpad-full-internal/hostapd-2021-02-20-59e9794c/wpad -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -Wformat -Werror=format-security -DPIC -fpic -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto ./files/multicall.c /home/hyec/gl-infra-builder/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/hostapd-wpad-full-internal/hostapd-2021-02-20-59e9794c/hostapd/hostapd_multi.a /home/hyec/gl-infra-builder/wlan-ap/openwrt/build_dir/target-arm_cortex-a7_musl_eabi/hostapd-wpad-full-internal/hostapd-2021-02-20-59e9794c/wpa_supplicant/wpa_supplicant_multi.a -L/home/hyec/gl-infra-builder/wlan-ap/openwrt/staging_dir/toolchain-arm_cortex-a7_gcc-5.5.0_musl_eabi/usr/lib -L/home/hyec/gl-infra-builder/wlan-ap/openwrt/staging_dir/toolchain-arm_cortex-a7_gcc-5.5.0_musl_eabi/lib -DPIC -fpic -specs=/home/hyec/gl-infra-builder/wlan-ap/openwrt/include/hardened-ld-pie.specs -znow -zrelro -Wl,--gc-sections -flto=jobserver -fuse-linker-plugin -lubox -lubus -lm -lnl-tiny
    4. /home/hyec/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: /home/hyec/gl-infra-builder/wlan-ap/openwrt/tmp/cchdpHqK.ltrans1.ltrans.o: in function `eap_pwd_element_coord_ok':
    5. <artificial>:(.text.eap_pwd_element_coord_ok+0x10): undefined reference to `crypto_bignum_init_set'
    6. /home/hyec/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.eap_pwd_element_coord_ok+0x24): undefined reference to `crypto_bignum_is_zero'
    7. /home/hyec/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.eap_pwd_element_coord_ok+0x38): undefined reference to `crypto_bignum_cmp'
    8. /home/hyec/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.eap_pwd_element_coord_ok+0x48): undefined reference to `crypto_bignum_deinit'
    9. /home/hyec/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: /home/hyec/gl-infra-builder/wlan-ap/openwrt/tmp/cchdpHqK.ltrans1.ltrans.o: in function `eap_pwd_reset':
    10. <artificial>:(.text.eap_pwd_reset+0xa4): undefined reference to `crypto_ec_deinit'
    11. /home/hyec/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.eap_pwd_reset+0xe4): undefined reference to `crypto_bignum_deinit'
    12. /home/hyec/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.eap_pwd_reset+0xe8): undefined reference to `crypto_ec_point_deinit'
    13. /home/hyec/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: /home/hyec/gl-infra-builder/wlan-ap/openwrt/tmp/cchdpHqK.ltrans1.ltrans.o: in function `eap_pwd_get_rand_mask':
    14. <artificial>:(.text.eap_pwd_get_rand_mask+0x14): undefined reference to `crypto_ec_get_order'
    15. ## 中间都是 undefined reference to `crypto_xxxxx'
    16. collect2: error: ld returned 1 exit status
    17. make[3]: *** [Makefile:687: /home/hyec/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
    18. make[3]: Leaving directory '/home/hyec/gl-infra-builder/wlan-ap/feeds/wifi-ax/hostapd'
    19. time: package/feeds/wifi_ax/hostapd/wpad-full-internal/compile#14.88#0.42#15.50
    20.     ERROR: package/feeds/wifi_ax/hostapd failed to build (build variant: wpad-full-internal).
    21. make[2]: *** [package/Makefile:114: package/feeds/wifi_ax/hostapd/compile] Error 1
    22. make[2]: Leaving directory '/home/hyec/gl-infra-builder/wlan-ap/openwrt'
    23. make[1]: *** [package/Makefile:108: /home/hyec/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.package_compile] Error 2
    24. make[1]: Leaving directory '/home/hyec/gl-infra-builder/wlan-ap/openwrt'
    25. make: *** [/home/hyec/gl-infra-builder/wlan-ap/openwrt/include/toplevel.mk:230: world] Error 2
    复制代码
    回复

    举报

    17

    主题

    374

    帖子

    2463

    积分

    金牌会员

    Rank: 6Rank: 6

    积分
    2463
    发表于 2022-5-24 10:25:49 | 显示全部楼层
    hyec 发表于 2022-5-24 10:15
    大侠帮忙看下这个编译的错误呗,自己解决不了了,

    详细日志是:

    增加一下这个依赖 wpad-openssl 试试
    回复

    举报

    5

    主题

    254

    帖子

    1938

    积分

    金牌会员

    Rank: 6Rank: 6

    积分
    1938
    发表于 2022-5-24 10:56:05 | 显示全部楼层
    不望月的狼人 发表于 2022-5-24 10:25
    增加一下这个依赖 wpad-openssl 试试

    问下 wpad-wolfssl 和 wpad-openssl 哪个好点,有啥区别
    @萝卜大侠
    回复

    举报

    3

    主题

    32

    帖子

    202

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    202
    发表于 2022-5-24 17:40:35 | 显示全部楼层
    今天看到有代码更新,在另一台电脑上拉下来,发现wlan-ap 下面 没有 openwrt 了,这咋整。。。

    1. shengjyerao@sja-r9000p-ubuntu ~/git/gl-infra-builder$ tree -N wlan-ap -L 1                                                              main
    2. wlan-ap
    3. ├── backports
    4. ├── build.sh
    5. ├── config.yml
    6. ├── docker
    7. ├── dock-run.sh
    8. ├── feeds
    9. ├── Makefile
    10. ├── patches
    11. ├── profiles
    12. ├── README.md
    13. └── setup.py

    14. 5 directories, 6 files
    复制代码
    回复

    举报

    76

    主题

    2144

    帖子

    1万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    10009

    官方人员

     楼主| 发表于 2022-5-26 14:16:56 | 显示全部楼层
    aojie654 发表于 2022-5-24 17:40
    今天看到有代码更新,在另一台电脑上拉下来,发现wlan-ap 下面 没有 openwrt 了,这咋整。。。

    ...

    有执行setup的步骤吗?
    回复

    举报

    3

    主题

    32

    帖子

    202

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    202
    发表于 2022-5-27 01:33:39 | 显示全部楼层
    萝卜大侠 发表于 2022-5-26 14:16
    有执行setup的步骤吗?

    现在正常了,可能是代码合并还没完全做完推上去导致的,后来重新拉了一遍就没就有 openwrt 文件夹了,不过后来出现了一个新问题,中途会停掉,中间看起来都正常,最后几行是这样,实在看不懂:

    1. rm -rf /home/shengjyerao/git/gl-infra-builder/wlan-ap/openwrt/tmp/stage-qca-ssdk
    2. touch /home/shengjyerao/git/gl-infra-builder/wlan-ap/openwrt/staging_dir/target-arm_cortex-a7_musl_eabi/stamp/.qca-ssdk.nohnat_installed
    3. make[3]: Leaving directory '/home/shengjyerao/git/gl-infra-builder/wlan-ap/feeds/ipq807x/qca-ssdk'
    4. time: package/feeds/ipq807x/qca-ssdk/nohnat/compile#110.32#20.03#143.75
    5. make[2]: Leaving directory '/home/shengjyerao/git/gl-infra-builder/wlan-ap/openwrt'
    6. 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
    7. make[1]: Leaving directory '/home/shengjyerao/git/gl-infra-builder/wlan-ap/openwrt'
    8. make: *** [/home/shengjyerao/git/gl-infra-builder/wlan-ap/openwrt/include/toplevel.mk:230: world] Error 2
    复制代码


    感觉我是得先去看看openwrt 的文档了……
    回复

    举报

    0

    主题

    5

    帖子

    83

    积分

    注册会员

    Rank: 2

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

    遭遇了相同问题
    回复

    举报

    76

    主题

    2144

    帖子

    1万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    10009

    官方人员

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

    主题

    65

    帖子

    452

    积分

    中级会员

    Rank: 3Rank: 3

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

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

    举报

    76

    主题

    2144

    帖子

    1万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    10009

    官方人员

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

    帖子

    122

    积分

    注册会员

    Rank: 2

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

    帖子

    1万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    10009

    官方人员

     楼主| 发表于 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, 2025-4-17 16:08 , Processed in 0.031081 second(s), 23 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

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