asset-group / 5ghoul-5g-nr-attacks

GNU General Public License v2.0
484 stars 82 forks source link

Installing from source #6

Open flyguy999999 opened 6 months ago

flyguy999999 commented 6 months ago

Hello,

I keep getting this error when installing from source:

5ghoul-5g-nr-attacks/bindings/python/wdissector_wrap.cxx cd /home/user/5ghoul-5g-nr-attacks && echo -------------------SWIG----------------------- && swig -lbin -c++ -python bindings/python/wdissector.i || true && sed -i '1i import sys;sys.path.insert ( 0, "bin" ) ' bindings/python/wdissector.py && echo -------------------SWIG----------------------- -------------------SWIG----------------------- src/MiscUtils.hpp:738: Error: Nothing known about namespace 'lni' src/Machine.hpp:42: Error: Nothing known about namespace 'fmt' src/Machine.hpp:46: Error: Nothing known about namespace 'React' sed: can't read bindings/python/wdissector.py: No such file or directory [3/110] Building CXX object CMakeFiles/5g_fuzzer.dir/src/5g_fuzzer.cpp.o ninja: build stopped: subcommand failed.

Is anyone else having this issue?

Matheus-Garbelini commented 6 months ago

Hi @flyguy999999 are you using Ubuntu 18.04 to build the source code?

Unfortunately building 5Ghoul in a newer version of ubuntu can have a mismatch with the swig version of Ubuntu 18.04. Alternatively, you can use the 5ghoul development container which has all the system requirements here: docker pull megarbelini/5ghoul:dev-x86_64