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@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(a)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.