please try the following patch. i cannot test it right now. especially the gsm.cpp change is relevant. i hope that everything is clean now.
diff --git a/bchannel.c b/bchannel.c index f49572b..baa8434 100644 --- a/bchannel.c +++ b/bchannel.c @@ -23,7 +23,7 @@ #include <netinet/in.h> #include <netdb.h> #include <sys/socket.h> -#include <mISDNif.h> +#include <mISDN/mISDNif.h>
#include <mISDN/mISDNcompat.h> int __af_isdn = MISDN_AF_ISDN; diff --git a/gsm.cpp b/gsm.cpp index b2bdd6b..d8906c4 100644 --- a/gsm.cpp +++ b/gsm.cpp @@ -44,12 +44,9 @@ static struct timer_list db_sync_timer;
#include "gsm_audio.h"
-#undef AF_ISDN -#undef PF_ISDN -extern int AF_ISDN; -#define PF_ISDN AF_ISDN }
+#include <mISDN/mISDNcompat.h>
struct lcr_gsm *gsm = NULL;
symbol lookup error: /sbin/lcr: undefined symbol: AF_ISDN