Open anust opened 3 years ago
Did you build DPDK first? You have to make install DPDK first.
Yes I built it first. Please guide me with the whole process, step by step. I need to run this code asap.
OK, I find the problem. Because this project based on DPDK 18.11.2 and DPDK 19.11.8 changed the type name. You can try to compile with DPDK 18.11.2 again or change the old type name to the new one.
I will recompile and let you know
@asd757817 I was able to compile the code using DPDK 18.11.2, but getting the following error, I am using ndpi3.2
dpdk-nDPI-master/build$ sudo ./nDPIexe --help
Segmentation fault
Please tell me which OS you used for compilation.
OS: Ubutnu 16.04 DPDK version: 18.11.2 nDPI version: 3.2 (Not very sure.
I did this project almost 2 years ago, and I don't have the environmnet to test it.
Try ./nDPIexe
again. I review the codes and it doesn't support the --help
option, but I'm not sure this is the root cause.
I am unable to reproduce it using OS: Ubutnu 16.04 DPDK version: 18.11.2 nDPI version: 3.2
/dpdk-nDPI-master/build$ sudo ./nDPIexe
Segmentation fault (core dumped)
sudo ./build/nDPIexe -c 0xf -n4 -- -L -p 0x3 --config="(0,0,0),(1,0,1)"
Segmentation fault (core dumped)
It always says this Segmentation fault, whatever options I gave. Also I compiled it to ubuntu 18 as well, yet same issue
@asd757817
*** Error in
./build/nDPIexe': free(): invalid next size (fast): 0x00000000027f8790 ***`
There is some error in memory allocation. Can you please comment on this.
I did the following setting
Error Log:
OS: 16.04 server nDPI 3.2 stable with hyperscan