> am still getting this error:
try the patch i added to my last mail. it is not yet committed to GIT.
go into your osmocore GIT directiory, say "patch -p1" and paste the
following. (end with CTRL+d)
----
diff --git a/include/osmocore/gsm48.h b/include/osmocore/gsm48.h
index 6356379..787cdd0 100644
--- a/include/osmocore/gsm48.h
+++ b/include/osmocore/gsm48.h
@@ -6,7 +6,7 @@
extern const struct tlv_definition gsm48_att_tlvdef;
extern const char *cc_state_names[32];
-const char *gsm48_cc_msg_names[0x40];
+extern const char *gsm48_cc_msg_names[0x40];
const char *rr_cause_name(uint8_t cause);
void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc,
----
hi,
now after changing code of lcr, it compiles with libosmocom and openbsc.
all packets are the latest (mISDN, mISDNuser, libosmocom, openbsc, lcr)
i have started it without crashing, but i could not test it. please
change to "develop" branch of LCR.
be sure to add links to openbsc and libosmocore to the LCR source
directories:
libosmocore -> ../libosmocore/
openbsc -> ../openbsc/openbsc/
also i found some little problems while compiling osmocore and openbsc:
the 'extern' is missing:
diff --git a/include/osmocore/gsm48.h b/include/osmocore/gsm48.h
index 6356379..787cdd0 100644
--- a/include/osmocore/gsm48.h
+++ b/include/osmocore/gsm48.h
@@ -6,7 +6,7 @@
extern const struct tlv_definition gsm48_att_tlvdef;
extern const char *cc_state_names[32];
-const char *gsm48_cc_msg_names[0x40];
+extern const char *gsm48_cc_msg_names[0x40];
const char *rr_cause_name(uint8_t cause);
void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc,
an here is a warning i did not analyse yet:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/l
d: Warning: size of symbol `rsl_rlm_cause_strs' changed from 8 in
./openbsc/src/libbsc.a(abis_rsl.o) to 120 in
/usr/local/lib/libosmocore.so
regards,
andreas
hi holger,
i still can't see it.
regards,
andreas
>git pull in libosmocore please. We are still moving stuff out of
OpenBSC into
>libosmocore and if you update the one you should update the other. My
>libosmocore contains a mncc.h file.
root@nuedel libosmocore # git pull
Already up-to-date.
root@nuedel libosmocore # ls include/osmocore/ -R
include/osmocore/:
Makefile bitvec.h gsm_utils.h msgb.h rxlev_stat.h
statistics.h tlv.h
Makefile.am comp128.h gsmtap.h protocol select.h talloc.h
utils.h
Makefile.in gsm48.h linuxlist.h rsl.h signal.h timer.h
write_queue.h
include/osmocore/protocol:
Makefile Makefile.am Makefile.in gsm_04_08.h gsm_04_11.h
gsm_04_80.h gsm_08_58.h gsm_12_21.h
hi,
i got some problems with missing mncc.h at osmocore include directory. i
am in the master branch. any idea?
thanx,
andreas
make[2]: Entering directory `/root/gsm/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:46,
from abis_rsl.c:31:
../include/openbsc/mncc.h:29:27: error: osmocore/mncc.h: No such file or
directory
In file included from ../include/openbsc/gsm_data.h:46,
from abis_rsl.c:31:
../include/openbsc/mncc.h:122: error: field 'bearer_cap' has incomplete
type
../include/openbsc/mncc.h:123: error: field 'called' has incomplete type
../include/openbsc/mncc.h:124: error: field 'calling' has incomplete
type
../include/openbsc/mncc.h:125: error: field 'redirecting' has incomplete
type
../include/openbsc/mncc.h:126: error: field 'connected' has incomplete
type
../include/openbsc/mncc.h:127: error: field 'cause' has incomplete type
../include/openbsc/mncc.h:128: error: field 'progress' has incomplete
type
../include/openbsc/mncc.h:129: error: field 'useruser' has incomplete
type
../include/openbsc/mncc.h:130: error: field 'facility' has incomplete
type
../include/openbsc/mncc.h:131: error: field 'cccap' has incomplete type
../include/openbsc/mncc.h:132: error: field 'ssversion' has incomplete
type
make[2]: *** [abis_rsl.o] Error 1
make[2]: Leaving directory `/root/gsm/openbsc/openbsc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gsm/openbsc/openbsc'
make: *** [all] Error 2
Hello guys,
I installed a newly fresh Debian Lenny, downloaded openbsc project using
git. But when running ./configure after autoreconf -i (which went well), I
get the following message:
./configure: line 3551: syntax error near unexpected token `LIBOSMOCORE,'
./configure: line 3551: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)'
I know the osmocomBB project has a bit of the focus now and that some
sources in openbsc are also used in osmocomBB, hence the libosmocore? But
can someone helping me out to get the openbsc build?
Thank you.
Hi,
I have the OpenBSC up and running with a nanobts at 900MHz.
I would require some help with the following issues.
1) I'm able to view most of the air interface messages on wireshark but not
able to
view the gsm system information blocks. Is there any patches I should add on
wireshark and is it possible
to provide instructions on how to apply the patches ?
2) I'm able to see the rrlp request made to the mobile on wireshark. However
I'm not
see any rrlp response from the mobile on wireshark. I'm sure my mobile
suppot ms-based rrlp request.
Again, what are the patches to wireshark I should apply? Appreciate if
details on how to apply the patches
are provided.
3) I have copied out the gprs branch and am able to run the gprs OpenBSC
codes without any problems.
Just that at this stage, my mobile (i-phone 3Gs) does not seem to be able to
do a gprs attach and have
the OpenBSC allocate it a P-TMSI. Is there any thing I should do to get my
i-phone 3Gs to do a gprs attach on the
OpenBSC? (For my i-phone 3Gs, the settings is gsm mode only)
4) Also in the OpenBSC folder, there's this rrlp-ephemeris folder, if
possible, would like to have further details on
the purpose of the rrlp-ephemeris folder.
Appreciate any kind advise and help.
Thanks so much
Ken
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