New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling from source Debian 7 #51
Comments
@pcmerc seems that different versons of libnetfilter_queue have different prototypes for the nfq_get_payload() function. We'll discuss about this issue shortly. |
@pcmerc I have just compiled on Debian 7.7 and it compiles flawlessly. |
I've the same issue there ! src/NetfilterInterface.cpp: In function 'int netfilter_callback(nfq_q_handle_, nfgenmsg_, nfq_data_, void_)': |
Same as above: no problem on debian 7.7 |
I've removed nDPI & updated to the latest GIT version. I am still receiving the same error & I'm running the latest deb 7 release. src/NetfilterInterface.cpp: In function ‘int netfilter_callback(nfq_q_handle_, nfgenmsg_, nfq_data_, void_)’: |
Loading up a fresh instance to verify the build failure. |
New compile on fresh build of debian 7.8 running now |
echo "deb http://ftp.de.debian.org/debian wheezy-backports main" > /etc/apt/sources.list.d/backports.list mkdir /usr/xxx cd nDPI cd ../ntopng 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_)’: Please explain your build environment |
Same issue, have to remove libnetfilter-queue-dev package to compile on Debian 7.8 |
Please send us a patch for inclusion. I do not use Debian, |
is there any solution? I have the same problem |
Said that we are working at packaging Debian .deb I see the the latest version is 8.2, so in no case we will support v7. Please start moving to 8x. |
Thanks for the answer but I do not use Debian, I use Gentoo. But this error is because of what? It is missing some plug upgrade? Or the version of the kernel? regards |
Your netfilter library is too old as the API has changed. We cannot support all Linux distro and multiple versions of them. You need to help yourself and send us a patch, or move to a distribution we use and support. |
I was able to get it working on 7 by building an updated deb for a dependency. Works for me on both 7 & 8 :D John~
|
Note that we release Debian 8 binaries: http://packages.ntop.org/apt/ |
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
The text was updated successfully, but these errors were encountered: