[PATCH] fix build without mISDN

Alexander Huemer alexander.huemer at xx.vu
Wed Feb 29 19:40:13 CET 2012

On Wed, Feb 29, 2012 at 06:28:03PM +0100, Peter Stuge wrote:
> Alexander Huemer wrote:
> > > make[1]: Entering directory `/usr/src/lcr'
> ..
> > > channel.c -o bchannel.po   
> > > bchannel.c:26:27: error: mISDN/mISDNif.h: No such file or directory
> > > bchannel.c:28:31: error: mISDN/mISDNcompat.h: No such file or directory
> > > bchannel.c:29: error: 'MISDN_AF_ISDN' undeclared here (not in a function)
> > > bchannel.c:30:24: error: mISDN/q931.h: No such file or directory
> > 
> > Are you sure that you cloned the repository from git.misdn.eu and
> > not git.misdn.org ?
> No mISDN should be neccessary if I understood correctly. Put above
> includes inside #if WITH_MISDN like is used elsewhere in the code.
It seems like that's not enough. bchannel.c contains code that depends
on misdn stuff. There is no path provided for building lcr with
asterisk but without misdn support, at least for this file.
Maybe this discussion should continue on the isdn4linux ML, this is not
an openbsc issue.

Kind regards,
-Alexander Huemer

More information about the OpenBSC mailing list