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/.
Harald Welte laforge at gnumonks.orgHi Sipos,
On Fri, Dec 25, 2015 at 03:50:45PM +0100, Sipos Csaba wrote:
> /usr/local/include/osmocom/core/prim.h:23:27: error: uninitialized const 'osmo_prim_op_names' [-fpermissive]
> const struct value_string osmo_prim_op_names[5];
This was introduced by one of my recent libosmocore changes, sorry.
The patch below (just pushed to libosmocore master) should fix it.
>From c959afdcd9d8f227f4a72a915ac2e3f79d1d1d3b Mon Sep 17 00:00:00 2001
From: Harald Welte <laforge at gnumonks.org>
Date: Fri, 25 Dec 2015 17:14:07 +0100
Subject: [PATCH] osmo_prim_op_names should be extern
---
include/osmocom/core/prim.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/osmocom/core/prim.h b/include/osmocom/core/prim.h
index e920eb8..9e71007 100644
--- a/include/osmocom/core/prim.h
+++ b/include/osmocom/core/prim.h
@@ -20,7 +20,7 @@ enum osmo_prim_operation {
PRIM_OP_CONFIRM, /*!< \brief cofirm */
};
-const struct value_string osmo_prim_op_names[5];
+extern const struct value_string osmo_prim_op_names[5];
#define _SAP_GSM_SHIFT 24
--
2.6.4
--
- Harald Welte <laforge at gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)