Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

error ei.h #8

Closed
Eric534 opened this issue Sep 23, 2016 · 10 comments
Closed

error ei.h #8

Eric534 opened this issue Sep 23, 2016 · 10 comments

Comments

@Eric534
Copy link

Eric534 commented Sep 23, 2016

Compiling /root/Desktop/ss7MAPer/deps/epcap/c_src/epcap.c
root/Desktop/ss7MAPer/deps/epcap/c_src/epcap.c:32:16: fatal error: ei.h:No such file or directory
comoilation terminated.
ERROR:compile failed while processing /root/Desktop/ss7MAPer/deps/epcap/c_src/epcap: rebar_avort

Which file is ei.h?
erlang is 18
Ei.h is not a library file for Erlang??

@0xc0decafe
Copy link
Contributor

Hi,

the file is present in two locations on my system:

/usr/lib64/erlang/usr/include/ei.h
/usr/lib64/erlang/lib/erl_interface-3.8.2/include/ei.h

and it seams to be part of erlang.

it would be helpfull if you could tell me which operating system you are on.

cheers

@Eric534
Copy link
Author

Eric534 commented Sep 26, 2016

Hi,
My system is Linux Kali

ei.h I found it in the Erlang directory.

@Eric534
Copy link
Author

Eric534 commented Sep 26, 2016

Hi,
Can you give me a copy of your compile?
I do not know where it is not set, has been unable to compile

@Eric534
Copy link
Author

Eric534 commented Sep 27, 2016

Hi,

Can I compile static?
I might need to go somewhere else.
If every place I have installed, the process is too cumbersome

My previous error was due to the Erlang compiler environment is wrong,
but I did not find a specific error

@0xc0decafe
Copy link
Contributor

Hi,

I'm currently working on a binary release, stay tuned.

cheers

@Eric534
Copy link
Author

Eric534 commented Sep 27, 2016

Hi,

This program is not to be used in the Erlang environment.
But rebar Erlang environment I configuration is always wrong.

@0xc0decafe
Copy link
Contributor

Hi,

you can try the first binary test build, find it here:

https://c0decafe.de/tools/ss7MAPer_alpha1_linux_x64.tar.bz2

cheers

@0xc0decafe
Copy link
Contributor

Binary build released.

@OctAg0nO
Copy link

OctAg0nO commented Nov 4, 2016

running Binary build get this error

./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
/root/ss7MAPer/erts-7.3/bin/erlexec: 1: /root/ss7MAPer/erts-7.3/bin/erlexec: �ELF����: not found
/root/ss7MAPer/erts-7.3/bin/erlexec: 2: /root/ss7MAPer/erts-7.3/bin/erlexec: Syntax error: "(" unexpected

@jingxizhu
Copy link

how do you fix this Error?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants