asd757817 / dpdk-nDPI

10 stars 12 forks source link

files missing #3

Open utkarsh0902311047 opened 3 years ago

utkarsh0902311047 commented 3 years ago

CC ndpiReader.o In file included from /root/dpdk-nDPI/ndpiReader.c:94: /root/dpdk-nDPI/ndpi_detection.h:227:20: error: unknown type name ‘ndpi_url_risk’; did you mean ‘ndpi_risk’? 227 | char *printUrlRisk(ndpi_url_risk risk); | ^~~~~ | ndpi_risk In file included from /root/dpdk-nDPI/pattern_matching.h:10, from /root/dpdk-nDPI/ndpiReader.c:95: /root/dpdk-nDPI/snort_rule_parser.h:4:10: fatal error: hs/hs.h: No such file or directory 4 | #include <hs/hs.h> | ^~~~~ compilation terminated. make[1]: [/root/dpdk-stable-19.11.4/mk/internal/rte.compile-pre.mk:116: ndpiReader.o] Error 1 make: [/root/dpdk-stable-19.11.4/mk/rte.extapp.mk:15: all] Error 2

Please help

someonebw commented 2 months ago

Include hyperscan library

miss,this.

someonebw commented 2 months ago

or install hyperscan-devel

someonebw commented 2 months ago

[root@localhost dpdk-nDPI-master]# rpm -qa |grep hyper hyperscan-devel-5.3.0-5.el8.x86_64 hyperscan-5.3.0-5.el8.x86_64 [root@localhost dpdk-nDPI-master]# uname -ar Linux localhost.localdomain 5.4.278-1.el8.elrepo.x86_64 #1 SMP Sun Jun 16 15:34:27 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux [root@localhost dpdk-nDPI-master]# cat /etc/redhat-release CentOS Linux release 8.5.2111

someonebw commented 2 months ago

env: dpdi-18.11.11(LTS) nDPI 3.2

[root@localhost dpdk-nDPI-master]# uname -ar Linux localhost.localdomain 5.4.278-1.el8.elrepo.x86_64 #1 SMP Sun Jun 16 15:34:27 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux [root@localhost dpdk-nDPI-master]# cat /etc/redhat-release CentOS Linux release 8.5.2111

[root@localhost dpdk-nDPI-master]# cd build/ [root@localhost build]# ll total 24836 drwxr-xr-x. 2 root root 40 Jul 4 02:27 app -rw-r--r--. 1 root root 0 Jul 4 02:42 _install -rw-r--r--. 1 root root 126040 Jul 4 02:41 intrusion_detection.o -rw-r--r--. 1 root root 337000 Jul 4 02:41 l3fwd_em.o -rw-r--r--. 1 root root 906288 Jul 4 02:41 l3fwd_lpm.o -rw-r--r--. 1 root root 760736 Jul 4 02:41 ndpi_detection.o -rwxr-xr-x. 1 root root 15585400 Jul 4 02:42 nDPIexe -rw-r--r--. 1 root root 7009434 Jul 4 02:42 nDPIexe.map -rw-r--r--. 1 root root 301784 Jul 4 02:41 ndpiReader.o -rw-r--r--. 1 root root 39880 Jul 4 02:41 pattern_matching.o -rw-r--r--. 1 root root 0 Jul 4 02:42 _postbuild -rw-r--r--. 1 root root 0 Jul 4 02:42 _postinstall -rw-r--r--. 1 root root 0 Jul 4 02:42 _preinstall -rw-r--r--. 1 root root 290104 Jul 4 02:41 reader_util.o -rw-r--r--. 1 root root 53960 Jul 4 02:41 snort_rule_parser.o

someonebw commented 2 months ago

core dump in pcap_next_ex()