Compilation Errors on Lenny 5.0.4

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 zecke at selfish.org
Wed Mar 3 09:15:44 UTC 2010


On Tuesday 02 March 2010 18:53:37 Ashwin wrote:
> On 02-Mar-10 3:12 PM, Bjarni S. Sigurðsson wrote:

> Making all in src
> make[2]: Entering directory `/root/openbsc/openbsc/src'
> gcc -DHAVE_CONFIG_H -I. -I..  -I../include   -Wall -I/usr/local/include/
>    -g -O2 -MT abis_rsl.o -MD -MP -MF .deps/abis_rsl.Tpo -c -o abis_rsl.o
> abis_rsl.c
> In file included from ../include/openbsc/gsm_data.h:59,
>                   from abis_rsl.c:31:
> /usr/local/include/osmocore/utils.h:8: error: redefinition of âstruct
> value_stringâ


You are using the latest version of libosmocore but not the one of OpenBSC. 
You will have to "git pull --rebase" OpenBSC and compile it again.

libosmocore is a rather new library and we move stuff from OpenBSC into this 
library, which means if you have a new version of libosmocore and a bit older 
one of OpenBSC your compiler will see stuff twice.

z.




More information about the OpenBSC mailing list