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

Ashwin ashwin.lists at gmail.com
Tue Mar 2 17:53:37 UTC 2010


On 02-Mar-10 3:12 PM, Bjarni S. Sigurðsson wrote:
> Also, you can check if PKG_CHECK_MODULES is defined in aclocal.m4.
>>> grep PKG_CHECK_MODULES aclocal.m4
>
> Should get a line with "AC_DEFUN([PKG_CHECK_MODULES],". If not then
> there is something "wrong" with the autoconf setup, or you are missing
> the pkg.m4 file which should come with the pkg-config package.
>
> -BSS

Thanks for putting in so much effort for me.

There were multiple problems in my freshly installed "lenny" :)

There was no libosmocore. So downloaded 
(git://git.osmocom.org/libosmocore.git) and started compiling. Ran into 
problem of some a4 errors and installed gettext with apt-get. Then there 
was problem of libtool missing. So installed libtool with apt-get. 
Finally compiled and installed libosmocore.

After solving the above issues came back to openbsc -

Now the autoreconf -i is cleanly executed.
The ./configure step is also clean and same as your output.

The make step is *breaking* now with errors as below :-

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â
make[2]: *** [abis_rsl.o] Error 1
make[2]: Leaving directory `/root/openbsc/openbsc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/openbsc/openbsc'
make: *** [all] Error 2

Any guesses what else to fix ?

with Regards,
ASHWIN




More information about the OpenBSC mailing list