frkn4129
frkn4129
i want to integrate ndpi in Go app but I couldn't do it. @srajeshinfotech did you solve the problem ?
Thank you for answering. I've made some progress struct ndpi_detection_module_struct *dissector_init(struct dissector_checker *checker) { ndpi_init_prefs init_prefs = ndpi_no_prefs; if (checker->flow_size != ndpi_detection_get_sizeof_ndpi_flow_struct()) return NULL; if (checker->id_size != ndpi_detection_get_sizeof_ndpi_id_struct()) return NULL;...
/* #cgo CFLAGS: -I/usr/local/include/ndpi -I/usr/local/lib/ #cgo LDFLAGS: -lndpi -Wl,-Bdynamic -lpcap -lm -pthread -g -fPIC -O2 /usr/local/lib/libndpi.a /usr/local/lib/libpcap.so /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so #include #include #include #include #include #include #include #include #include #include #include...
as an example i tried this
i am having the same problem. What should I do? can you help me
@kkonevets can you help me solve your problem ?
@kkonevets I was able to build but I couldn't run i run the code like this -> **g++ -std=c++17 example.cpp** , Do I need to give a different parameter?
i can't understand my code : #include using namespace clickhouse; /// Initialize client connection. Client client(ClientOptions().SetHost("localhost")); . . . **i run -> g++ -I /usr/local/include/absl -std=c++17 deneme.cpp** /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in...
i can try ***g++ -L/usr/local/lib -lclickhouse-cpp-lib -I /usr/local/include/absl -std=c++17 deneme.cpp*** but again this error /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' /usr/bin/ld: /tmp/cctXGpYn.o: in function `__static_initialization_and_destruction_0(int, int)':...
i am facing the same situation