hisham2630 / openwrt-ndpi-netfilter

Vel21ripn ndpi-netfilter extension for openwrt/lede
3 stars 1 forks source link

erro while compiling for mips #2

Open olabs-sys opened 5 years ago

olabs-sys commented 5 years ago

just looking to see if anyone started any work on mips. i tried cross compiling with https://github.com/openwrt-develop/ndpi-netfilter.git, but got an error while trying to load the module with modprobe

modprobe xt_ndpi [ 2145.163779] xt_ndpi: Unknown symbol xchg_small (err 0) 1 module could not be probed xt_ndpi

any ideas anyone ?

chirayu-patel commented 4 years ago

Is there any plan to support mips platform in near future ?

hochek commented 2 months ago

Find the _ xchg_small function in the Linux kernel C file, and add "EXPORTSYMBOL ( xchg_small);" below this file. My project uses the Linux-5.10. x kernel, and I found this function in the cmpxchg.c file.