Re: Setup of SnortIDS 3 for Raspbian 11
Denis Donadel via Snort-users <[email protected]>
| Newsgroups | gmane.comp.security.ids.snort.general |
|---|---|
| Message-ID | <CABvPchiiM8eS+e+2T7HhBMnyrEeR2s7mEXy9azkQ6F0rB3SN2Q@mail.gmail.com> |
Hi Vitalii, Thank you for your answer! I tried with -latomic as you suggested but nothing changed. Instead, using Raspbian 64bit version it compiles fine (so I will stick with this version). Hope this email can help Abel too. Denis Il giorno mer 4 mag 2022 alle ore 10:18 Vitalii Horbatov -X (vhorbato - SOFTSERVE INC at Cisco) <[email protected]> ha scritto: > Hi, > > have you tried adding *-latomic* to your LD_FLAGS? > If not, try doing this > > *export LD_FLAGS=”$LD_FLAGS -latomic”* > > > before building, in the terminal in which you are building snort. > > Thanks, > Vitalii! > > *From: *Snort-users <[email protected]> on behalf of > Denis Donadel via Snort-users <[email protected]> > *Date: *Wednesday, 4 May 2022, 02:15 > *To: *Al Lewis (allewi) <[email protected]> > *Cc: *Abel Aguilar <[email protected]>, [email protected] < > [email protected]> > *Subject: *Re: [Snort-users] Setup of SnortIDS 3 for Raspbian 11 > > Hi everyone, > > > > I get in the way of discussion because I have a similar problem on a > similar setup (RPi4 4Gb, Raspbian 11 32bit, snort3.1.27.0) > > In the following there is the error I received during building: > > > [ 96%] Linking CXX executable snort > > [ 96%] Building CXX object > tools/snort2lua/preprocessor_states/CMakeFiles/preprocessor_states.dir/pps_gtp.cc.o > ... > [ 97%] Building CXX object > tools/snort2lua/preprocessor_states/CMakeFiles/preprocessor_states.dir/pps_sip.cc.o > /usr/bin/ld: > service_inspectors/dce_rpc/CMakeFiles/dce_rpc.dir/dce_smb2_file.cc.o: in > function `std::__atomic_base<unsigned long long>::store(unsigned long long, > std::memory_order)': > /usr/include/c++/10/bits/atomic_base.h:404: undefined reference to > `__atomic_store_8' > /usr/bin/ld: > service_inspectors/dce_rpc/CMakeFiles/dce_rpc.dir/dce_smb2_file.cc.o: in > function `std::__atomic_base<unsigned long long>::load(std::memory_order) > const': > /usr/include/c++/10/bits/atomic_base.h:426: undefined reference to > `__atomic_load_8' > /usr/bin/ld: /usr/include/c++/10/bits/atomic_base.h:426: undefined > reference to `__atomic_load_8' > /usr/bin/ld: /usr/include/c++/10/bits/atomic_base.h:426: undefined > reference to `__atomic_load_8' > /usr/bin/ld: /usr/include/c++/10/bits/atomic_base.h:426: undefined > reference to `__atomic_load_8' > /usr/bin/ld: /usr/include/c++/10/bits/atomic_base.h:426: undefined > reference to `__atomic_load_8' > /usr/bin/ld: > service_inspectors/dce_rpc/CMakeFiles/dce_rpc.dir/dce_smb2_file.cc.o: in > function `std::__atomic_base<unsigned long long>::store(unsigned long long, > std::memory_order)': > /usr/include/c++/10/bits/atomic_base.h:404: undefined reference to > `__atomic_store_8' > /usr/bin/ld: > service_inspectors/dce_rpc/CMakeFiles/dce_rpc.dir/dce_smb2_file.cc.o: in > function `std::__atomic_base<unsigned long long>::load(std::memory_order) > const': > /usr/include/c++/10/bits/atomic_base.h:426: undefined reference to > `__atomic_load_8' > [ 97%] Building CXX object > tools/snort2lua/preprocessor_states/CMakeFiles/preprocessor_states.dir/pps_ssh.cc.o > ... > [ 98%] Building CXX object > tools/snort2lua/preprocessor_states/CMakeFiles/preprocessor_states.dir/pps_sfportscan.cc.o > collect2: error: ld returned 1 exit status > make[2]: *** [src/CMakeFiles/snort.dir/build.make:1729: src/snort] Error 1 > make[1]: *** [CMakeFiles/Makefile2:3143: src/CMakeFiles/snort.dir/all] > Error 2 > make[1]: *** Waiting for unfinished jobs.... > [ 98%] Building CXX object > tools/snort2lua/preprocessor_states/CMakeFiles/preprocessor_states.dir/pps_stream5_ip.cc.o > ... > [100%] Built target preprocessor_states > make: *** [Makefile:171: all] Error 2 > > > > Is there someone with a solution to this issue? Could it be a solution to > install Raspbian 64bit? > > > > Thank you in advantage, > > Denis > > > > Il giorno gio 28 apr 2022 alle ore 13:52 Al Lewis (allewi) via Snort-users > <[email protected]> ha scritto: > > What is the other error you are receiving? > > > > *Albert Lewis* > > ENGINEER.SOFTWARE ENGINEERING > > Cisco Systems Inc. > > Email: [email protected] > > > > > > > > *From: *Snort-users <[email protected]> on behalf of > Abel Aguilar via Snort-users <[email protected]> > *Reply-To: *Abel Aguilar <[email protected]> > *Date: *Wednesday, April 27, 2022 at 5:43 PM > *To: *"[email protected]" <[email protected]> > *Subject: *[Snort-users] Setup of SnortIDS 3 for Raspbian 11 > > > > Hello, i’m trying to setup snortIDS 3.1.18.0 with the snort Setup Guide > for Ubuntu 18 & 20 in my RaspberryPi with raspbianOS 11 but i can’t. > Firstly, Hyperscan gives me an error that it can't find a library, but i > omit it because is optional. And then when i’m going to install Snort, the > command of “./configure_cmake.sh” gives me another error. So is it posible > to install snort with the Ubuntu guide? > > _______________________________________________ > Snort-users mailing list > [email protected] > Go to this URL to change user options or unsubscribe: > https://lists.snort.org/mailman/listinfo/snort-users > > To unsubscribe, send an email to: > [email protected] > > Please visit http://blog.snort.org to stay current on all the latest > Snort news! > > Please follow these rules: > https://snort.org/faq/what-is-the-mailing-list-etiquette > > > > > -- > > > Denis Donadel > > [email protected] > -- Denis Donadel [email protected] _______________________________________________ Snort-users mailing list [email protected] Go to this URL to change user options or unsubscribe: https://lists.snort.org/mailman/listinfo/snort-users To unsubscribe, send an email to: [email protected] Please visit http://blog.snort.org to stay current on all the latest Snort news! Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette