<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello there, <br><br>what kernel are you using ? which gcc version ? <br><br><code>installed all packages needed ? apt-get install build-essential kernel-package automake autoconf
fakeroot git-core git-arch flex bison libgsm1-dev libgsmme-dev
libncurses5-dev subversion libtool libdbi libdbi0-dev <br><br>I used gcc 4.4.3, debian lenny 2.6.32 64bit kernel and it worked.<br><br></code>Best regards <br><br>Ihab El Bakri <br><br>> Date: Tue, 2 Mar 2010 23:23:37 +0530<br>> From: ashwin.lists@gmail.com<br>> To: bjarnisi@gmail.com; openbsc@lists.gnumonks.org<br>> Subject: Re: Compilation Errors on Lenny 5.0.4<br>> <br>> On 02-Mar-10 3:12 PM, Bjarni S. Siguršsson wrote:<br>> > Also, you can check if PKG_CHECK_MODULES is defined in aclocal.m4.<br>> >>> grep PKG_CHECK_MODULES aclocal.m4<br>> ><br>> > Should get a line with "AC_DEFUN([PKG_CHECK_MODULES],". If not then<br>> > there is something "wrong" with the autoconf setup, or you are missing<br>> > the pkg.m4 file which should come with the pkg-config package.<br>> ><br>> > -BSS<br>> <br>> Thanks for putting in so much effort for me.<br>> <br>> There were multiple problems in my freshly installed "lenny" :)<br>> <br>> There was no libosmocore. So downloaded <br>> (git://git.osmocom.org/libosmocore.git) and started compiling. Ran into <br>> problem of some a4 errors and installed gettext with apt-get. Then there <br>> was problem of libtool missing. So installed libtool with apt-get. <br>> Finally compiled and installed libosmocore.<br>> <br>> After solving the above issues came back to openbsc -<br>> <br>> Now the autoreconf -i is cleanly executed.<br>> The ./configure step is also clean and same as your output.<br>> <br>> The make step is *breaking* now with errors as below :-<br>> <br>> Making all in src<br>> make[2]: Entering directory `/root/openbsc/openbsc/src'<br>> gcc -DHAVE_CONFIG_H -I. -I..  -I../include   -Wall -I/usr/local/include/ <br>>    -g -O2 -MT abis_rsl.o -MD -MP -MF .deps/abis_rsl.Tpo -c -o abis_rsl.o <br>> abis_rsl.c<br>> In file included from ../include/openbsc/gsm_data.h:59,<br>>                   from abis_rsl.c:31:<br>> /usr/local/include/osmocore/utils.h:8: error: redefinition of āstruct <br>> value_stringā<br>> make[2]: *** [abis_rsl.o] Error 1<br>> make[2]: Leaving directory `/root/openbsc/openbsc/src'<br>> make[1]: *** [all-recursive] Error 1<br>> make[1]: Leaving directory `/root/openbsc/openbsc'<br>> make: *** [all] Error 2<br>> <br>> Any guesses what else to fix ?<br>> <br>> with Regards,<br>> ASHWIN<br>> <br>                                         <br /><hr />Hotmail: Free, trusted and rich email service. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Get it now.</a></body>
</html>