Open lon91ong opened 2 years ago
源码:Lienol-19.07 错误信息:
make[3]: Entering directory '/workdir/openwrt/feeds/custom/openwrt-fullconenat' mkdir -p /workdir/openwrt/dl SHELL= flock /workdir/openwrt/tmp/.fullconenat-2021-12-04-7fe02604.tar.xz.flock -c ' /workdir/openwrt/scripts/download.pl "/workdir/openwrt/dl" "fullconenat-2021-12-04-7fe02604.tar.xz" "skip" "" || ( /workdir/openwrt/scripts/dl_github_archive.py --dl-dir="/workdir/openwrt/dl" --url="https://github.com/llccd/netfilter-full-cone-nat.git" --version="7fe02604e073945a3b081c18efbb4d3c799a31f6" --subdir="fullconenat-2021-12-04-7fe02604" --source="fullconenat-2021-12-04-7fe02604.tar.xz" --hash="skip" || ( echo "Checking out files from the git repository..."; mkdir -p /workdir/openwrt/tmp/dl && cd /workdir/openwrt/tmp/dl && rm -rf fullconenat-2021-12-04-7fe02604 && [ \! -d fullconenat-2021-12-04-7fe02604 ] && git clone https://github.com/llccd/netfilter-full-cone-nat.git fullconenat-2021-12-04-7fe02604 && (cd fullconenat-2021-12-04-7fe02604 && git checkout 7fe02604e073945a3b081c18efbb4d3c799a31f6 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd fullconenat-2021-12-04-7fe02604 && git log -1 --format='\''@%ct'\''` && rm -rf fullconenat-2021-12-04-7fe02604/.git && tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c fullconenat-2021-12-04-7fe02604 | xz -zc -7e > /workdir/openwrt/tmp/dl/fullconenat-2021-12-04-7fe02604.tar.xz && mv /workdir/openwrt/tmp/dl/fullconenat-2021-12-04-7fe02604.tar.xz /workdir/openwrt/dl/ && rm -rf fullconenat-2021-12-04-7fe02604; ); ) ' rm -f /workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604/.built touch /workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604/.built_check make -j1 -C "/workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/linux-4.14.261" CROSS_COMPILE="mipsel-openwrt-linux-musl-" ARCH="mips" M="/workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604" EXTRA_CFLAGS="" modules make[4]: Entering directory '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/linux-4.14.261' CC [M] /workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604/xt_FULLCONENAT.o /workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604/xt_FULLCONENAT.c: In function 'fullconenat_tg_init': /workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604/xt_FULLCONENAT.c:1350:7: error: void value not ignored as it ought to be ret = nf_nat_masquerade_ipv4_register_notifier(); ^ scripts/Makefile.build:335: recipe for target '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604/xt_FULLCONENAT.o' failed make[5]: *** [/workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604/xt_FULLCONENAT.o] Error 1 make[4]: *** [_module_/workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604] Error 2 Makefile:1550: recipe for target '_module_/workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604' failed make[3]: *** [/workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604/.built] Error 2 make[4]: Leaving directory '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/linux-4.14.261' Makefile:65: recipe for target '/workdir/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/fullconenat-2021-12-04-7fe02604/.built' failed make[3]: Leaving directory '/workdir/openwrt/feeds/custom/openwrt-fullconenat' time: package/feeds/custom/openwrt-fullconenat/compile#1.37#0.46#1.68 package/Makefile:113: recipe for target 'package/feeds/custom/openwrt-fullconenat/compile' failed make[2]: Leaving directory '/workdir/openwrt' make[2]: *** [package/feeds/custom/openwrt-fullconenat/compile] Error 2 make[1]: *** [/workdir/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2 package/Makefile:109: recipe for target '/workdir/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed make[1]: Leaving directory '/workdir/openwrt' /workdir/openwrt/include/toplevel.mk:221: recipe for target 'world' failed make: *** [world] Error 2 Error: Process completed with exit code 2.
查看openwrt-fullconenat/Makefile的更新历史,结合自己的报错时间节点,应该是2021-12-30的更新引起的
希望改进一下4.14内核的适配性
这个适合官方的源码,不适合其他源码
源码:Lienol-19.07 错误信息:
查看openwrt-fullconenat/Makefile的更新历史,结合自己的报错时间节点,应该是2021-12-30的更新引起的
希望改进一下4.14内核的适配性