Open Chris-Ariel opened 5 years ago
Hi,
can you give me the output of:
best
/daniel
after following @Chris-Ariel make i end up getting this
./rebar shell ==> ss7MAPer (shell) ERROR: shell failed while processing /root/ss7MAPer: {'EXIT',{{badmatch,{error,bad_directory}}, [{rebar_shell,shell,2,[{file,"src/rebar_shell.erl"},{line,43}]}, {rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,493}]}, {rebar_core,execute,6,[{file,"src/rebar_core.erl"},{line,418}]}, {rebar_core,maybe_execute,8, [{file,"src/rebar_core.erl"},{line,302}]}, {rebar_core,process_dir1,7,[{file,"src/rebar_core.erl"},{line,261}]}, {rebar_core,process_commands,2, [{file,"src/rebar_core.erl"},{line,93}]}, {rebar,main,1,[{file,"src/rebar.erl"},{line,58}]}, {escript,run,2,[{file,"escript.erl"},{line,757}]}]}}
when i run ./bin/ss7MAPer console
i got this bash: ./bin/ss7MAPer: No such file or directory
how can this be fixed, and thanks chris your make really help me get somewhere
Hi,
please do not hijack issues, but open a new one instead.
best
/d
Thanks for your reply!
root@root:~# uname -a Linux root 4.14.0-kali3-amd64 #1 SMP Debian 4.14.12-2kali1 (2018-01-08) x86_64 GNU/Linux
root@root:~# erl -version Erlang (ASYNC_THREADS,HIPE) (BEAM) emulator version 7.3
Hi,
this seems to be a known bug when running erlang binaries on older cpus (without sse2). You can fix this by building your erlang from source and configure it with --enable-ethread-pre-pentium4-compatibility (see http://erlang.2086793.n4.nabble.com/R14B-Illegal-instruction-td2544273.html).
best
/daniel
Bro, I find even in Docker ,It has the same issue: Should I rebuild the Erlang Env? …… I have rebuild the Erlang with option --enable-ethread-pre-pentium4-compatibility,but it does not work. In my host,it appears the same issue:
Looking forward for your response,Thank you.
I have tried to rebuild Erlang with options "./configure --prefix=/opt/erlang --without-javac --enable-smp-support --enable-threads --enable-m64-build", it does not work neither.Pop put the same issue when I start the ss7Maper program. Anything help? Thanks! Or I wanna to know what is the apropriate machine to run this program,the preliminary condition of a machine.
==> root (compile)
root@kali:~/ss7MAPer# ./bin/ss7MAPer console Exec: /root/ss7MAPer/erts-7.3/bin/erlexec -boot /root/ss7MAPer/releases/1/ss7MAPer -mode embedded -config /root/ss7MAPer/releases/1/sys.config -args_file /root/ss7MAPer/releases/1/vm.args -- console Root: /root/ss7MAPer Illegal instruction
Erlang == 18.3 kali
how to solve the problem