[Snort-devel] How to compile a Dynamic Preprocessor alone?

Thomas LESTRIEZ thomas.lestriez at ...3158...
Fri Apr 15 06:35:45 EDT 2011


Hi all,

Thank you Russ for your DPX package, it was exactly what I needed. 

By the way, there was only one little mistake for me: "build.sh" looked 
for "sf_dynamic_preproc_lib" in the "dynamic_example" directory, but 
actually it should be the "dynamic_preprocessor" directory in the Snort 
sources.

BUT I still have one bug I need to fix. For using your package with my 
sources, I need to modify "Makefile.am". But I think I have to modify 
"Makefile.in" too. In my case, I used my dynamic preprocessor (called 
"my_test.c") which use two others files: "my_test_lib_1.h" and 
"my_test_lib_2.h").

The error generating during the building (thanks to "build.sh") tell me 
there is no rule to build "my_test.lo", which is needed by "libmy_test.la"
I replaced libdpx.la and dpx.c in Makefile.in. Moreover, I added 
"my_test_lib_1.h" and "my_test_lib_2.h" next to  "my_test.c"  in 
Makefile.in.
I also modified Makefile.am as indicated in "README".

Could you help me again to fix this error?

Thank you.

Thomas LESTRIEZ
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20110415/9bbb8de5/attachment.html>
-------------- next part --------------



Ce message et toutes les pi?ces jointes (ci-apr?s le 'Message') sont ?tablis ? l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme ? sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.

Si vous n'?tes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez re?u ce Message par erreur, merci de le supprimer de votre syst?me, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions ?galement d'en avertir imm?diatement l'exp?diteur par retour du message.

Il est impossible de garantir que les communications par messagerie ?lectronique arrivent en temps utile, sont s?curis?es ou d?nu?es de toute erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or virus-free.


More information about the Snort-devel mailing list