找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 519|回复: 3

编译shortcut-fe出错求教~

[复制链接]
touch /home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/shortcut-fe/.built_check
make -j1 -C "/home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.118" KCFLAGS="-fmacro-prefix-map=/home/raphael/router/immortalwrt/build_dir/target-x86_64_musl=target-x86_64_musl -fno-caller-saves " HOSTCFLAGS="-O2 -I/home/raphael/router/immortalwrt/staging_dir/host/include -I/home/raphael/router/immortalwrt/staging_dir/hostpkg/include -I/home/raphael/router/immortalwrt/staging_dir/target-x86_64_musl/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="x86_64-openwrt-linux-musl-" ARCH="x86" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Tue Jun 27 08:02:14 2023" KBUILD_BUILD_VERSION="0" KBUILD_HOSTLDFLAGS="-L/home/raphael/router/immortalwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V=''  cmd_syscalls= KBUILD_EXTRA_SYMBOLS="/home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/cryptodev-linux.symvers /home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/symvers/fullconenat-nft.symvers" KERNELRELEASE=5.15.118  M="/home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/shortcut-fe" EXTRA_CFLAGS+="-DSFE_SUPPORT_IPV6" SFE_SUPPORT_IPV6=y  modules
make[4]: Entering directory '/home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.118'
  CC [M]  /home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/shortcut-fe/sfe_cm.o
/home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/shortcut-fe/sfe_cm.c: In function 'sfe_cm_post_routing':
/home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/shortcut-fe/sfe_cm.c:507:20: error: 'struct nf_tcp_net' has no member named 'tcp_no_window_check'
  507 |         if ((tn&&tn->tcp_no_window_check)
      |                    ^~
make[5]: *** [scripts/Makefile.build:289: /home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/shortcut-fe/sfe_cm.o] Error 1
make[4]: *** [Makefile:1906: /home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/shortcut-fe] Error 2
make[4]: Leaving directory '/home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.118'
make[3]: *** [Makefile:90: /home/raphael/router/immortalwrt/build_dir/target-x86_64_musl/linux-x86_64/shortcut-fe/.built] Error 2
make[3]: Leaving directory '/home/raphael/router/immortalwrt/feeds/kiddin9/shortcut-fe/shortcut-fe'
time: package/feeds/kiddin9/shortcut-fe/compile#1.88#0.59#2.64
    ERROR: package/feeds/kiddin9/shortcut-fe failed to build.
make[2]: *** [package/Makefile:120: package/feeds/kiddin9/shortcut-fe/compile] Error 1
make[2]: Leaving directory '/home/raphael/router/immortalwrt'
make[1]: *** [package/Makefile:114: /home/raphael/router/immortalwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/raphael/router/immortalwrt'
make: *** [/home/raphael/router/immortalwrt/include/toplevel.mk:232:world] 错误 2


使用immortalwrt代码,branch选择openwrt-23.05,插件来自于:
https://github.com/kiddin9/openwrt-packages
内核打了lean的两个补丁
https://raw.githubusercontent.co ... le-registrant.patch

https://raw.githubusercontent.co ... t-shortcut-fe.patch


求教要如何处理这个错误?

我的恩山、我的无线 The best wifi forum is right here.

点评

是这个补丁,编译通过了,感谢指点。  详情 回复 发表于 2023-6-28 23:57
我测试一下,感谢指点~ :O)  详情 回复 发表于 2023-6-28 10:51
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
zyyhcufe 发表于 2023-6-28 10:49
是不是和这个补丁有关
https://github.com/openwrt/openwrt/commit/cbe73ea33d027dbb4b2cf1eca947ae746119e ...

我测试一下,感谢指点~
:O)
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
zyyhcufe 发表于 2023-6-28 10:49
是不是和这个补丁有关
https://github.com/openwrt/openwrt/commit/cbe73ea33d027dbb4b2cf1eca947ae746119e ...

是这个补丁,编译通过了,感谢指点。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 13:35

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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