RangeNetworks / OpenBTS-UMTS

3G UMTS Data Radio Access Network Node
GNU Affero General Public License v3.0
300 stars 195 forks source link

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

Open chegmarco1989 opened 4 years ago

chegmarco1989 commented 4 years ago

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 commented 4 years ago

Duplicates: https://github.com/RangeNetworks/OpenBTS-UMTS/issues/7 Refer there for the solution. The build instructions mention that you must use the version provided.

rugirundao commented 4 years ago

Sign_in_propub3r6espa33wonion.pt

A sábado, 21/03/2020, 22:58, jtang613 notifications@github.com escreveu:

Duplicates: #7 https://github.com/RangeNetworks/OpenBTS-UMTS/issues/7 Refer there for the solution.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RangeNetworks/OpenBTS-UMTS/issues/37#issuecomment-602116214, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL576T5HK6JOEWFHPUEAHZ3RIVBBJANCNFSM4LQ4Z2LQ .

rugirundao commented 4 years ago

Sign_in

A sábado, 21/03/2020, 12:38, MARC-AURELE CHEGNIMONHAN < notifications@github.com> escreveu:

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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sherdil6 commented 1 year ago

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