[Snort-sigs] problem with snortsam patch

Daniel Lopez danilogo1991 at ...2420...
Fri Apr 24 15:18:30 EDT 2015

I installed snort on ubuntu 14.04 server and had it running good,
then I tried to install snortsam by following this steps:

1- I download snortsam-patch (snortsam- from
2- I applied it ( "patch -p1 <../snortsam- ") and i got this:

patching file autojunk.sh
patching file etc/snort.conf
patching file src/Makefile.am
patching file src/fatal.h
patching file src/output-plugins/Makefile.am
patching file src/output-plugins/spo_alert_fwsam.c
patching file src/output-plugins/spo_alert_fwsam.h
patching file src/plugbase.c
patching file src/plugin_enum.h
patching file src/twofish.c
patching file src/twofish.h

I think it was ok.

3- Then i ran "./autojunk.sh" and I recieved this error:

./autojunk.sh: 4: ./autojunk.sh: aclocal: not found
./autojunk.sh: 6: ./autojunk.sh: automake: not found
./autojunk.sh: 8: ./autojunk.sh: autoheader: not found
./autojunk.sh: 10: ./autojunk.sh: autoconf: not found

i installed automake packet which (i think) contains the others 3 packets.

4- then i ran autojunk.sh
5- i compiled snort again and i get this error msg:
/usr/local/src/snort_src/snort- undefined
reference to `AlertFWsamSetup'
collect2: error: ld returned 1 exit status
make[3]: *** [snort] Error 1
make[3]: Leaving directory `/usr/local/src/snort_src/snort-'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/snort_src/snort-'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/snort_src/snort-'
make: *** [all] Error 2

Could you tell me what i'm doing wrong? what can i do to fix it?

Please could you answer me asap, i need it for my thesis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-sigs/attachments/20150424/27e4d9b2/attachment.html>

More information about the Snort-sigs mailing list