openwrt-stuff / qca

Qualcomm Fast Path For LEDE
5 stars 3 forks source link

always get errors while compiling fast-classifier #5

Closed jack338c closed 6 years ago

jack338c commented 6 years ago

Hello I have put https://github.com/openwrt-stuff/lede-mod.git and https://github.com/openwrt-stuff/openwrt-extra/ to my build tree on lede tree

but still get errors on compiling fast-classifier

Please help thanks

make[2]: Leaving directory '/home/jack/lede1701/package/qca/shortcut-fe' make[2]: Entering directory '/home/jack/lede1701/package/qca/fast-classifier' make -C "/home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/linux-4.4.102" SFE_SUPPORT_IPV6=y CONFIG_FAST_CLASSIFIER=m CROSS_COMPILE="arm-openwrt-linux-muslgnueabi-" ARCH="arm" SUBDIRS="/home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/fast-classifier" EXTRA_CFLAGS=" -Wno-implicit-function-declaration" modules make[3]: Entering directory '/home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/linux-4.4.102' CC [M] /home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/fast-classifier/fast-classifier.o /home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/fast-classifier/fast-classifier.c: In function 'fast_classifier_conntrack_event': /home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/fast-classifier/fast-classifier.c:1214:40: error: 'struct nf_conn' has no member named 'mark' if ((events & (1 << IPCT_MARK)) && (ct->mark != 0)) { ^ /home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/fast-classifier/fast-classifier.c:1222:17: error: 'struct nf_conn' has no member named 'mark' mark.mark = ct->mark; ^ scripts/Makefile.build:264: recipe for target '/home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/fast-classifier/fast-classifier.o' failed make[4]: [/home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/fast-classifier/fast-classifier.o] Error 1 Makefile:1405: recipe for target 'module/home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/fast-classifier' failed make[3]: [module/home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/fast-classifier] Error 2 make[3]: Leaving directory '/home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/linux-4.4.102' Makefile:102: recipe for target '/home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/.built' failed make[2]: [/home/jack/lede1701/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/fast-classifier-gfe2f032/.built] Error 2 make[2]: Leaving directory '/home/jack/lede1701/package/qca/fast-classifier' package/Makefile:105: recipe for target 'package/qca/fast-classifier/compile' failed make[1]: [package/qca/fast-classifier/compile] Error 2 make[1]: Leaving directory '/home/jack/lede1701' /home/jack/lede1701/include/toplevel.mk:198: recipe for target 'package/qca/fast-classifier/compile' failed make: *** [package/qca/fast-classifier/compile] Error 2