LGA1150 / openwrt-fullconenat

Netfilter and iptables extension for full cone NAT ported to OpenWrt.
157 stars 54 forks source link

求适配kernel5.4. #4

Open tinnlux opened 4 years ago

tinnlux commented 4 years ago

谢谢!现在提示错误: CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool LINK /home/ubuntu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.22/tools/objtool/objtool /usr/bin/ld: warning: libc.so, needed by /home/ubuntu/openwrt/staging_dir/target-x86_64_musl/usr/lib/libelf.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: /home/ubuntu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.22/tools/objtool/objtool: hidden symbol `fstat' in /usr/lib/x86_64-linux-gnu/libc_nonshared.a(fstat.oS) is referenced by DSO /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[5]: [Makefile:50: /home/ubuntu/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.22/tools/objtool/objtool] Error 1 make[4]: [Makefile:67: objtool] Error 2

kiddin9 commented 4 years ago

我也遇到了,同样的错误.

MeIsReallyBa commented 4 years ago

将Makefile 58行的SUBDIRS="$(PKG_BUILD_DIR)" \ 改为 M="$(PKG_BUILD_DIR)" \