Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need help ? boolean error #28

Open
muratoznn opened this issue Apr 12, 2019 · 3 comments
Open

need help ? boolean error #28

muratoznn opened this issue Apr 12, 2019 · 3 comments

Comments

@muratoznn
Copy link

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 ‘ASN__ENCODE_FAILED’?
if(!st) _ASN_ENCODE_FAILED;
^~~~~~~~~~~~~~~~~~
ASN__ENCODE_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 ‘ASN__DECODE_FAILED’?
if(!st) _ASN_DECODE_FAILED;
^~~~~~~~~~~~~~~~~~
ASN__DECODE_FAILED
BOOLEAN.c:260:20: error: ‘_ASN_DECODE_STARVED’ undeclared (first use in this function); did you mean ‘ASN__DECODE_STARVED’?
case -1: default: _ASN_DECODE_STARVED;
^~~~~~~~~~~~~~~~~~~
ASN__DECODE_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 ‘ASN__ENCODE_FAILED’?
if(!st) _ASN_ENCODE_FAILED;
^~~~~~~~~~~~~~~~~~
ASN__ENCODE_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

@muratoznn
Copy link
Author

please help nobody know this error ?

@maceyldn
Copy link

Using the wrong version of the asn compiler.... compile/install the one included in the repo

@tranzmatt
Copy link

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::::TFC_SubsetList__Member’
A_SEQUENCE_OF(struct TFC_SubsetList__Member {
^
../ASN/o/asn_SET_OF.h:17:16: note: in definition of macro ‘A_SET_OF’
void (*free)(type *);
^~~~
../ASN/o/TFC-SubsetList.h:38:2: note: in expansion of macro ‘A_SEQUENCE_OF’
A_SEQUENCE_OF(struct TFC_SubsetList__Member {
^~~~~~~~~~~~~
../ASN/o/TFC-SubsetList.h:38:23: note: previous definition of ‘struct ASN::TFC_SubsetList::::TFC_SubsetList__Member’
A_SEQUENCE_OF(struct TFC_SubsetList__Member {

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

No branches or pull requests

3 participants