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.