libosmocore does not build in Ubuntu

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

Holger Freyther holger at freyther.de
Thu Feb 11 20:21:06 UTC 2016


> On 11 Feb 2016, at 21:15, Ruben Undheim <ruben.undheim at gmail.com> wrote:
> 
> 

Hi!

I am off for today but..

> This is an extract from the log:
> 
> -   outgoing: dstref(196612) 1 -> 3
> +   outgoing: dstref(67109632) 1 -> 3

uint32_t sccp_src_ref_to_int(struct sccp_source_reference *ref)
struct sccp_source_reference sccp_src_ref_from_int(uint32_t int_ref);

are the two candidates. You could have ntohl and htonl in them to make the format/result predictable on LE and BE machines. Or swap it on BE machines.

holger




More information about the OpenBSC mailing list