LGA1150 / openwrt-fullconenat

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

Error when compiling on OpenWRT master #7

Open alex9434 opened 4 years ago

alex9434 commented 4 years ago

I get the following error message when compiling openwrt-fullconenat. What can I do to solve the error?

make[3]: Entering directory /openwrt-fullconenat'
rm -f /home/pi/openwrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/fullconenat-2018-12-15-d4daedd0/.built
touch /home/pi/openwrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/fullconenat-2018-12-15-d4daedd0/.built_check
make -j1 -C "/home/pi/openwrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/linux-5.4.51" CROSS_COMPILE="aarch64-openwrt-linux-musl-" ARCH="arm64" SUBDIRS="/home/pi/openwrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/fullconenat-2018-12-15-d4daedd0" EXTRA_CFLAGS="" modules
make[4]: Entering directory '/home/pi/openwrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/linux-5.4.51'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTCC  scripts/dtc/yamltree.o
scripts/dtc/yamltree.c:9:10: fatal error: yaml.h: No such file or directory
 #include <yaml.h>
          ^~~~~~~~
compilation terminated.
make[5]: *** [scripts/Makefile.host:124: scripts/dtc/yamltree.o] Error 1
make[4]: *** [Makefile:1270: scripts_dtc] Error 2
make[4]: Leaving directory '/home/pi/openwrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/linux-5.4.51'
make[3]: *** [Makefile:67: /home/pi/openwrt/build_dir/target-aarch64_cortex-a72_musl/linux-bcm27xx_bcm2711/fullconenat-2018-12-15-d4daedd0/.built] Error 2
make[3]: Leaving directory '/home/pi/Documents/alexsoft/net/openwrt-fullconenat'
time: package/feeds/alexsoft/openwrt-fullconenat/compile#8.52#2.38#12.50
make[2]: *** [package/Makefile:113: package/feeds/alexsoft/openwrt-fullconenat/compile] Error 2
make[2]: Leaving directory '/home/pi/openwrt'
make[1]: *** [package/Makefile:107: /home/pi/openwrt/staging_dir/target-aarch64_cortex-a72_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/pi/openwrt'
make: *** [/home/pi/openwrt/include/toplevel.mk:235: world] Error 2

Build OpenWRT Master on Debian 10 on arm64

sunyink commented 1 year ago

metoo,how to fix?