2016-08-02 6 views
0

Ich versuche, das Paket ernw_ss7MAPer zu installieren. In der Readme-Datei, die es einige Tutorial, aber in letzten Befehl (für sie bauen: sudo ./rebar co) Ich habe folgendes Problem:Fehler während der Installation ernw/ss7MAPer

==> pkt (compile) 
==> epcap (compile) 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:34: can't find include file "pkt.hrl" 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:94: record ether undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:95: record ipv4 undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:99: record ether undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:100: record ipv4 undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:103: record ipv4 undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:159: record tcp undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:161: variable 'Seqno' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:162: variable 'Ackno' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:163: variable 'Win' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:164: record udp undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:165: variable 'Ulen' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:166: record icmp undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:167: variable 'Type' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:168: variable 'Code' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:172: variable 'SPort' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:172: record tcp undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:173: variable 'SPort' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:173: record udp undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:174: variable 'DPort' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:174: record tcp undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:175: variable 'DPort' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:175: record udp undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:189: record tcp undefined 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:192: variable 'ACK' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:192: variable 'CWR' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:192: variable 'ECE' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:192: variable 'FIN' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:192: variable 'PSH' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:192: variable 'RST' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:192: variable 'SYN' is unbound 
/home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl:192: variable 'URG' is unbound 
Compiling /home/user/Desktop/ss7mapper/deps/epcap/src/sniff.erl failed: 
ERROR: compile failed while processing /home/user/Desktop/ss7mapper/deps/epcap: rebar_abort 

Wie kann ich dieses Problem beheben? Ich möchte auch sagen, dass pkt.hrl ‚s Lage ss7mapper/deps/pkt/include/pkt.hrl

Antwort

0

kopieren Sie einfach die pkt.hrl von diesem Weg

ss7MAPer/deps/pkt/include

zu

ist

ss7MAPer/deps/epcap/include