osmo-bts Installation Issue

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Ron ron.menez at entropysolution.com
Tue Apr 4 05:11:10 UTC 2017


Hi All,

Requesting your help regarding the case that we had encountered during the installation of osmo-bts using UBUNTU 14.04 as OS.

Without using the 201509-fairwaves-rebase, the installation go past through. Unfortunately, there is no “osmo-bts-trx” executable. Below are the steps we followed for the installation of osmo-bts.

cd /opt/osmo/src/
git clone git://git.osmocom.org/osmo-bts
cd osmo-bts
autoreconf -fi
./configure
make -j5
make check
make install

We tried using the 201509-fairwaves-rebase, but unfortunately the installation stops and an error was encountered during the “make” process. Below are the installation steps and error encountered:

cd /opt/osmo/src/
git clone git://git.osmocom.org/osmo-bts
cd osmo-bts
git checkout 201509-fairwaves-rebase
autoreconf -fi
./configure --enable-trx
make

Error encountered:

make[2]: Entering directory `/opt/osmo/src/osmo-bts/src'
Making all in common
make[3]: Entering directory `/opt/osmo/src/osmo-bts/src/common'
  CC       gsm_data_shared.o
  CC       sysinfo.o
  CC       logging.o
  CC       abis.o
abis.c: In function ‘abis_open’:
abis.c:233:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  bts_dev_info.unit_name = model_name;
                         ^
abis.c:236:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  bts_dev_info.location2 = model_name;
                         ^
  CC       oml.o
oml.c:46:30: error: conflicting type qualifiers for ‘abis_nm_att_tlvdef_ipa’
 static struct tlv_definition abis_nm_att_tlvdef_ipa = {
                              ^
In file included from oml.c:33:0:
/usr/local/include/osmocom/gsm/abis_nm.h:37:36: note: previous declaration of ‘abis_nm_att_tlvdef_ipa’ was here
 extern const struct tlv_definition abis_nm_att_tlvdef_ipa;
                                    ^
oml.c:373:6: error: nested redefinition of ‘enum abis_nm_t200_idx’
 enum abis_nm_t200_idx {
      ^
oml.c:373:6: error: redeclaration of ‘enum abis_nm_t200_idx’
In file included from oml.c:32:0:
/usr/local/include/osmocom/gsm/protocol/gsm_12_21.h:647:6: note: originally defined here
 enum abis_nm_t200_idx {
      ^
oml.c:374:2: error: redeclaration of enumerator ‘T200_SDCCH’
  T200_SDCCH  = 0,
  ^
In file included from oml.c:32:0:
/usr/local/include/osmocom/gsm/protocol/gsm_12_21.h:648:2: note: previous definition of ‘T200_SDCCH’ was here
  T200_SDCCH  = 0,
  ^
oml.c:375:2: error: redeclaration of enumerator ‘T200_FACCH_F’
  T200_FACCH_F  = 1,
  ^
In file included from oml.c:32:0:
/usr/local/include/osmocom/gsm/protocol/gsm_12_21.h:649:2: note: previous definition of ‘T200_FACCH_F’ was here
  T200_FACCH_F  = 1,
  ^
oml.c:376:2: error: redeclaration of enumerator ‘T200_FACCH_H’
  T200_FACCH_H  = 2,
  ^
In file included from oml.c:32:0:
/usr/local/include/osmocom/gsm/protocol/gsm_12_21.h:650:2: note: previous definition of ‘T200_FACCH_H’ was here
  T200_FACCH_H  = 2,
  ^
oml.c:377:2: error: redeclaration of enumerator ‘T200_SACCH_TCH_SAPI0’
  T200_SACCH_TCH_SAPI0 = 3,
  ^
In file included from oml.c:32:0:
/usr/local/include/osmocom/gsm/protocol/gsm_12_21.h:651:2: note: previous definition of ‘T200_SACCH_TCH_SAPI0’ was here
  T200_SACCH_TCH_SAPI0 = 3,
  ^
oml.c:378:2: error: redeclaration of enumerator ‘T200_SACCH_SDCCH’
  T200_SACCH_SDCCH = 4,
  ^
In file included from oml.c:32:0:
/usr/local/include/osmocom/gsm/protocol/gsm_12_21.h:652:2: note: previous definition of ‘T200_SACCH_SDCCH’ was here
  T200_SACCH_SDCCH = 4,
  ^
oml.c:379:2: error: redeclaration of enumerator ‘T200_SDCCH_SAPI3’
  T200_SDCCH_SAPI3 = 5,
  ^
In file included from oml.c:32:0:
/usr/local/include/osmocom/gsm/protocol/gsm_12_21.h:653:2: note: previous definition of ‘T200_SDCCH_SAPI3’ was here
  T200_SDCCH_SAPI3 = 5,
  ^
oml.c:380:2: error: redeclaration of enumerator ‘T200_SACCH_TCH_SAPI3’
  T200_SACCH_TCH_SAPI3 = 6
  ^
In file included from oml.c:32:0:
/usr/local/include/osmocom/gsm/protocol/gsm_12_21.h:654:2: note: previous definition of ‘T200_SACCH_TCH_SAPI3’ was here
  T200_SACCH_TCH_SAPI3 = 6
  ^
make[3]: *** [oml.o] Error 1
make[3]: Leaving directory `/opt/osmo/src/osmo-bts/src/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/osmo/src/osmo-bts/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/osmo/src/osmo-bts'
make: *** [all] Error 2

We followed the installation process from the URLs below:
https://osmocom.org/projects/cellular-infrastructure/wiki/Ettus_USRP_B2xx_family
https://osmocom.org/projects/cellular-infrastructure/wiki/Build_from_source

Best Regards,

Ron Rylan B. Menez
Operations Manager
+63 998 989 7973
+63 2 893 1781

[cid:D7861C66-51ED-4DB6-B9ED-BADEB28148EC]

Singapore * Philippines
Products:
Gridloc*Intelle*Hype*Lighthouse*Telco Services*Software Development
This email (including any attachment to it) is confidential and intended only for the use of the individual named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message (including any attachment to it). Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20170404/4dece29e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7861C66-51ED-4DB6-B9ED-BADEB28148EC.png
Type: image/png
Size: 7117 bytes
Desc: D7861C66-51ED-4DB6-B9ED-BADEB28148EC.png
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20170404/4dece29e/attachment.png>


More information about the OpenBSC mailing list