Open yondonjamts0 opened 7 years ago
Try doing make with usrp connected
You will need to compile and install the asn1c package which is located in the top directory of the checkout. It is needed to prepare the ASN files.
$ tar zxf asn1c-0.9.23.tar.gz
$ cd vlm-asn1c-0959ffb
$ ./configure
$ make
$ sudo make install
I'm getting similar issues, but I am using the asn1c provided
/bin/bash ../libtool --tag=CXX --mode=compile g++-4.8 -DHAVE_CONFIG_H -I. -I.. -D'REPO_REV="d528034ac8 CommonLibs:d528034ac8"' -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 -I../TransceiverRAD1 -g -O3 -Wall -pthread -ldl -DTIMESTAMP_ISO=`date +'"%Y-%m-%dT%H:%M:%S"'` -MT libUMTS_la-URRCMessages.lo -MD -MP -MF .deps/libUMTS_la-URRCMessages.Tpo -c -o libUMTS_la-URRCMessages.lo `test -f 'URRCMessages.cpp' || echo './'`URRCMessages.cpp
libtool: compile: g++-4.8 -DHAVE_CONFIG_H -I. -I.. "-DREPO_REV=\"d528034ac8 CommonLibs:d528034ac8\"" -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 -I../TransceiverRAD1 -g -O3 -Wall -pthread -ldl -DTIMESTAMP_ISO=\"2020-03-23T23:43:02\" -MT libUMTS_la-URRCMessages.lo -MD -MP -MF .deps/libUMTS_la-URRCMessages.Tpo -c URRCMessages.cpp -fPIC -DPIC -o .libs/libUMTS_la-URRCMessages.o
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:38:23: error: redefinition of ‘struct ASN::TFC_SubsetList::<anonymous struct>::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: error: previous definition of ‘struct ASN::TFC_SubsetList::<anonymous struct>::TFC_SubsetList__Member’
A_SEQUENCE_OF(struct TFC_SubsetList__Member {
$ /usr/local/bin/asn1c -h
ASN.1 Compiler, v0.9.23
Copyright (c) 2003, 2004, 2005, 2006 Lev Walkin <vlm@lionet.info>
Usage: asn1c [options] file ...
Options:
Hi, I have the next error message:
../libtool: eval: line 4890: unexpected EOF while looking for matching "' ../libtool: eval: line 4891: syntax error: unexpected end of file make[2]: *** [Makefile:266: libasn1parser.la] Error 2 make[2]: Leaving directory '/home/hermes/trabajo/OpenBTS-UMTS/vlm-asn1c-0959ffb/libasn1parser' make[1]: *** [Makefile:302: all-recursive] Error 1 make[1]: Leaving directory '/home/hermes/trabajo/OpenBTS-UMTS/vlm-asn1c-0959ffb' make: *** [Makefile:213: all] Error 2 root@hermesVM:/home/hermes/trabajo/OpenBTS-UMTS/vlm-asn1c-0959ffb# make install Making install in libasn1parser make[1]: Entering directory '/home/hermes/trabajo/OpenBTS-UMTS/vlm-asn1c-0959ffb/libasn1parser' /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wshadow -Wcast-qual -Wcast-align -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -all-static -o libasn1parser.la asn1parser.lo asn1p_y.lo asn1p_l.lo asn1p_module.lo asn1p_oid.lo asn1p_value.lo asn1p_expr.lo asn1p_xports.lo asn1p_constr.lo asn1p_param.lo asn1p_class.lo asn1p_ref.lo ../libtool: eval: line 4890: unexpected EOF while looking for matching
"'
../libtool: eval: line 4891: syntax error: unexpected end of file
make[1]: [Makefile:266: libasn1parser.la] Error 2
make[1]: Leaving directory '/home/hermes/trabajo/OpenBTS-UMTS/vlm-asn1c-0959ffb/libasn1parser'
make: [Makefile:302: install-recursive] Error 1
:(
I followed for installation guide and I've faced "make" error.
Terminal messages are below
heis@heis-MacBookPro:~/OpenBTS-UMTS$ make make all-recursive make[1]: Entering directory
/home/heis/OpenBTS-UMTS' Making all in config make[2]: Entering directory
/home/heis/OpenBTS-UMTS/config' make[2]: Nothing to be done forall'. make[2]: Leaving directory
/home/heis/OpenBTS-UMTS/config' Making all in ASN make[2]: Entering directory/home/heis/OpenBTS-UMTS/ASN' mkdir o mkdir: cannot create directory ‘o’: File exists make[2]: [o/DL-DCCH-Message.c] Error 1 (ignored) cd o && asn1c -fcompound-names -pdu=auto -gen-PER ../rrc.asn1 /bin/sh: 1: asn1c: not found make[2]: *** [o/DL-DCCH-Message.c] Error 127 make[2]: Leaving directory
/home/heis/OpenBTS-UMTS/ASN' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/home/heis/OpenBTS-UMTS' make: [all] Error 2What should I do? Any ideas?