Issues compiling lcr on debian squeeze for OpenBSC/Asterisk stack

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

Don Fanning don at 00100100.net
Thu Feb 2 02:18:48 UTC 2012


Hello All,

I've been working on trying to get OpenBSC to work with Asterisk following
this as a guide:
http://openbsc.osmocom.org/trac/wiki/OpenBSC_LCR
http://www.misdn.org/index.php/Howto_for_Debian

Basically I'm missing the mISDN_l1loop kernel module.

When trying to compile from the mISDN git repository i'm getting the
following error when trying to compile

(Ubuntu - 10.04 LTS )
./configure
configure: error: kernel build tree does not exist
build:/lib/modules/2.6.32-33-generic/build /
source:/lib/modules/2.6.32-33-generic/source

(Debian - 6.06)
passes configure
when "make modules" is running
make[3]: Entering directory `/usr/src/linux-headers-2.6.32-5-686'
  CC [M]  /root/mISDN/standalone/drivers/isdn/mISDN/l1oip_core.o
  CC [M]  /root/mISDN/standalone/drivers/isdn/mISDN/l1oip_codec.o
  CC [M]  /root/mISDN/standalone/drivers/isdn/mISDN/core.o
  CC [M]  /root/mISDN/standalone/drivers/isdn/mISDN/fsm.o
  CC [M]  /root/mISDN/standalone/drivers/isdn/mISDN/socket.o
  CC [M]  /root/mISDN/standalone/drivers/isdn/mISDN/clock.o
  CC [M]  /root/mISDN/standalone/drivers/isdn/mISDN/hwchannel.o
/root/mISDN/standalone/drivers/isdn/mISDN/hwchannel.c: In function
âmISDN_freedchannelâ:
/root/mISDN/standalone/drivers/isdn/mISDN/hwchannel.c:113: error: implicit
declaration of function âflush_work_syncâ
make[6]: *** [/root/mISDN/standalone/drivers/isdn/mISDN/hwchannel.o] Error 1
make[5]: *** [_module_/root/mISDN/standalone/drivers/isdn/mISDN] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.32-5-686'
make[2]: *** [modules_] Error 2
make[2]: Leaving directory `/root/mISDN/standalone'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/mISDN/standalone'
make: *** [modules] Error 2
root at OpenBSC:~/mISDN#

I should note that Centos 5.7 and Gentoo give the same errors as Ubuntu....

Any assistance is appreciated.

Regards,
-Don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20120201/8a7d6991/attachment.htm>


More information about the OpenBSC mailing list