Core dump in trunk

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

Gus Bourg gus at bourg.net
Fri Aug 26 15:22:50 UTC 2011


On Thu, Aug 25, 2011 at 11:02 PM, Harald Welte <laforge at gnumonks.org> wrote:

> the backtrace clearly looks as if the experimental and untested
> laforge/lapd branch of openbsc.git was used.
>

Sorry about that, you're right - I got my branches mixed up.


> The suggested configuration is 'master' from libosmocore, libosmo-abis
> and openbsc.git
>

I've been having troubles getting master to compile since the move to
osmo-abis.  I have the latest version of osmo-abis (and osmocore) installed,
but for some reason I'm getting this:

bts_ericsson_rbs2000.c: In function ‘start_sabm_in_line’:
bts_ericsson_rbs2000.c:73:36: error: ‘struct <anonymous>’ has no member
named ‘lapd’
bts_ericsson_rbs2000.c:75:35: error: ‘struct <anonymous>’ has no member
named ‘lapd’

If I comment out these lines, I run into the same problem with the Nokias
(which I need) as they're trying to send sabms too.

I'm confused why it says its anonymous - when it should be an e1inp_ts. The
offending line is:

lapd_sap_start(ts->driver.dahdi.lapd, link->tei, link->sapi);

Looking at e1_input.h from libosmo-abis:
struct e1inp_ts {
...
   struct e1inp_line *line;
   struct lapd_instance *lapd;
...
   union {
...
      struct {
         /* DAHDI driver has one fd for each ts */
         struct osmo_fd fd;
      } dahdi;
...
   } driver;
};

Is this correct?  I don't think I'm including an old non libosmo-abis
e1_input.h.

Thanks,
Gus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20110826/7da1b8be/attachment.htm>


More information about the OpenBSC mailing list