chifflier / nflog-bindings Goto Github PK
View Code? Open in Web Editor NEWNetfilter NFLOG high-level bindings
License: GNU General Public License v3.0
Netfilter NFLOG high-level bindings
License: GNU General Public License v3.0
Since commit 84f3ec0 I'am not able to compil with the following error:
[ -d build ] || mkdir build; \
cd build && cmake -DDEBUG=1 -DCMAKE_VERBOSE_MAKEFILE=0 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local .. && make
-- Configuring done
CMake Error at /usr/share/cmake-3.0/Modules/UseSWIG.cmake:199 (add_library):
Cannot find source file:
../exception.c
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Call Stack (most recent call first):
python/CMakeLists.txt:18 (SWIG_ADD_MODULE)
-- Build files have been written to: /home/admin/Programmes/nflog-bindings/build
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 1
Is the file exception.c missing or am I missing something ?
Then I try to import nflog in python I now got this :
In [1]: import nflog
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-98fda8c4e762> in <module>()
----> 1 import nflog
/usr/local/lib/python2.7/dist-packages/nflog.py in <module>()
26 fp.close()
27 return _mod
---> 28 _nflog = swig_import_helper()
29 del swig_import_helper
30 else:
/usr/local/lib/python2.7/dist-packages/nflog.py in swig_import_helper()
22 if fp is not None:
23 try:
---> 24 _mod = imp.load_module('_nflog', fp, pathname, description)
25 finally:
26 fp.close()
ImportError: dynamic module does not define init function (init_nflog)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.