Hi,
i want to operate two BS-11 via one E1-card. And i did it almost like
here:
http://lists.gnumonks.org/pipermail/openbsc/2009-August/000733.html
But i dont know how to configure the bport1 object for multidrop and how
to use the hfcmulti module to get two interfaces (for lcr i compiled
misdn_l1loop but i think this isnt the right here ;)). So atm i am not
able to communicate with the second BS11 :/. Any idea?
Thx & Greets Till
i thought it is the same (sorry, but i could not yet compile it myself).
try changing gsm.h line 79 into:
extern char gsm_conf_error[128];
or
extern char gsm_conf_error[];
anyway: i hate global return values and i will change it.
________________________________
Von: Ihab el Bakri [mailto:ihab.elbakri@hotmail.com]
Gesendet: Dienstag, 16. März 2010 12:33
An: Andreas.Eversberg
Cc: openbsc
Betreff: RE: AW: AW: AW: WG: again compilation of lcr
still getting errors:
gsm_conf.c:15: error: conflicting declaration âchar gsm_conf_error [128]â
gsm.h:79: error: âgsm_conf_errorâ has a previous declaration as âchar* gsm_conf_errorâ
make[1]: *** [gsm_conf.o] Error 1
make[1]: Leaving directory `/usr/src/test2/new/lcr'
make: *** [all] Error 2
________________________________
Hotmail: Trusted email with powerful SPAM protection. Sign up now. <https://signup.live.com/signup.aspx?id=60969>
oops, try this:
---
diff --git a/gsm_conf.c b/gsm_conf.c
index 560d9b3..6daf9b3 100644
--- a/gsm_conf.c
+++ b/gsm_conf.c
@@ -12,7 +12,7 @@
#include "main.h"
-char *gsm_conf_error = (char *)"";
+char gsm_conf_error[128] = "";
/* read options
*
---
i never had an error in the config, so an error message never created.
> 000000 DEBUG (in getrulesetbyname() line 1871): ruleset main found.
> Segmentation fault
can you provide gnu debug?
start gdb inside lcr source directory:
root@isdn-tester:~# gdb
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i586-pc-linux-gnu".
(gdb)
load and run
(gdb) file lcr
Reading symbols from lcr...done.
(gdb) run start
after crash type
(gdb) where
you will get a traceback. it should also say the line in code where the
crash happened. (before libc was called)
This is a Mailman mailing list bounce action notice:
List: OpenBSC
Member: sebastian.holter(a)wavelight.com
Action: Subscription disabled.
Reason: Excessive or fatal bounces.
The triggering bounce notice is attached below.
Questions? Contact the Mailman site administrator at
mailman(a)lists.gnumonks.org.
>. /lcr: symbol lookup error: ./lcr: undefined symbol: init_af_isdn
pull lcr again. the mISDNuser header paths have changed. i changed more
stuff.
also try to remove the /usr/include/mISDNuser directory. it is obsolete.
now compat_af_isdn.h can be removed from openbsc also. todo so, replace
the include of this file by:
#include <mISDN/mISDNcompat.h>
int __af_isdn = MISDN_AF_ISDN;
maybe it is better to use "static int", so it will not conflict when
linking to lcr... we will see.
the function call init_af_isdn(); can be removed.
> am still getting this error:
try the patch i added to my last mail. it is not yet committed to GIT.
go into your osmocore GIT directiory, say "patch -p1" and paste the
following. (end with CTRL+d)
----
diff --git a/include/osmocore/gsm48.h b/include/osmocore/gsm48.h
index 6356379..787cdd0 100644
--- a/include/osmocore/gsm48.h
+++ b/include/osmocore/gsm48.h
@@ -6,7 +6,7 @@
extern const struct tlv_definition gsm48_att_tlvdef;
extern const char *cc_state_names[32];
-const char *gsm48_cc_msg_names[0x40];
+extern const char *gsm48_cc_msg_names[0x40];
const char *rr_cause_name(uint8_t cause);
void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc,
----