You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd nDPI
./autogen.sh
./configure
make
make install
cd ../ntopng
./autogen.sh
./configure
make
Same exact error on a fresh build vm instance of Debian 7.8 w/latest updates applied
src/NetfilterInterface.cpp: In function ‘int netfilter_callback(nfq_q_handle_, nfgenmsg_, nfq_data_, void_)’:
src/NetfilterInterface.cpp:86:64: error: invalid conversion from ‘unsigned char**’ to ‘char**’ [-fpermissive]
In file included from /usr/xxx/ntopng/include/ntop_includes.h:107:0,
from src/NetfilterInterface.cpp:22:
/usr/include/libnetfilter_queue/libnetfilter_queue.h:99:12: error: initializing argument 2 of ‘int nfq_get_payload(nfq_data_, char__)’ [-fpermissive]
make: *_* [src/NetfilterInterface.o] Error 1
Please explain your build environment
The text was updated successfully, but these errors were encountered:
But as Luca stated, he built it on a debian 7.7 environment. So he must not be using the default packages. Did update his base using source or someones newer version in deb format? I have no issues compiling a newer version just trying to understand.
Ok, built some updated debs for libnetfilter-queue1 - 1.0.2
libnetfilter-queue1_1.0.2-1_amd64.deb
libnetfilter-queue-dev_1.0.2-1_amd64.deb
Compiled with no errors now. Thanks Ariava :D
echo "deb http://ftp.de.debian.org/debian wheezy-backports main" > /etc/apt/sources.list.d/backports.list
apt-get update && apt-get dist-upgrade
apt-get install git screen vim build-essential devscripts libnetfilter-queue-dev autoconf libtool libpcap-dev libjson0-dev autogen automake autoconf libtool libjsoncpp-dev
libjson-glib-dev libjson-c-dev libcurl4-openssl-dev libsqlite3-dev libgeoip-dev libxml2-dev
mkdir /usr/xxx
cd /usr/xxx
git clone https://github.com/ntop/ntopng.git
git clone https://github.com/ntop/nDPI.git
cd nDPI
./autogen.sh
./configure
make
make install
cd ../ntopng
./autogen.sh
./configure
make
Same exact error on a fresh build vm instance of Debian 7.8 w/latest updates applied
src/NetfilterInterface.cpp: In function ‘int netfilter_callback(nfq_q_handle_, nfgenmsg_, nfq_data_, void_)’:
src/NetfilterInterface.cpp:86:64: error: invalid conversion from ‘unsigned char**’ to ‘char**’ [-fpermissive]
In file included from /usr/xxx/ntopng/include/ntop_includes.h:107:0,
from src/NetfilterInterface.cpp:22:
/usr/include/libnetfilter_queue/libnetfilter_queue.h:99:12: error: initializing argument 2 of ‘int nfq_get_payload(nfq_data_, char__)’ [-fpermissive]
make: *_* [src/NetfilterInterface.o] Error 1
Please explain your build environment
The text was updated successfully, but these errors were encountered: