Hello,
I am getting some errors when trying to compile lcr with asterisk and gsm. error:
g++ -DHAVE_CONFIG_H -I. -DWITH_GSM -I./openbsc/include -Wall -I/usr/include/mISDNuser -DCONFIG_DATA="\"/usr/local/lcr\"" -DSHARE_DATA="\"/usr/local/lcr\"" -DLOG_DIR="\"/usr/local/lcr\"" -DEXTENSION_DATA="\"/usr/local/lcr/extensions\"" -g -O2 -MT gsm.o -MD -MP -MF .deps/gsm.Tpo -c -o gsm.o gsm.cpp
gsm.cpp: In member function âvoid Pgsm::bchannel_send(unsigned int, unsigned int, unsigned char*, int)â:
gsm.cpp:228: error: overloaded function with no contextual type information
make[1]: *** [gsm.o] Error 1
make[1]: Leaving directory `/home/bs11/bs11/lcr'
make: *** [all] Error 2
Best regards
Ihab El Bakri
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
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
On 03-Mar-10 5:05 PM, Ihab el Bakri wrote:
> Hello Ashwin,
>
>
> Checkout the attached file.. ./configure && make && make install
>
Hi Ihab,
Extracted the rar file in /root/temp/
The "make" breaks as below.
with Regards
ASHWIN
tiny:~/temp# ./configure
-bash: ./configure: Permission denied
tiny:~/temp# ls -l con
config config.log config.status configure
configure.in convert_to_enum.py
tiny:~/temp# chmod 755 configure
tiny:~/temp# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for library containing crypt... -lcrypt
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking if gcc supports -fvisibility=hidden... yes
configure: creating ./config.status
config.status: creating openbsc.pc
config.status: creating liblaf0rge1.pc
config.status: creating libsccp.pc
config.status: error: cannot find input file: `include/openbsc/Makefile.in'
tiny:~/temp# make
mkdir -p asn1_gen && \
cd asn1_gen && \
../../../tmp/rrlp/asn1c/asn1c/asn1c -fskeletons-copy
-fnative-types -gen-PER
/bin/sh: line 2: ../../../tmp/rrlp/asn1c/asn1c/asn1c: No such file or
directory
make: *** [libgsm-asn1.a] Error 127
tiny:~/temp#
Hello,
I am looking for a couple of BS-11/nanoBTS Units 10 and more, price is not a problem, so if any body has a BS-11 or an ip.access nanoBTS to sell, please contact me immediately :)
Best regards
Ihab El Bakri
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
Hi,
Tried to compile and got some errors at the ./configure stage.
./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,'
./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
Can some one help ?
with Regards,
ASHWIN