OsmoBTS branch for network_from_scratch.

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/.

Andrew Back andrew at carrierdetect.com
Fri Jan 24 15:43:08 UTC 2014


Hello,

When following the network_from_scratch instructions with a Linaro
Ubuntu 12.11 host, I encountered a build error when it came to
OsmoBTS:

linaro-ubuntu-desktop:~/osmocom/osmo-bts> make
Making all in include
make[1]: Entering directory `/home/linaro/osmocom/osmo-bts/include'
Making all in osmo-bts
make[2]: Entering directory `/home/linaro/osmocom/osmo-bts/include/osmo-bts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linaro/osmocom/osmo-bts/include/osmo-bts'
make[2]: Entering directory `/home/linaro/osmocom/osmo-bts/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/linaro/osmocom/osmo-bts/include'
make[1]: Leaving directory `/home/linaro/osmocom/osmo-bts/include'
Making all in src
make[1]: Entering directory `/home/linaro/osmocom/osmo-bts/src'
Making all in common
make[2]: Entering directory `/home/linaro/osmocom/osmo-bts/src/common'
  CC     gsm_data_shared.o
  CC     sysinfo.o
  CC     logging.o
  CC     abis.o
abis.c: In function ‘abis_sock_cb’:
abis.c:360:2: warning: #warning HACK [-Wcpp]
  CC     oml.o
oml.c: In function ‘rx_oml_ipa_rsl_connect’:
oml.c:1049:17: warning: assignment from incompatible pointer type
[enabled by default]
oml.c:1053:2: warning: passing argument 1 of ‘abis_open’ from
incompatible pointer type [enabled by default]
../../include/osmo-bts/abis.h:35:5: note: expected ‘struct ipabis_link
*’ but argument is of type ‘struct e1inp_sign_link *’
  CC     bts.o
  CC     rsl.o
rsl.c:140:2: warning: #warning merge lchan_lookup with OpenBSC [-Wcpp]
rsl.c: In function ‘get_rsl_local_ip’:
rsl.c:1265:32: error: ‘struct e1inp_sign_link’ has no member named ‘bfd’
rsl.c: In function ‘rsl_rx_ipac_XXcx’:
rsl.c:1398:5: warning: initialization from incompatible pointer type
[enabled by default]
make[2]: *** [rsl.o] Error 1
make[2]: Leaving directory `/home/linaro/osmocom/osmo-bts/src/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linaro/osmocom/osmo-bts/src'
make: *** [all-recursive] Error 1
linaro-ubuntu-desktop:~/osmocom/osmo-bts>

This was resolved by building from branch jolly/trx_rebased instead of
jolly/trx. Should we now be using the rebased branch? If so I will
update the wiki.

Regards,

Andrew

-- 
Andrew Back
http://carrierdetect.com




More information about the OpenBSC mailing list