forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

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

    [固件资源] AX1800开源固件

      [复制链接]

    76

    主题

    2144

    帖子

    9649

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9649

    官方人员

     楼主| 发表于 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
    复制代码
    回复

    使用道具 举报

    16

    主题

    369

    帖子

    2208

    积分

    金牌会员

    Rank: 6Rank: 6

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

    详细日志是:

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

    使用道具 举报

    5

    主题

    253

    帖子

    1824

    积分

    金牌会员

    Rank: 6Rank: 6

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

    帖子

    9649

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9649

    官方人员

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

    帖子

    9649

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9649

    官方人员

     楼主| 发表于 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 目录都没了
    回复

    使用道具 举报

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

    本版积分规则

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

    GMT+8, 2024-5-13 06:53 , Processed in 0.023674 second(s), 24 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

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