AW: WG: again compilation of lcr

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

Andreas.Eversberg Andreas.Eversberg at versatel.de
Mon Mar 15 07:43:44 UTC 2010


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







More information about the OpenBSC mailing list