LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-09-2013, 09:03 AM   #1
Kean
LQ Newbie
 
Registered: Aug 2011
Posts: 24

Rep: Reputation: Disabled
ndpi-netfilter instalation


I've downloaded nDPI package (it is stored in /root/nDPI). Then, according to installation steps manual (https://github.com/ewildgoose/ndpi-n...master/INSTALL) from ndpi-netfilter patch I executed:

root@Dakara:~/ndpi-netfilter-master# NDPI_PATH=/root/nDPI/ make
make -C ipt
make[1]: Entering directory `/root/ndpi-netfilter-master/ipt'
if test -d ndpi_cpy; then \
cp /root/nDPI//src/* ndpi_cpy -R; \
else \
mkdir ndpi_cpy; \
cp /root/nDPI//src/* ndpi_cpy -R; \
fi
make libxt_ndpi.so
make[2]: Entering directory `/root/ndpi-netfilter-master/ipt'
cc -fPIC -Indpi_cpy/include -Indpi_cpy/lib -I../src -DOPENDPI_NETFILTER_MODULE -O2 -Wall -D_INIT=libxt_ndpi_init -c -o libxt_ndpi.o libxt_ndpi.c;
libxt_ndpi.c:36:34: error: 'NDPI_PROTOCOL_LONG_STRING' undeclared here (not in a function)
libxt_ndpi.c:37:35: error: 'NDPI_PROTOCOL_SHORT_STRING' undeclared here (not in a function)

libxt_ndpi.c:37:1: error: initializer element is not constant
libxt_ndpi.c:37:1: error: (near initialization for 'prot_short_str[0]')
libxt_ndpi.c: In function 'ndpi_mt_init':
libxt_ndpi.c:119:25: warning: unused variable 'info' [-Wunused-variable]
make[2]: *** [libxt_ndpi.o] Error 1
make[2]: Leaving directory `/root/ndpi-netfilter-master/ipt'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ndpi-netfilter-master/ipt'
make: *** [all] Error 2


Is it a code bug?
Do you have any idea how to install this SW?
 
Old 11-13-2014, 10:10 AM   #2
danden
LQ Newbie
 
Registered: Nov 2014
Posts: 5

Rep: Reputation: Disabled
same here

I'm having the same issue.

Quote:
root@ndpi:/usr/src/ndpi-netfilter-master# make
make -C ipt
make[1]: Entering directory `/usr/src/ndpi-netfilter-master/ipt'
if test -d ndpi_cpy; then \
cp /usr/src/nDPI/src/* ndpi_cpy -R; \
else \
mkdir ndpi_cpy; \
cp /usr/src/nDPI/src/* ndpi_cpy -R; \
fi
make libxt_ndpi.so
make[2]: Entering directory `/usr/src/ndpi-netfilter-master/ipt'
cc -fPIC -Indpi_cpy/include -Indpi_cpy/lib -I../src -DOPENDPI_NETFILTER_MODULE -O2 -Wall -D_INIT=libxt_ndpi_init -c -o libxt_ndpi.o libxt_ndpi.c;
libxt_ndpi.c:33:34: error: ‘NDPI_PROTOCOL_LONG_STRING’ undeclared here (not in a function)
libxt_ndpi.c:34:35: error: ‘NDPI_PROTOCOL_SHORT_STRING’ undeclared here (not in a function)
libxt_ndpi.c:34:1: error: initializer element is not constant
libxt_ndpi.c:34:1: error: (near initialization for ‘prot_short_str[0]’)
libxt_ndpi.c: In function ‘ndpi_mt_init’:
libxt_ndpi.c:116:25: warning: unused variable ‘info’ [-Wunused-variable]
make[2]: *** [libxt_ndpi.o] Error 1
make[2]: Leaving directory `/usr/src/ndpi-netfilter-master/ipt'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/ndpi-netfilter-master/ipt'
make: *** [all] Error 2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
netfilter sam845 Linux - Networking 6 05-24-2012 08:27 AM
Bridge Netfilter Example Sekhar417 Linux - Kernel 3 07-30-2011 01:44 AM
Netfilter Help rajaashok Linux - Kernel 1 11-22-2007 01:41 AM
Netfilter and 2.6.16.2 krizzz Slackware 8 04-13-2006 11:17 PM
Do I really need a netfilter/firewall? Trijicon Linux - Security 6 10-15-2005 05:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration