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

Please help me about this "Make" Error on my Ubuntu 16.04 LTS. #37

Open
chegmarco1989 opened this issue Mar 21, 2020 · 4 comments
Open

Comments

@chegmarco1989
Copy link

Hello all.

I'm trying to compile OpenBTS-UMTS. I have already:

asn1c
libtool-bin

By launching the command "make", it has long compiled and about an hour afterwards, it returns me this type of error below:

make[2] : on quitte le répertoire « /home/chegmarco/Documents/OpenBTS-UMTS/NodeManager »
Making all in apps
make[2] : on entre dans le répertoire « /home/chegmarco/Documents/OpenBTS-UMTS/apps »
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -g -O3 -Wall -pthread -ldl -DTIMESTAMP_ISO=`date +'"%Y-%m-%dT%H:%M:%S"'`    -o OpenBTS-UMTS OpenBTS_UMTS-OpenBTS-UMTS.o OpenBTS_UMTS-GetConfigurationKeys.o ../Globals/libglobals.la ../CLI/libcli.la ../TRXManager/libtrxmanager.la ../SIP/libSIP.la ../UMTS/libUMTS.la ../Control/libcontrol.la ../SGSNGGSN/libSGSNGGSN.la ../ASN/libRRCASN.la ../GSM/libGSM.la ../SMS/libSMS.la ../NodeManager/libnodemanager.la -lzmq -losipparser2 -losip2 -lortp -lpthread -lrt ../CommonLibs/libcommon.la -lzmq 
libtool: link: g++ -g -O3 -Wall -pthread -DTIMESTAMP_ISO=\"2020-03-21T11:37:02\" -o OpenBTS-UMTS OpenBTS_UMTS-OpenBTS-UMTS.o OpenBTS_UMTS-GetConfigurationKeys.o  ../Globals/.libs/libglobals.a ../CLI/.libs/libcli.a ../TRXManager/.libs/libtrxmanager.a ../SIP/.libs/libSIP.a ../UMTS/.libs/libUMTS.a ../Control/.libs/libcontrol.a ../SGSNGGSN/.libs/libSGSNGGSN.a ../ASN/.libs/libRRCASN.a ../GSM/.libs/libGSM.a ../SMS/.libs/libSMS.a ../NodeManager/.libs/libnodemanager.a /usr/lib/x86_64-linux-gnu/libosipparser2.so /usr/lib/x86_64-linux-gnu/libosip2.so -lortp -lpthread -lrt ../CommonLibs/.libs/libcommon.a -ldl /usr/lib/x86_64-linux-gnu/libsqlite3.so -lzmq -pthread
../ASN/.libs/libRRCASN.a(BOOLEAN.o): In function `BOOLEAN__xer_body_decode':
/home/chegmarco/Documents/OpenBTS-UMTS/ASN/o/BOOLEAN.c:164: undefined reference to `xer_is_whitespace'
collect2: error: ld returned 1 exit status
Makefile:502 : la recette pour la cible « OpenBTS-UMTS » a échouée
make[2]: *** [OpenBTS-UMTS] Erreur 1
make[2] : on quitte le répertoire « /home/chegmarco/Documents/OpenBTS-UMTS/apps »
Makefile:550 : la recette pour la cible « all-recursive » a échouée
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /home/chegmarco/Documents/OpenBTS-UMTS »
Makefile:481 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
root@Cheg:/home/chegmarco/Documents/OpenBTS-UMTS#

Please help me resolve this type of error.

@jtang613
Copy link

jtang613 commented Mar 21, 2020

Duplicates: #7
Refer there for the solution. The build instructions mention that you must use the version provided.

@rugirundao
Copy link

rugirundao commented Mar 22, 2020 via email

@rugirundao
Copy link

rugirundao commented Mar 22, 2020 via email

@sherdil6
Copy link

Hi, I am also getting this error during compilation. Tried to install multiple bitvector libraries and packages but not going beyond this error. Any solutions please?

make[2]: Entering directory '/home/msk/Desktop/Apps/TEST/OpenBTS-UMTS/CommonLibs' g++ -DHAVE_CONFIG_H -I. -I.. -D'REPO_REV="fd69fb2e64 CommonLibs:fd69fb2e64"' -I../CommonLibs -I../Control -I../GSM -I../UMTS -I../SGSNGGSN -I../ASN/o -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI -I../NodeManager -I../NodeManager/JsonBox-0.4.3/include -g -O3 -Wall -pthread -ldl -DTIMESTAMP_ISO=date +'"%Y-%m-%dT%H:%M:%S"' -MT BitVectorTest.o -MD -MP -MF .deps/BitVectorTest.Tpo -c -o BitVectorTest.o BitVectorTest.cpp In file included from MemoryLeak.h:18, from BitVector.h:20, from BitVectorTest.cpp:17: ScalarTypes.h: In member function ‘bool Bool_i<Init>::operator++()’: ScalarTypes.h:26:42: error: use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++17 26 | Basetype operator++() { return ++value; } \ | ^~~~~ ScalarTypes.h:38:17: note: in expansion of macro ‘_INITIALIZED_SCALAR_FUNCS’ 38 | _INITIALIZED_SCALAR_FUNCS(Classname_i,Basetype,Init) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ScalarTypes.h:58:1: note: in expansion of macro ‘_DECLARE_SCALAR_TYPE’ 58 | _DECLARE_SCALAR_TYPE(Bool_i, Bool_z, bool) | ^~~~~~~~~~~~~~~~~~~~ ScalarTypes.h: In member function ‘bool Bool_i<Init>::operator++(int)’: ScalarTypes.h:27:43: error: use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++17 27 | Basetype operator++(int) { return value++; } \ | ^~~~~ ScalarTypes.h:38:17: note: in expansion of macro ‘_INITIALIZED_SCALAR_FUNCS’ 38 | _INITIALIZED_SCALAR_FUNCS(Classname_i,Basetype,Init) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ScalarTypes.h:58:1: note: in expansion of macro ‘_DECLARE_SCALAR_TYPE’ 58 | _DECLARE_SCALAR_TYPE(Bool_i, Bool_z, bool) | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:694: BitVectorTest.o] Error 1 make[2]: Leaving directory '/home/msk/Desktop/Apps/TEST/OpenBTS-UMTS/CommonLibs' make[1]: *** [Makefile:552: all-recursive] Error 1 make[1]: Leaving directory '/home/msk/Desktop/Apps/TEST/OpenBTS-UMTS' make: *** [Makefile:483: all] Error 2

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

4 participants