Open muratoznn opened 5 years ago
please help nobody know this error ?
Using the wrong version of the asn compiler.... compile/install the one included in the repo
I tried that, but then get a slurry of complaints:
../CommonLibs/ScalarTypes.h:58:1: note: in expansion of macro ‘_DECLARE_SCALAR_TYPE’
_DECLARE_SCALAR_TYPE(Bool_i, Bool_z, bool)
^~~~~~~~
In file included from ../ASN/o/asn_SEQUENCE_OF.h:8:0,
from ../ASN/o/IMSI-GSM-MAP.h:16,
from ../ASN/o/InitialUE-Identity.h:15,
from URRCMessages.h:23,
from URRCMessages.cpp:16:
../ASN/o/TFC-SubsetList.h: At global scope:
../ASN/o/TFC-SubsetList.h:38:23: error: redefinition of ‘struct ASN::TFC_SubsetList::~~~~
../ASN/o/TFC-SubsetList.h:38:23: note: previous definition of ‘struct ASN::TFC_SubsetList::
I take this error I tried git submodule init git submodule update ./autogen.sh ./configure make But it has same error
BOOLEAN.c: In function ‘BOOLEAN_encode_xer’: BOOLEAN.c:192:10: error: ‘_ASN_ENCODE_FAILED’ undeclared (first use in this function); did you mean ‘ASNENCODE_FAILED’? if(!st) _ASN_ENCODE_FAILED; ^
~~~~~ ASNENCODE_FAILED BOOLEAN.c:192:10: note: each undeclared identifier is reported only once for each function it appears in BOOLEAN.c: In function ‘BOOLEAN_decode_uper’: BOOLEAN.c:251:11: error: ‘_ASN_DECODE_FAILED’ undeclared (first use in this function); did you mean ‘ASNDECODE_FAILED’? if(!st) _ASN_DECODE_FAILED; ^~~~~~ ASNDECODE_FAILED BOOLEAN.c:260:20: error: ‘_ASN_DECODE_STARVED’ undeclared (first use in this function); did you mean ‘ASNDECODE_STARVED’? case -1: default: _ASN_DECODE_STARVED; ^~~~~~~ ASNDECODE_STARVED BOOLEAN.c: In function ‘BOOLEAN_encode_uper’: BOOLEAN.c:279:10: error: ‘_ASN_ENCODE_FAILED’ undeclared (first use in this function); did you mean ‘ASNENCODE_FAILED’? if(!st) _ASN_ENCODE_FAILED; ^~~~~~ ASNENCODE_FAILED make[3]: [makefile:4846: o/BOOLEAN.o] Error 1 make[3]: Leaving directory '/root/OpenBTS-UMTS/ASN' make[2]: [makefile:4803: all] Error 2 make[2]: Leaving directory '/root/OpenBTS-UMTS/ASN' make[1]: [Makefile:550: all-recursive] Error 1 make[1]: Leaving directory '/root/OpenBTS-UMTS' make: [Makefile:481: all] Error 2