Dear Alexander, Andreas, Sylvain,

still experiencing problems building without misdn : i have corrected my typo
error and use the last patch from alexander but still errors at compilation :

/usr/src/lcr# make
make  all-am
make[1]: Entering directory `/usr/src/lcr'
gcc        -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
-g -O2 -fPIC -c b
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
...

my best,

xavier.


On Wed, Feb 29, 2012 at 02:54:22PM +0100, Alexander Huemer wrote:
> ---
>  appbridge.cpp |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/appbridge.cpp b/appbridge.cpp
> index efad0d9..7309c80 100644
> --- a/appbridge.cpp
> +++ b/appbridge.cpp
> @@ -152,9 +152,9 @@ fail:
>       } else
>  #endif
>       {
> +             char *ifname = interface_out->name;
>  #ifdef WITH_MISDN
>               struct mISDNport *mISDNport;
> -             char *ifname = interface_out->name;
>               int channel = 0;
>               struct admin_list *admin;
>               int earlyb;
> @@ -199,7 +199,7 @@ fail:
>               add_trace("interface", NULL, "%s", ifname);
>               end_trace();
>               cause = 31;
> -             goto fail
> +             goto fail;
>  #endif
>       }
>       if (!port)
> -- 
> 1.7.2.5
> 
> 

Reply via email to