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