Hi Pau
Once again I truly appreciate your revert. You're right. I managed to pull
the osmoBsc and compiled it together with the dependencies.
Every thing works fine until I ran 'make' which throws this struct error
In file included from gsm_04_80_utils.c:22:0:
/usr/local/include/osmocom/gsm/gsm0480.h:120:14: note: declared here
struct msgb *gsm0480_create_ussd_release_complete(void)
^
CC gsm_data.o
CC handover_cfg.o
CC handover_decision.o
CC handover_decision_2.o
CC handover_fsm.o
CC handover_logic.o
CC handover_vty.o
CC lchan_fsm.o
CC lchan_rtp_fsm.o
lchan_rtp_fsm.c: In function ‘mgcp_pick_codec’:
lchan_rtp_fsm.c:841:12: error: ‘struct mgcp_conn_peer’ has no member named
‘param_present’
verb_info->param_present = true;
^
lchan_rtp_fsm.c:842:12: error: ‘struct mgcp_conn_peer’ has no member named
‘param’
verb_info->param.amr_octet_aligned_present = true;
^
lchan_rtp_fsm.c:851:12: error: ‘struct mgcp_conn_peer’ has no member named
‘param’
verb_info->param.amr_octet_aligned = true;
^
lchan_rtp_fsm.c:854:12: error: ‘struct mgcp_conn_peer’ has no member named
‘param’
verb_info->param.amr_octet_aligned =
lchan->conn->sccp.msc->amr_octet_aligned;
^
Makefile:616: recipe for target 'lchan_rtp_fsm.o' failed
make[3]: *** [lchan_rtp_fsm.o] Error 1
make[3]: Leaving directory '/home/tyrus/osmo-bsc/src/osmo-bsc'
Makefile:405: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/tyrus/osmo-bsc/src'
Makefile:448: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/tyrus/osmo-bsc'
Makefile:380: recipe for target 'all' failed
make: *** [all] Error 2
So I have tried all weekend to debug it but unfortunately haven't made
much headway. Any leads?
Many thanks
On Mon, May 13, 2019 at 12:30 PM Pau Espin Pedrol <pespin(a)sysmocom.de>
wrote:
Hi.
On 5/10/19 10:20 AM, ty wrote:
tyrus@the-jedi-council:~/openbsc/openbsc/src/osmo-nitb$ ./osmo-nitb
.*/osmo-nitb: /usr/lib/i386-linux-gnu/libosmoctrl.so.0: no version
information available (required by ./osmo-nitb)*
*./osmo-nitb: relocation error: ./osmo-nitb: symbol ctrl_vty_init,
version LIBOSMOCTRL_1.0 not defined in file libosmoctrl.so.0 with link
time reference*
*
*
You say you installed programs from .deb but you are still running the
version of osmo-nitb from your compiled version. Use the one from
packages to avoid this kind of issues, otherwise the version you built
and the ones from the .deb packages won't much unless you really know
what you are doing.
--
- Pau Espin Pedrol <pespin(a)sysmocom.de>
http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte