Re: Libprelude with C++
Yoann Vandoorselaere <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.user |
|---|---|
| Message-ID | <1203591463.5965.101.camel@arwen> |
Hi, Le samedi 16 février 2008 à 09:31 +0100, Reinhard Fellner a écrit : > Is it possible to use the libprelude with the g++ Compiler? I wrote some > Code in C++ which worked fine, but as soon as I tried to use the > idmef_message_read function, the linker produced an error. So I took the > code and tried it with the gcc and it worked fine. Is there a way to > change the Makefile to make the code work with C++ or do I have to write > all in C? Thanks for your help, libprelude headers files use 'extern "C"' declaration, so there shouldn't be any problem compiling the code using g++ (Nepenthes, which is a C++ sensor, use libprelude). Which libprelude C headers did you include from your connection.cpp file? Additionally, we are working on true C++ bindings for libprelude. They are currently functional (although the API is not yet stabilized) and might be downloaded from this place: http://svn.prelude-ids.org/libprelude/branches/libprelude-easy-bindings Regards, -- Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies Tel: +33 (0)8 70 70 21 58 Fax: +33(0)4 78 42 21 58 http://www.prelude-ids.com _______________________________________________ Prelude-user site list [email protected] http://www.prelude-ids.org/mailman/listinfo/prelude-user