Are you using Asterisk 1.8? If so, you should checkout the asterisk_1_8
branch of LCR. LCR git was down, it is now back up at a slightly different
location,
git://git.misdn.org/lcr.git/. mISDN and mISDNuser git are also at
the new path.
HTH,
Caleb
From: openbsc-bounces(a)lists.gnumonks.org
[mailto:openbsc-bounces@lists.gnumonks.org] On Behalf Of jason mercury
Sent: Thursday, December 23, 2010 8:15 AM
To: openbsc(a)lists.gnumonks.org
Subject: OpenBSC+LCR+Asterisk installation problem
Hi,
I am trying to install a OpenBSC+LCR+Asterisk system according to the how to
send to the mail list by Konrad Meier on Tue Oct 12 18:27:33 2010. During
installation of LCR I got following error:
make[1]: Entering directory `/home/idb/openbsc/lcr'
gcc -DWITH_GSM_BS -I./openbsc/include -I./libosmocore/include -I./openbsc
-Wall -DCONFIG_DATA="\"/usr/local/lcr\""
-DSHARE_DATA="\"/usr/local/lcr\""
-DLOG_DIR="\"/usr/local/lcr\""
-DEXTENSION_DATA="\"/usr/local/lcr/extensions\"" -D_GNU_SOURCE -fPIC
-c
chan_lcr.c -o chan_lcr.po
chan_lcr.c: In function 'lcr_indicate':
chan_lcr.c:2274: warning: assignment from incompatible pointer type
chan_lcr.c:2289: warning: assignment from incompatible pointer type
chan_lcr.c:2316: warning: assignment from incompatible pointer type
chan_lcr.c:2381: error: dereferencing pointer to incomplete type
chan_lcr.c:2382: error: dereferencing pointer to incomplete type
chan_lcr.c: In function 'load_module':
chan_lcr.c:2818: 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/idb/openbsc/lcr'
make: *** [all] Error 2
Why is this occur? My ubuntu kernel is 2.6.32-24-generic and i exactly
followed the steps. I am attaching that how to again.
I also couldn't git check out OpenBSC, LCR , mISDN, mISDNuser and i download
them from
http://www.linux-call-router.de/download/lcr-1.7/. I want to ask
that why i can't git clone. When i try to git clone i take following:
git clone
git://git.misdn.org/git/lcr.git/
Initialized empty Git repository in /home/idb/op/lcr/.git/
fatal: The remote end hung up unexpectedly
If any you have idea please help.
Thanks.
Jason.