Thank you. I do 'make' in lcr but doesn't work and show this:<br><i><br>In file included from /usr/include/asterisk/astobj2.h:20,<br>                 from /usr/include/asterisk/indications.h:29,<br>                 from chan_lcr.c:160:<br>
/usr/include/asterisk/compat.h:93: error: expected identifier or ‘(’ before ‘__extension__’<br>/usr/include/asterisk/compat.h:101: error: expected identifier or ‘(’ before ‘__extension__’<br>/usr/include/asterisk/compat.h:101: error: expected identifier or ‘(’ before ‘)’ token<br>
chan_lcr.c: In function ‘send_message’:<br>chan_lcr.c:383: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result<br>chan_lcr.c:679:2: warning: #warning DISABLED DUE TO DOUBLE LOCKING PROBLEM<br>
chan_lcr.c: In function ‘lcr_in_proceeding’:<br>chan_lcr.c:1115: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result<br>chan_lcr.c: In function ‘lcr_in_alerting’:<br>chan_lcr.c:1136: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result<br>
chan_lcr.c: In function ‘lcr_in_connect’:<br>chan_lcr.c:1167: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result<br>chan_lcr.c: In function ‘lcr_in_disconnect’:<br>chan_lcr.c:1208: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result<br>
chan_lcr.c: In function ‘lcr_in_release’:<br>chan_lcr.c:1242: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result<br>chan_lcr.c: In function ‘lcr_in_information’:<br>chan_lcr.c:1285: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result<br>
chan_lcr.c: In function ‘lcr_in_pattern’:<br>chan_lcr.c:1361: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result<br>chan_lcr.c: In function ‘lcr_in_dtmf’:<br>chan_lcr.c:1391: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result<br>
chan_lcr.c: In function ‘release_all_calls’:<br>chan_lcr.c:1655: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result<br>chan_lcr.c: In function ‘wake_event’:<br>chan_lcr.c:1805: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result<br>
chan_lcr.c: In function ‘load_module’:<br>chan_lcr.c:3243: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type<br>/usr/include/asterisk/module.h:427: note: expected ‘int (*)(struct ast_channel *, void *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’<br>
make[1]: *** [chan_lcr.po] Error 1<br>make[1]: Leaving directory `/home/rivas/openbsc/lcr'<br>make: *** [all] Error 2</i><br><br>I'm following step by step wiki tutorial and using Ubuntu 10.04. There is a patch to apply before but doesn't work:<br>
<br><i>rivas@ubuntu:~/openbsc/lcr$ git apply --verbose lcrOpenBSC.patchChecking patch gsm_bs.cpp...<br>error: while searching for:<br>int bts_model_nanobts_init(void);<br>static struct log_target *stderr_target;<br><br>/* timer to store statistics */<br>
#define DB_SYNC_INTERVAL    60, 0<br>static struct timer_list db_sync_timer;<br><br>error: patch failed: gsm_bs.cpp:39<br>error: gsm_bs.cpp: patch does not apply</i><br><br><div class="gmail_quote">2012/5/14 Holger Hans Peter Freyther <span dir="ltr"><<a href="mailto:holger@freyther.de" target="_blank">holger@freyther.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 05/14/2012 06:18 PM, Arturo Rivas wrote:<br>
> Hi list!<br>
<br>
Dear Arturo,<br>
<br>
please move the meta-disucssion to the problem. What didn't work? What did you<br>
try? What was the result?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
h.<br>
<br>
</font></span></blockquote></div><br>