OpenBSC+LCR problem

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

Arturo Rivas pfc.rivas at gmail.com
Mon May 14 16:58:13 UTC 2012


Thank you. I do 'make' in lcr but doesn't work and show this:
*
In file included from /usr/include/asterisk/astobj2.h:20,
                 from /usr/include/asterisk/indications.h:29,
                 from chan_lcr.c:160:
/usr/include/asterisk/compat.h:93: error: expected identifier or ‘(’ before
‘__extension__’
/usr/include/asterisk/compat.h:101: error: expected identifier or ‘(’
before ‘__extension__’
/usr/include/asterisk/compat.h:101: error: expected identifier or ‘(’
before ‘)’ token
chan_lcr.c: In function ‘send_message’:
chan_lcr.c:383: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
chan_lcr.c:679:2: warning: #warning DISABLED DUE TO DOUBLE LOCKING PROBLEM
chan_lcr.c: In function ‘lcr_in_proceeding’:
chan_lcr.c:1115: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
chan_lcr.c: In function ‘lcr_in_alerting’:
chan_lcr.c:1136: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
chan_lcr.c: In function ‘lcr_in_connect’:
chan_lcr.c:1167: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
chan_lcr.c: In function ‘lcr_in_disconnect’:
chan_lcr.c:1208: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
chan_lcr.c: In function ‘lcr_in_release’:
chan_lcr.c:1242: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
chan_lcr.c: In function ‘lcr_in_information’:
chan_lcr.c:1285: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
chan_lcr.c: In function ‘lcr_in_pattern’:
chan_lcr.c:1361: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
chan_lcr.c: In function ‘lcr_in_dtmf’:
chan_lcr.c:1391: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
chan_lcr.c: In function ‘release_all_calls’:
chan_lcr.c:1655: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
chan_lcr.c: In function ‘wake_event’:
chan_lcr.c:1805: warning: ignoring return value of ‘read’, declared with
attribute warn_unused_result
chan_lcr.c: In function ‘load_module’:
chan_lcr.c:3243: warning: passing argument 2 of ‘ast_register_application2’
from incompatible pointer type
/usr/include/asterisk/module.h:427: note: expected ‘int (*)(struct
ast_channel *, void *)’ but argument is of type ‘int (*)(struct ast_channel
*, void *)’
make[1]: *** [chan_lcr.po] Error 1
make[1]: Leaving directory `/home/rivas/openbsc/lcr'
make: *** [all] Error 2*

I'm following step by step wiki tutorial and using Ubuntu 10.04. There is a
patch to apply before but doesn't work:

*rivas at ubuntu:~/openbsc/lcr$ git apply --verbose lcrOpenBSC.patchChecking
patch gsm_bs.cpp...
error: while searching for:
int bts_model_nanobts_init(void);
static struct log_target *stderr_target;

/* timer to store statistics */
#define DB_SYNC_INTERVAL    60, 0
static struct timer_list db_sync_timer;

error: patch failed: gsm_bs.cpp:39
error: gsm_bs.cpp: patch does not apply*

2012/5/14 Holger Hans Peter Freyther <holger at freyther.de>

> On 05/14/2012 06:18 PM, Arturo Rivas wrote:
> > Hi list!
>
> Dear Arturo,
>
> please move the meta-disucssion to the problem. What didn't work? What did
> you
> try? What was the result?
>
>
> h.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20120514/b6ad2a86/attachment.htm>


More information about the OpenBSC mailing list