forum.gl-inet.cn

用户名  找回密码
 立即注册

QQ登录

只需一步,快速开始

帖子
热搜: 活动 交友 discuz
    查看: 3758|回复: 9

    [固件资源] immortalwrt-mt798x翻新版源码

    [复制链接]

    12

    主题

    235

    帖子

    1289

    积分

    金牌会员

    Rank: 6Rank: 6

    积分
    1289
     楼主| 发表于 2024-9-27 22:35:04 | 显示全部楼层 |阅读模式
    本帖最后由 这是饭店 于 2024-9-27 22:52 编辑

    基于hanwckf/immortalwrt-mt798x翻新而来


    支持GCC13编译

    替换能替换的软件包至最新版

    目前暂无因翻新导致的BUG


    使用方法

    1——基于hanwckf/immortalwrt-mt798x原版源码


    2——直接使用


    3——更新源码

    git reset --hard 03f6fb1f17b980989961c9ec6586d4da7de4fc78 && git pull https://github.com/zheshifandian/immortalwrt-mt798x mt6000


    回复

    举报

    23

    主题

    250

    帖子

    1278

    积分

    金牌会员

    Rank: 6Rank: 6

    积分
    1278
    发表于 2024-10-2 10:45:52 | 显示全部楼层
    真棒,谢谢分享
    回复

    举报

    12

    主题

    235

    帖子

    1289

    积分

    金牌会员

    Rank: 6Rank: 6

    积分
    1289
     楼主| 发表于 2024-10-23 20:57:07 | 显示全部楼层
    已支持GCC14
    回复

    举报

    15

    主题

    173

    帖子

    1010

    积分

    金牌会员

    Rank: 6Rank: 6

    积分
    1010
    发表于 2024-10-25 19:56:32 | 显示全部楼层
    这个是基于21.02的版本
    回复

    举报

    12

    主题

    235

    帖子

    1289

    积分

    金牌会员

    Rank: 6Rank: 6

    积分
    1289
     楼主| 发表于 2024-10-30 13:30:40 | 显示全部楼层
    现支持
    GCC-8.5
    GCC-9.5
    GCC-10.5
    GCC-11.5
    GCC-12.4
    GCC-13.3
    GCC-14.2
    回复

    举报

    0

    主题

    4

    帖子

    30

    积分

    新手上路

    Rank: 1

    积分
    30
    发表于 2025-1-15 19:44:35 | 显示全部楼层
    请问编译出来的固件包含官方的UI吗,特别i是官方的wifi无线中继功能
    回复

    举报

    12

    主题

    235

    帖子

    1289

    积分

    金牌会员

    Rank: 6Rank: 6

    积分
    1289
     楼主| 发表于 2025-1-16 13:02:23 | 显示全部楼层
    qg2qg5lo 发表于 2025-1-15 19:44
    请问编译出来的固件包含官方的UI吗,特别i是官方的wifi无线中继功能

    显然没有
    回复

    举报

    0

    主题

    2

    帖子

    24

    积分

    新手上路

    Rank: 1

    积分
    24
    发表于 2025-1-30 00:13:16 | 显示全部楼层
    1. make[4]: Entering directory '/home/sirius/immortalwrt-mt798x/build_dir/target-aarch64_cortex-a53_musl/ebtables-2018.06.27~48cff25d'
    2. aarch64-openwrt-linux-musl-gcc -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wno-error=unused-function -fmacro-prefix-map=/home/sirius/immortalwrt-mt798x/build_dir/target-aarch64_cortex-a53_musl/ebtables-2018.06.27~48cff25d=ebtables-2018.06.27~48cff25d -fstack-protector -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -fPIC -O3 -DPROGVERSION="2.0.10-4" -DPROGNAME="ebtables" -DPROGDATE="December\ 2011" -D_PATH_ETHERTYPES="/etc/ethertypes" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -DLOCKFILE="/var/lib/ebtables/lock" -DLOCKDIR="/var/lib/ebtables/" -c -o useful_functions.o useful_functions.c -Iinclude/
    3. useful_functions.c: In function 'ebt_print_mac':
    4. useful_functions.c:63:41: error: passing argument 1 of 'ether_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
    5.    63 |                 printf("%s", ether_ntoa((struct ether_addr *) mac));
    6.       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
    7.       |                                         |
    8.       |                                         struct ether_addr *
    9. In file included from include/ebtables_u.h:28,
    10.                  from useful_functions.c:25:
    11. /home/sirius/immortalwrt-mt798x/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.2.0_musl/include/netinet/ether.h:10:19: note: expected 'const struct ether_addr *' but argument is of type 'struct ether_addr *'
    12.    10 | char *ether_ntoa (const struct ether_addr *);
    13.       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
    14. make[4]: *** [Makefile:78: useful_functions.o] Error 1
    15. make[4]: Leaving directory '/home/sirius/immortalwrt-mt798x/build_dir/target-aarch64_cortex-a53_musl/ebtables-2018.06.27~48cff25d'
    16. make[3]: *** [Makefile:75: /home/sirius/immortalwrt-mt798x/build_dir/target-aarch64_cortex-a53_musl/ebtables-2018.06.27~48cff25d/.built] Error 2
    17. make[3]: Leaving directory '/home/sirius/immortalwrt-mt798x/package/network/utils/ebtables'
    18. time: package/network/utils/ebtables/compile#0.07#0.10#0.16
    19.     ERROR: package/network/utils/ebtables failed to build.
    20. make[2]: *** [package/Makefile:120: package/network/utils/ebtables/compile] Error 1
    21. make[2]: Leaving directory '/home/sirius/immortalwrt-mt798x'
    22. make[1]: *** [package/Makefile:114: /home/sirius/immortalwrt-mt798x/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
    23. make[1]: Leaving directory '/home/sirius/immortalwrt-mt798x'
    24. make: *** [/home/sirius/immortalwrt-mt798x/include/toplevel.mk:234: world] Error 2
    复制代码

    我编译的时候遇到了这个问题,搜到的相关pr: https://github.com/openwrt/openwrt/pull/15576/files
    回复

    举报

    0

    主题

    2

    帖子

    24

    积分

    新手上路

    Rank: 1

    积分
    24
    发表于 2025-1-30 00:56:40 | 显示全部楼层
    可能是我make menuconfig的时候没有只选择mt6000的缘故,第一次自己编这个哈哈
    回复

    举报

    12

    主题

    235

    帖子

    1289

    积分

    金牌会员

    Rank: 6Rank: 6

    积分
    1289
     楼主| 发表于 2025-1-31 21:27:37 | 显示全部楼层
    dontcampy 发表于 2025-1-30 00:13
    我编译的时候遇到了这个问题,搜到的相关pr: https://github.com/openwrt/openwrt/pull/15576/files ...

    用不到这个,没修
    回复

    举报

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

    本版积分规则

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

    GMT+8, 2025-4-8 06:12 , Processed in 0.024561 second(s), 24 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

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