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

build from src : /root/source/ss7MAPer/deps/osmo_ss7/src/isup_codec.erl:46: function_clause #43

Open
mhmdchebbi opened this issue Jul 23, 2019 · 0 comments

Comments

@mhmdchebbi
Copy link

hi

i got this error when building ss7maper on debian stretch:

==> pkt (compile)
==> epcap (compile)
==> rel (compile)
==> osmo_ss7 (compile)
*** ERROR in parse_transform function:
*** Reason = function_clause
*** Location: {exprecs,403}
*** type = function
*** context = {context,isup_codec,undefined,undefined}
*** acc = {pass1,
[party_number,isup_msg],
false,
[{isup_msg,
[{typed_record_field,
{record_field,111,{atom,111,msg_type}},
{type,111,non_neg_integer,[]}},
{typed_record_field,
{record_field,112,{atom,112,cic}},
{user_type,112,isup_cic,[]}},
{typed_record_field,
{record_field,113,{atom,113,parameters}},
{type,113,list,[]}}]},
{party_number,
[{record_field,99,{atom,99,nature_of_addr_ind}},
{record_field,100,{atom,100,internal_net_num}},
{record_field,101,{atom,101,number_incompl_ind}},
{record_field,102,{atom,102,numbering_plan}},
{record_field,103,{atom,103,present_restrict}},
{record_field,104,{atom,104,screening_ind}},
{record_field,105,{atom,105,phone_number}}]}]}
*** form = {function,46,parse_isup_party,3,
[{clause,46,
[{bin,46,[]},{var,46,'OddEven'},{var,46,'DigitList'}],
[],
[{'case',48,
{var,48,'OddEven'},
[{clause,49,
[{integer,49,1}],
[],
[{call,50,
{remote,50,{atom,50,lists},{atom,50,sublist}},
[{var,50,'DigitList'},
{op,50,'-',
{call,50,{atom,50,length},[{var,50,'DigitList'}]},
{integer,50,1}}]}]},
{clause,51,
[{integer,51,0}],
[],
[{var,52,'DigitList'}]}]}]},
{clause,54,
[{var,54,'BcdBin'},
{var,54,'OddEven'},
{var,54,'DigitList'}],
[],
[{match,55,
{bin,55,
[{bin_element,55,
{var,55,'Second'},
{integer,55,4},
default},
{bin_element,55,
{var,55,'First'},
{integer,55,4},
default},
{bin_element,55,{var,55,'Remain'},default,[binary]}]},
{var,55,'BcdBin'}},
{match,56,
{var,56,'NewDigits'},
{cons,56,
{var,56,'First'},
{cons,56,{var,56,'Second'},{nil,56}}}},
{call,57,
{atom,57,parse_isup_party},
[{var,57,'Remain'},
{var,57,'OddEven'},
{op,57,'++',
{var,57,'DigitList'},
{var,57,'NewDigits'}}]}]}]}
/root/source/ss7MAPer/deps/osmo_ss7/src/isup_codec.erl:46: function_clause
Compiling /root/source/ss7MAPer/deps/osmo_ss7/src/isup_codec.erl failed:
ERROR: compile failed while processing /root/source/ss7MAPer/deps/osmo_ss7: rebar_abort

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

1 participant