Good evening all or whatever time it is there!
1. For debugging I have added a FILE* opf; member to lapdm_entity struct in
lapdm.h
But when I try to initialize this file pointer in mobile_init function in
app_mobile.c I get a compile time error that lapdm_entity does not have a
member named 'opf'.
2. When I declare the same member in osmocom_ms struct I don't get this
error.
3. Furthermore, any changes I make to lapdm.c don't show up on runtime. I
can quote specific examples but the mail would get long.
Lastly is there any documentation on for LOGP and how to see it's different
log levels.
Regards,
Arslan
Hi list,
sorry for abusing the list for a somewhat support request but
unfortunatly I didn't got answers in the IRC.
I'm interested to use BB for some experiments on mapping GSM cells
(opencellid.org and similar).
So I finally got cell_log to work and my general BB setup works fine
here on my laptop. But even with a working GPS, I don't get any
positions in the osmocom logfile or the resulting kml by gsmap. Here is
what I do:
I pair my Bluetooth GPS via
sudo rfcomm connect /dev/rfcomm0 00:AA:BB:CC:DD:EE
I test it via
sudo cat /dev/rfcomm0
and it prints the usual NMEA stuff
I connect my mobile C123 and fire up osmocon with L23:
sudo ./osmocon -p /dev/ttyUSB0 -m c123xor
'/home/matthias/opencellid/osmocom-bb/src/target/firmware/board/compal_e88/layer1.compalram.bin'
After upload I start cell_log
sudo ./cell_log -f /dev/rfcomm0
which looks ok:
<0010> app_cell_log.c:216 Using GPS serial device /dev/rfcomm0
Failed to connect to '/tmp/osmocom_sap'.
Failed during sap_open(), no SIM reader
<000e> cell_log.c:804 Scanner initialized
Mobile initialized, please start phone now!
<000e> cell_log.c:368 Measure from 0 to 124
<000e> cell_log.c:368 Measure from 512 to 885
<000e> cell_log.c:368 Measure from 955 to 1023
<000e> cell_log.c:359 Measurement done
<000e> cell_log.c:341 Sync ARFCN 17 (rxlev -59, 421 syncs left)
<000e> cell_log.c:341 Sync ARFCN 675 (rxlev -62, 420 syncs left)
<000e> cell_log.c:341 Sync ARFCN 85 (rxlev -65, 419 syncs left)
<000e> cell_log.c:191 Cell: ARFCN=85 MCC=262 MNC=01 (Germany, T-Mobile)
<000e> cell_log.c:341 Sync ARFCN 47 (rxlev -66, 418 syncs left)
<000e> cell_log.c:191 Cell: ARFCN=47 MCC=262 MNC=01 (Germany, T-Mobile)
<000e> cell_log.c:341 Sync ARFCN 6 (rxlev -73, 417 syncs left)
<000e> cell_log.c:191 Cell: ARFCN=6 MCC=262 MNC=02 (Germany, Vodafone)
<000e> cell_log.c:341 Sync ARFCN 75 (rxlev -73, 416 syncs left)
<000e> cell_log.c:191 Cell: ARFCN=75 MCC=262 MNC=02 (Germany, Vodafone)
<000e> cell_log.c:341 Sync ARFCN 671 (rxlev -73, 415 syncs left)
<000e> cell_log.c:341 Sync ARFCN 22 (rxlev -75, 414 syncs left)
<000e> cell_log.c:341 Sync ARFCN 25 (rxlev -75, 413 syncs left)
<000e> cell_log.c:341 Sync ARFCN 20 (rxlev -77, 412 syncs left)
<000e> cell_log.c:341 Sync ARFCN 90 (rxlev -78, 411 syncs left)
But it doesn't write any positions at the logfile nor shows that it got
a working GPS position. Only at a few starts I saw this line coming up:
<000e> cell_log.c:804 Scanner initialized
Mobile initialized, please start phone now!
NMEA checksum error
So I tried to set the baud rate but this message doesn't seem to be
reproducable.
Is there anything else I can do, or might it be some kind of software
bug for my specific setup?
cya,
Matthias
Hello
I hope someone can help me whit this , that i dont understand, the
sap_open() function...
i already make in C115 , c139 and C118 (actually the C118 is not support
for latino america) the Hello_world, Layer1 and Rssi,
Im using a Latino american Sim card from Claro and Telefonica.. he
provider are actually using GSM 850-1900 MHz.band
Actually im trying to log in the Wireshark the GSM calls, sms and other's
stuff to look at it... but when i try to run the "Misc apps " all the apps
get me the same error-
****
Failed to connect to '/tmp/osmocom_sap'.
Failed during sap_open(), no SIM reader
****
when i try to find this file is not created.
root@cyttek:/opt/cellphone/osmocom-bb/src/host/layer23/src/misc# file
/tmp/osmocom_*
/tmp/osmocom_l2: socket
/tmp/osmocom_loader: socket
I find that is the file for the process of simcard reader (if im not wrong)
.. but actually i didnt find the file its not created..
any one knows whats the problem or how i can dump to wireshark the stuff.?
thanks...
================================================================================
root@raf10x:/opt/cellphone/osmocom-bb/src/host/layer23/src/misc# *./ccch_scan
*
Copyright (C) 2010 Harald Welte <laforge(a)gnumonks.org>
Contributions by Holger Hans Peter Freyther
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Failed to connect to '/tmp/osmocom_sap'.
Failed during sap_open(), no SIM reader
^CSignal 2 recevied.
================================================================================
root@raf10x:/opt/cellphone/osmocom-bb/src/host/layer23/src/misc# *./bcch_scan
*
Copyright (C) 2010 Harald Welte <laforge(a)gnumonks.org>
Contributions by Holger Hans Peter Freyther
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Failed to connect to '/tmp/osmocom_sap'.
Failed during sap_open(), no SIM reader
^CSignal 2 recevied.
================================================================================
root@raf10x:/opt/cellphone/osmocom-bb/src/host/layer23/src/misc# *./cbch_sniff
*
Copyright (C) 2010 Harald Welte <laforge(a)gnumonks.org>
Contributions by Holger Hans Peter Freyther
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Failed to connect to '/tmp/osmocom_sap'.
Failed during sap_open(), no SIM reader
^CSignal 2 recevied.
================================================================================
root@raf10x:/opt/cellphone/osmocom-bb/src/host/layer23/src/misc#*./cell_log
*
Copyright (C) 2010 Andreas Eversberg
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Failed to connect to '/tmp/osmocom_sap'.
Failed during sap_open(), no SIM reader
<000e> cell_log.c:804 Scanner initialized
Mobile initialized, please start phone now!
^CSignal 2 recevied.
<000e> cell_log.c:811 Scanner exit
*
#__________________
Atte.
**Rafael R.*
Hello.
I'm having troubles compiling asn.1 files from
http://www.3gpp.org/ftp/Specs/archive/24_series/24.080/ASN.1/
I'm getting syntax error (syntax error at line 264 in module SS-Operations.asn: got
'SEQUENCE' expected ':') while running
erlc SS-Operations.asn
using Erlang version 15.b.1
As far as I recall Harald has done this for MAP asn.1
Are there any hints on what might be wrong?
Tried online compiler but it gives different errors in different places.
Should I use different version? Compile smth else before attempting to compile this
file? Fix syntax using some clever trick? Do some rtfm?
Any advices would be greatly appreciated.
--
best regards,
Max, http://fairwaves.ru
As I see your Channel Requests remain unanswered from the network. Are you
sure that you are using firmware compiled with enabled TX (I do not
remember if it could be observed from layer1.log)?
If yes, you can try not to use the ARFCN that is selected by MS
automatically (in your log - 748DCS) by signal level, but try to stick on
another ARFCN: e.g. 746DCS - second candidate by rxlev - or other. for this
case use "stick 746" option and check for network's answers (ImmAss or
ImmAssReject).
You can also try to use other SIMs.
Thanks,
Pavel
On Mon, Apr 15, 2013 at 1:11 PM, Hoàng Mạnh Hùng <hunghm.vn(a)gmail.com>wrote:
> Hi Pavel Baturko,
>
>
> mobile.cfg, mobile.log, layer1.log and other logs in case of automatic
> network selection "network-selection-mode auto" ans "no stick" option:
>
> root@UR:/tmp# telnet 127.0.0.1 4247
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> Welcome to the OsmocomBB control interface
>
> OsmocomBB> en
> OsmocomBB# sho
>
> OsmocomBB# show ms
> MS '1' is up, service is limited
> IMEI: 357337016773249
> IMEISV: 3573370167732490
> IMEI generation: fixed
> automatic network selection state: A0 null
> cell selection state: PLMN search
> radio ressource layer state: idle
> mobility management layer state: MM idle, PLMN search
>
> OsmocomBB# show
> OsmocomBB# show sub
> OsmocomBB# show subscriber
> Mobile Subscriber of MS '1':
> IMSI: 452040399998391
> ICCID: 89840403940099983911
> Service Provider Name: VIETTEL
> SMS Service Center Address: +84980200030
> Status: U2_NOT_UPDATED IMSI detached LAI: invalid
> Key: sequence 1 74 5d 70 bb 32 6a a0 00
> Access barred cells: no
> Access classes: C4
> List of preferred PLMNs:
> MCC |MNC
> -------+-------
> 452 |04 (Vietnam, Viettel Mobile)
> 456 |08 (Cambodia, Viettel)
> 457 |03 (Laos, Unitel)
> 372 |03 (Haiti, 03)
>
> OsmocomBB# show
> OsmocomBB# show sup
> OsmocomBB# show support
> Supported features of MS '1':
> Phase 2 mobile station
> R-GSM : yes
> E-GSM : yes
> P-GSM : yes
> GSM900 Class : 4
> DCS 1800 : yes
> DCS Class : 1
> GSM 850 : yes
> GSM 850 Class: 4
> PCS 1900 : yes
> PCS Class : 1
> GSM 480 : no
> GSM 450 : no
> CECS : no
> VGCS : no
> VBS : no
> SMS : yes
> SS_IND : yes
> PS_CAP : no
> CMSP : no
> SoLSA : no
> LCSVA : no
> LOC_SERV : no
> A5/1 : yes
> A5/2 : yes
> A5/3 : no
> A5/4 : no
> A5/5 : no
> A5/6 : no
> A5/7 : no
> A5/1 : yes
> Channels : SDCCH + TCH/F + TCH/H
> Full-Rate V1 : yes
> Full-Rate V2 : yes
> Full-Rate V3 : no
> Half-Rate V1 : yes
> Half-Rate V3 : no
> Min RXLEV : -106
>
> OsmocomBB# call 1 0987785050
> OsmocomBB#
> % (MS 1)
> % Call has been rejected
>
> OsmocomBB# sms 1 0987785050 testSMS
> OsmocomBB#
> % (MS 1)
> % SMS to 0987785050 failed: (MO) SMS rejected
>
> OsmocomBB# net
> OsmocomBB# network sho
> OsmocomBB# network show 1
>
> OsmocomBB#
> % (MS 1)
> % Trying to registering with network...
>
> % (MS 1)
> % Trying to registering with network...
>
> % (MS 1)
> % Trying to registering with network...
>
> % (MS 1)
> % Searching network...
>
>
> % (MS 1)
> % Trying to registering with network...
>
> % (MS 1)
> % Trying to registering with network...
>
> % (MS 1)
> % Searching network...
>
> OsmocomBB# sms 1 0987785050 testSMS
>
> % (MS 1)
> % Trying to registering with network...
> call 1 0987785050
> OsmocomBB#
> % (MS 1)
> % Call has been rejected
>
> OsmocomBB# sms 1 0987785050 testSMS
> OsmocomBB#
> % (MS 1)
> % SMS to 0987785050 failed: (MO) SMS rejected
>
>
> % (MS 1)
> % Trying to registering with network...
>
>
>
> 2013/4/15 Pavel Baturko <pabftk(a)gmail.com>
>
>> Hi,
>>
>> Could you please provide mobile.log and log from VTY in case of automatic
>> network selection "network-selection-mode auto" ans "no stick" option?
>>
>> Thanks,
>> Pavel
>>
>>
>> On Mon, Apr 15, 2013 at 10:46 AM, hungbangchu <hunghm.vn(a)gmail.com>wrote:
>>
>>> Hi,
>>>
>>> My attachment is file mobile.log.
>>>
>>> Any one can mobile.log
>>> <http://baseband-devel.722152.n3.nabble.com/file/n4025987/mobile.log>
>>> help
>>>
>>> me?
>>>
>>>
>>>
>>> pab wrote
>>> > Hi,
>>> >
>>> >> There is no such command.
>>> >> Error occurred during reading below line:
>>> >> stick on
>>> > 'stick' option should be used as 'stick ARFCN'. with this option your
>>> MS
>>> > will be forced to use specific ARFCN. Be sure that this ARFCN is
>>> visible
>>> > by
>>> > your MS and owned by your SIM's service provider.
>>> >
>>> > Also I think it's difficult for people in this list to help you without
>>> > logs, at least attached mobile app log could help.
>>> >
>>> > Thanks,
>>> > Pavel
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://baseband-devel.722152.n3.nabble.com/Baseband-MS-1-is-up-service-is-l…
>>>
>>> Sent from the baseband-devel mailing list archive at Nabble.com.
>>>
>>>
>>
>
>
> --
> Thanks and Best Regards
> --
> From: Hoàng Mạnh Hùng
>
Hi all.
As far as I recall opensmsc doesn't have dedicated ML yet this seems to be
appropriate place so far.
I've found this open source project: https://code.google.com/p/smscgateway/ -
hopefully it'll be of some use for opensmsc devs.
--
best regards,
Max, http://fairwaves.ru
Hi all,
*I get an issue: always "Trying to registering with network..."*
*My configs and my logs:*
mobile.cfg
<http://baseband-devel.722152.n3.nabble.com/file/n4025989/mobile.cfg>
layer1.log
<http://baseband-devel.722152.n3.nabble.com/file/n4025989/layer1.log>
mobile.log
<http://baseband-devel.722152.n3.nabble.com/file/n4025989/mobile.log>
*Commands on OsmocomBB terminal:*
root@UR:/tmp# telnet 127.0.0.1 4247
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Welcome to the OsmocomBB control interface
OsmocomBB> en
OsmocomBB# sho
OsmocomBB# show ms
MS '1' is up, service is limited
IMEI: 357337016773249
IMEISV: 3573370167732490
IMEI generation: fixed
automatic network selection state: A0 null
cell selection state: PLMN search
radio ressource layer state: idle
mobility management layer state: MM idle, PLMN search
OsmocomBB# show
OsmocomBB# show sub
OsmocomBB# show subscriber
Mobile Subscriber of MS '1':
IMSI: 452040399998391
ICCID: 89840403940099983911
Service Provider Name: VIETTEL
SMS Service Center Address: +84980200030
Status: U2_NOT_UPDATED IMSI detached LAI: invalid
Key: sequence 1 74 5d 70 bb 32 6a a0 00
Access barred cells: no
Access classes: C4
List of preferred PLMNs:
MCC |MNC
-------+-------
452 |04 (Vietnam, Viettel Mobile)
456 |08 (Cambodia, Viettel)
457 |03 (Laos, Unitel)
372 |03 (Haiti, 03)
OsmocomBB# show
OsmocomBB# show sup
OsmocomBB# show support
Supported features of MS '1':
Phase 2 mobile station
R-GSM : yes
E-GSM : yes
P-GSM : yes
GSM900 Class : 4
DCS 1800 : yes
DCS Class : 1
GSM 850 : yes
GSM 850 Class: 4
PCS 1900 : yes
PCS Class : 1
GSM 480 : no
GSM 450 : no
CECS : no
VGCS : no
VBS : no
SMS : yes
SS_IND : yes
PS_CAP : no
CMSP : no
SoLSA : no
LCSVA : no
LOC_SERV : no
A5/1 : yes
A5/2 : yes
A5/3 : no
A5/4 : no
A5/5 : no
A5/6 : no
A5/7 : no
A5/1 : yes
Channels : SDCCH + TCH/F + TCH/H
Full-Rate V1 : yes
Full-Rate V2 : yes
Full-Rate V3 : no
Half-Rate V1 : yes
Half-Rate V3 : no
Min RXLEV : -106
OsmocomBB# call 1 0987785050
OsmocomBB#
% (MS 1)
% Call has been rejected
OsmocomBB# sms 1 0987785050 testSMS
OsmocomBB#
% (MS 1)
% SMS to 0987785050 failed: (MO) SMS rejected
OsmocomBB# net
OsmocomBB# network sho
OsmocomBB# network show 1
OsmocomBB#
% (MS 1)
% Trying to registering with network...
% (MS 1)
% Trying to registering with network...
% (MS 1)
% Trying to registering with network...
% (MS 1)
% Searching network...
% (MS 1)
% Trying to registering with network...
% (MS 1)
% Trying to registering with network...
% (MS 1)
% Searching network...
OsmocomBB# sms 1 0987785050 testSMS
% (MS 1)
% Trying to registering with network...
call 1 0987785050
OsmocomBB#
% (MS 1)
% Call has been rejected
OsmocomBB# sms 1 0987785050 testSMS
OsmocomBB#
% (MS 1)
% SMS to 0987785050 failed: (MO) SMS rejected
% (MS 1)
% Trying to registering with network...
--
View this message in context: http://baseband-devel.722152.n3.nabble.com/Trying-to-registering-with-netwo…
Sent from the baseband-devel mailing list archive at Nabble.com.
Hi,
the cli output of the mobile-app command
# show support
prints the indication for A5/1 support twice.
The attached small patch fixed that.
- Martin
Hi every one
im having some problems installing osmocom from the wiki tutorial and this
is the first time that im installing osmocom..
i buy the motorola C118 from the sysmocom Shop.. i dont know where i have
the mistake installing the software , and maybe some of u can help me....
thanks
im using:
*
*root@ubuntu:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
So i follow the next Steps>*
*
*root@ubuntu:/opt: aptitude install libtool shtool autoconf git-core
pkg-config make gcc*
*root@ubuntu:/opt:git clone git://git.osmocom.org/osmocom-bb.git
root@ubuntu:/opt/osmocom-bb/src/shared/libosmocore# autoreconf -i
root@ubuntu:/opt/osmocom-bb/src/shared/libosmocore#./configure
root@ubuntu:/opt/osmocom-bb/src/shared/libosmocore# make
root@ubuntu:/opt/osmocom-bb/src/shared/libosmocore#sudo make install*
*after this i download
*gnu-arm-build.2.sh<http://bb.osmocom.org/trac/raw-attachment/wiki/GnuArmToolchain/gnu-arm-buil…>in
/opt i give the property permission for the .sh file and
root@ubuntu:/opt: sudo apt-get install build-essential libgmp3-dev
libmpfr-dev libx11-6 libx11-dev texinfo flex bison libncurses5 \
libncurses5-dbg libncurses5-dev libncursesw5 libncursesw5-dbg
libncursesw5-dev zlibc zlib1g-dev libmpfr4 libmpc-dev
*root@ubuntu:/opt: mkdir build install src*
*root@ubuntu:/opt:cd src/
root@ubuntu:/opt:wget http://ftp.gnu.org/gnu/gcc/gcc-4.5.2/gcc-4.5.2.tar.bz2
root@ubuntu:/opt:wget http://ftp.gnu.org/gnu/binutils/binutils-2.21.1a.tar.bz2
root@ubuntu:/opt:wget ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz*
*root@ubuntu:/opt:./gnu-arm-build.2.sh *
I will build an arm-elf cross-compiler:
Prefix: opt/install
Sources: opt/src
Build files: opt/build
Press ^C now if you do NOT want to do this.
after that i get a ok install, i add in the last line of the .bashrc file i add
*export PATH=$PATH:/opt/install/bin*
and in the root@ubuntu:/opt/osmocom-bb/src#
i run:
*
root@ubuntu:/opt/osmocom-bb/src# make
*cd shared/libosmocore/build-target && ../configure \
--host=arm-elf --enable-embedded --disable-shared \
--disable-tests ac_cv_header_sys_select_h=no \
--disable-tests ac_cv_header_sys_socket_h=no \
CFLAGS="-Os -ffunction-sections
-I/opt/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs"
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-elf-strip... arm-elf-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for arm-elf-gcc... arm-elf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-elf-gcc accepts -g... yes
checking for arm-elf-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-elf-gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-elf
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-elf-gcc... /opt/install/arm-elf/bin/ld
checking if the linker (/opt/install/arm-elf/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/opt/install/bin/arm-elf-nm -B
checking the name lister (/opt/install/bin/arm-elf-nm -B) interface... BSD
nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to arm-unknown-elf
format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format...
func_convert_file_noop
checking for /opt/install/arm-elf/bin/ld option to reload object files... -r
checking for arm-elf-objdump... arm-elf-objdump
checking how to recognize dependent libraries... unknown
checking for arm-elf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-elf-ar... arm-elf-ar
checking for archiver @FILE support... @
checking for arm-elf-strip... (cached) arm-elf-strip
checking for arm-elf-ranlib... arm-elf-ranlib
checking command to parse /opt/install/bin/arm-elf-nm -B output from
arm-elf-gcc object... ok
checking for sysroot... no
checking for arm-elf-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... arm-elf-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if arm-elf-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-elf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-elf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-elf-gcc static flag -static works... yes
checking if arm-elf-gcc supports -c -o file.o... yes
checking if arm-elf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-elf-gcc linker (/opt/install/arm-elf/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for sys/select.h... (cached) no
checking for sys/socket.h... (cached) no
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing dlopen... no
checking for doxygen... false
checking if arm-elf-gcc supports -fvisibility=hidden... yes
checking whether struct tm has tm_gmtoff member... no
configure: creating ./config.status
config.status: creating libosmocore.pc
config.status: creating libosmocodec.pc
config.status: creating libosmovty.pc
config.status: creating libosmogsm.pc
config.status: creating libosmogb.pc
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/vty/Makefile
config.status: creating src/codec/Makefile
config.status: creating src/gsm/Makefile
config.status: creating src/gb/Makefile
config.status: creating tests/Makefile
config.status: creating utils/Makefile
config.status: creating Doxyfile.core
config.status: creating Doxyfile.gsm
config.status: creating Doxyfile.vty
config.status: creating Doxyfile.codec
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
cd shared/libosmocore/build-target && make
make[1]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make all-recursive
make[2]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
Making all in include
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/include'
Making all in src
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
make all-am
make[4]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
CC timer.lo
CC select.lo
CC signal.lo
CC msgb.lo
CC bits.lo
CC bitvec.lo
CC statistics.lo
../../src/statistics.c: In function 'osmo_counter_get_by_name':
../../src/statistics.c:72:3: warning: implicit declaration of function
'strcmp'
CC write_queue.lo
CC utils.lo
../../src/utils.c: In function 'get_value_string':
../../src/utils.c:33:2: warning: format '%x' expects type 'unsigned int',
but argument 4 has type 'uint32_t'
../../src/utils.c: In function 'get_string_value':
../../src/utils.c:49:3: warning: implicit declaration of function
'strcasecmp'
CC socket.lo
CC logging.lo
../../src/logging.c: In function 'log_parse_category_mask':
../../src/logging.c:168:2: warning: implicit declaration of function
'strdup'
../../src/logging.c:168:15: warning: incompatible implicit declaration of
built-in function 'strdup'
../../src/logging.c:175:2: warning: implicit declaration of function
'strtok'
../../src/logging.c:175:17: warning: assignment makes pointer from integer
without a cast
../../src/logging.c:179:4: warning: implicit declaration of function
'strstr'
../../src/logging.c:179:18: warning: incompatible implicit declaration of
built-in function 'strstr'
../../src/logging.c:205:27: warning: assignment makes pointer from integer
without a cast
../../src/logging.c: In function '_file_output':
../../src/logging.c:446:2: warning: implicit declaration of function
'fprintf'
../../src/logging.c:446:2: warning: incompatible implicit declaration of
built-in function 'fprintf'
../../src/logging.c:447:2: warning: implicit declaration of function
'fflush'
../../src/logging.c: In function 'log_target_create_file':
../../src/logging.c:520:2: warning: implicit declaration of function 'fopen'
../../src/logging.c:520:23: warning: assignment makes pointer from integer
without a cast
../../src/logging.c: In function 'log_target_find':
../../src/logging.c:544:4: warning: implicit declaration of function
'strcmp'
../../src/logging.c: In function 'log_target_destroy':
../../src/logging.c:566:4: warning: implicit declaration of function
'fclose'
../../src/logging.c: In function 'log_target_file_reopen':
../../src/logging.c:579:23: warning: assignment makes pointer from integer
without a cast
CC logging_syslog.lo
CC rate_ctr.lo
../../src/rate_ctr.c: In function 'rate_ctr_get_group_by_name_idx':
../../src/rate_ctr.c:153:3: warning: implicit declaration of function
'strcmp'
CC gsmtap_util.lo
CC crc16.lo
CC panic.lo
CC backtrace.lo
CC conv.lo
CC application.lo
CC rbtree.lo
CC crc8gen.lo
CC crc16gen.lo
CC crc32gen.lo
CC crc64gen.lo
CCLD libosmocore.la
make[4]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
Making all in src/vty
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/vty'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/vty'
Making all in src/codec
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/codec'
CC gsm610.lo
CC gsm620.lo
CC gsm660.lo
CC gsm690.lo
CCLD libosmocodec.la
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/codec'
Making all in src/gsm
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gsm'
CC a5.lo
CC rxlev_stat.lo
CC tlv_parser.lo
CC comp128.lo
CC gsm_utils.lo
CC rsl.lo
CC gsm48.lo
../../../src/gsm/gsm48.c: In function 'gsm48_mi_to_string':
../../../src/gsm/gsm48.c:369:4: warning: format '%u' expects type 'unsigned
int', but argument 4 has type 'uint32_t'
CC gsm48_ie.lo
CC gsm0808.lo
CC sysinfo.lo
CC gprs_cipher_core.lo
CC gsm0480.lo
CC abis_nm.lo
CC gsm0502.lo
CC gsm0411_utils.lo
../../../src/gsm/gsm0411_utils.c: In function 'gsm340_gen_scts':
../../../src/gsm/gsm0411_utils.c:87:2: warning: #warning find a portable
way to obtain timezone offset
CC gsm0411_smc.lo
CC gsm0411_smr.lo
CC lapd_core.lo
../../../src/gsm/lapd_core.c: In function 'lapd_rx_u':
../../../src/gsm/lapd_core.c:834:5: warning: implicit declaration of
function 'memcmp'
CC lapdm.lo
CC auth_core.lo
CC auth_comp128v1.lo
CC auth_milenage.lo
CC aes-encblock.lo
CC aes-internal.lo
CC aes-internal-enc.lo
CC milenage.lo
../../../src/gsm/milenage/milenage.c: In function 'milenage_auts':
../../../src/gsm/milenage/milenage.c:226:6: warning: implicit declaration
of function 'memcmp'
CC gan.lo
CCLD libosmogsm.la
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gsm'
Making all in src/gb
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gb'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gb'
Making all in tests
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/tests'
Making all in utils
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/utils'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/utils'
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[2]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[1]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make -C host/layer23
make[1]: Entering directory `/opt/osmocom-bb/src/host/layer23'
Making all in include
make[2]: Entering directory `/opt/osmocom-bb/src/host/layer23/include'
Making all in osmocom
make[3]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
Making all in bb
make[4]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
Making all in common
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/common'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/common'
Making all in misc
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/misc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/misc'
Making all in mobile
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/mobile'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/mobile'
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[4]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[4]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[3]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/include'
make[2]: Leaving directory `/opt/osmocom-bb/src/host/layer23/include'
Making all in src
make[2]: Entering directory `/opt/osmocom-bb/src/host/layer23/src'
Making all in common
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/common'
CC l1ctl.o
CC l1l2_interface.o
CC sap_interface.o
CC logging.o
CC networks.o
CC sim.o
sim.c: In function ‘gsm_sim_reply’:
sim.c:146:11: warning: variable ‘payload’ set but not used
[-Wunused-but-set-variable]
CC sysinfo.o
CC gps.o
CC l1ctl_lapdm_glue.o
AR liblayer23.a
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/common'
Making all in misc
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/misc'
CC main.o
CC app_bcch_scan.o
app_bcch_scan.c: In function ‘signal_cb’:
app_bcch_scan.c:48:3: warning: implicit declaration of function ‘fps_start’
[-Wimplicit-function-declaration]
app_bcch_scan.c: In function ‘l23_app_init’:
app_bcch_scan.c:56:2: warning: implicit declaration of function ‘fps_init’
[-Wimplicit-function-declaration]
CC bcch_scan.o
bcch_scan.c: In function ‘cinfo_timer_cb’:
bcch_scan.c:198:2: warning: enumeration value ‘BSCAN_S_NONE’ not handled in
switch [-Wswitch]
bcch_scan.c:198:2: warning: enumeration value ‘BSCAN_S_DONE’ not handled in
switch [-Wswitch]
bcch_scan.c: In function ‘rx_sch_info’:
bcch_scan.c:236:1: warning: no return statement in function returning
non-void [-Wreturn-type]
bcch_scan.c: In function ‘bscan_sig_cb’:
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_NONE’ not handled in
switch [-Wswitch]
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_BINFO’ not handled in
switch [-Wswitch]
bcch_scan.c:241:20: warning: unused variable ‘ci’ [-Wunused-variable]
bcch_scan.c: At top level:
bcch_scan.c:206:12: warning: ‘rx_bcch_info’ defined but not used
[-Wunused-function]
bcch_scan.c:233:12: warning: ‘rx_sch_info’ defined but not used
[-Wunused-function]
CCLD bcch_scan
CC app_ccch_scan.o
app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:
app_ccch_scan.c:203:12: warning: variable ‘ma’ set but not used
[-Wunused-but-set-variable]
CC rslms.o
CCLD ccch_scan
CC app_echo_test.o
CCLD echo_test
CC app_cell_log.o
CC cell_log.o
CC geo.o
CCLD cell_log
CC app_cbch_sniff.o
CCLD cbch_sniff
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/misc'
Making all in mobile
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/mobile'
CC gsm322.o
gsm322.c: In function ‘gsm322_search_end’:
gsm322.c:2055:30: warning: variable ‘mnc’ set but not used
[-Wunused-but-set-variable]
gsm322.c: In function ‘gsm322_exit’:
gsm322.c:5142:7: warning: variable ‘rc’ set but not used
[-Wunused-but-set-variable]
CC gsm480_ss.o
gsm480_ss.c: In function ‘gsm480_mmss_ind’:
gsm480_ss.c:1221:6: warning: variable ‘rc’ set but not used
[-Wunused-but-set-variable]
CC gsm411_sms.o
gsm411_sms.c: In function ‘gsm340_rx_tpdu’:
gsm411_sms.c:228:19: warning: variable ‘sms_mms’ set but not used
[-Wunused-but-set-variable]
gsm411_sms.c: In function ‘gsm411_rx_rp_ud’:
gsm411_sms.c:375:2: warning: format ‘%li’ expects argument of type ‘long
int’, but argument 7 has type ‘int’ [-Wformat]
gsm411_sms.c: In function ‘gsm411_tx_sms_submit’:
gsm411_sms.c:657:3: warning: passing argument 4 of ‘gsm411_smc_init’ from
incompatible pointer type [enabled by default]
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: expected ‘int
(*)(struct gsm411_smc_inst *, int, struct msgb *, int)’ but argument is of
type ‘int (*)(struct gsm411_smc_inst *, int, struct msgb *)’
gsm411_sms.c:657:3: error: too many arguments to function ‘gsm411_smc_init’
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: declared here
gsm411_sms.c:659:3: error: too many arguments to function ‘gsm411_smr_init’
/usr/local/include/osmocom/gsm/gsm0411_smr.h:27:6: note: declared here
gsm411_sms.c: In function ‘gsm411_rcv_sms’:
gsm411_sms.c:911:4: warning: passing argument 4 of ‘gsm411_smc_init’ from
incompatible pointer type [enabled by default]
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: expected ‘int
(*)(struct gsm411_smc_inst *, int, struct msgb *, int)’ but argument is of
type ‘int (*)(struct gsm411_smc_inst *, int, struct msgb *)’
gsm411_sms.c:911:4: error: too many arguments to function ‘gsm411_smc_init’
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: declared here
gsm411_sms.c:913:4: error: too many arguments to function ‘gsm411_smr_init’
/usr/local/include/osmocom/gsm/gsm0411_smr.h:27:6: note: declared here
make[3]: *** [gsm411_sms.o] Error 1
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/mobile'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/osmocom-bb/src/host/layer23'
make: *** [host/layer23/layer23] Error 2*
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
or when i clean the installation again i run also the other command
root@ubuntu:/opt/osmocom-bb/src# make -e
CROSS_TOOL_PREFIX=/opt/install/bin/arm-elf-gcc-
*cd shared/libosmocore/build-target && ../configure \
--host=arm-elf --enable-embedded --disable-shared \
--disable-tests ac_cv_header_sys_select_h=no \
--disable-tests ac_cv_header_sys_socket_h=no \
CFLAGS="-Os -ffunction-sections
-I/opt/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs"
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-elf-strip... arm-elf-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for arm-elf-gcc... arm-elf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-elf-gcc accepts -g... yes
checking for arm-elf-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-elf-gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-elf
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-elf-gcc... /opt/install/arm-elf/bin/ld
checking if the linker (/opt/install/arm-elf/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/opt/install/bin/arm-elf-nm -B
checking the name lister (/opt/install/bin/arm-elf-nm -B) interface... BSD
nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to arm-unknown-elf
format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format...
func_convert_file_noop
checking for /opt/install/arm-elf/bin/ld option to reload object files... -r
checking for arm-elf-objdump... arm-elf-objdump
checking how to recognize dependent libraries... unknown
checking for arm-elf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-elf-ar... arm-elf-ar
checking for archiver @FILE support... @
checking for arm-elf-strip... (cached) arm-elf-strip
checking for arm-elf-ranlib... arm-elf-ranlib
checking command to parse /opt/install/bin/arm-elf-nm -B output from
arm-elf-gcc object... ok
checking for sysroot... no
checking for arm-elf-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... arm-elf-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if arm-elf-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-elf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-elf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-elf-gcc static flag -static works... yes
checking if arm-elf-gcc supports -c -o file.o... yes
checking if arm-elf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-elf-gcc linker (/opt/install/arm-elf/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for sys/select.h... (cached) no
checking for sys/socket.h... (cached) no
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing dlopen... no
checking for doxygen... false
checking if arm-elf-gcc supports -fvisibility=hidden... yes
checking whether struct tm has tm_gmtoff member... no
configure: creating ./config.status
config.status: creating libosmocore.pc
config.status: creating libosmocodec.pc
config.status: creating libosmovty.pc
config.status: creating libosmogsm.pc
config.status: creating libosmogb.pc
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/vty/Makefile
config.status: creating src/codec/Makefile
config.status: creating src/gsm/Makefile
config.status: creating src/gb/Makefile
config.status: creating tests/Makefile
config.status: creating utils/Makefile
config.status: creating Doxyfile.core
config.status: creating Doxyfile.gsm
config.status: creating Doxyfile.vty
config.status: creating Doxyfile.codec
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
cd shared/libosmocore/build-target && make
make[1]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make all-recursive
make[2]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
Making all in include
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/include'
Making all in src
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
make all-am
make[4]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
CC timer.lo
CC select.lo
CC signal.lo
CC msgb.lo
CC bits.lo
CC bitvec.lo
CC statistics.lo
../../src/statistics.c: In function 'osmo_counter_get_by_name':
../../src/statistics.c:72:3: warning: implicit declaration of function
'strcmp'
CC write_queue.lo
CC utils.lo
../../src/utils.c: In function 'get_value_string':
../../src/utils.c:33:2: warning: format '%x' expects type 'unsigned int',
but argument 4 has type 'uint32_t'
../../src/utils.c: In function 'get_string_value':
../../src/utils.c:49:3: warning: implicit declaration of function
'strcasecmp'
CC socket.lo
CC logging.lo
../../src/logging.c: In function 'log_parse_category_mask':
../../src/logging.c:168:2: warning: implicit declaration of function
'strdup'
../../src/logging.c:168:15: warning: incompatible implicit declaration of
built-in function 'strdup'
../../src/logging.c:175:2: warning: implicit declaration of function
'strtok'
../../src/logging.c:175:17: warning: assignment makes pointer from integer
without a cast
../../src/logging.c:179:4: warning: implicit declaration of function
'strstr'
../../src/logging.c:179:18: warning: incompatible implicit declaration of
built-in function 'strstr'
../../src/logging.c:205:27: warning: assignment makes pointer from integer
without a cast
../../src/logging.c: In function '_file_output':
../../src/logging.c:446:2: warning: implicit declaration of function
'fprintf'
../../src/logging.c:446:2: warning: incompatible implicit declaration of
built-in function 'fprintf'
../../src/logging.c:447:2: warning: implicit declaration of function
'fflush'
../../src/logging.c: In function 'log_target_create_file':
../../src/logging.c:520:2: warning: implicit declaration of function 'fopen'
../../src/logging.c:520:23: warning: assignment makes pointer from integer
without a cast
../../src/logging.c: In function 'log_target_find':
../../src/logging.c:544:4: warning: implicit declaration of function
'strcmp'
../../src/logging.c: In function 'log_target_destroy':
../../src/logging.c:566:4: warning: implicit declaration of function
'fclose'
../../src/logging.c: In function 'log_target_file_reopen':
../../src/logging.c:579:23: warning: assignment makes pointer from integer
without a cast
CC logging_syslog.lo
CC rate_ctr.lo
../../src/rate_ctr.c: In function 'rate_ctr_get_group_by_name_idx':
../../src/rate_ctr.c:153:3: warning: implicit declaration of function
'strcmp'
CC gsmtap_util.lo
CC crc16.lo
CC panic.lo
CC backtrace.lo
CC conv.lo
CC application.lo
CC rbtree.lo
CC crc8gen.lo
CC crc16gen.lo
CC crc32gen.lo
CC crc64gen.lo
CCLD libosmocore.la
make[4]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
Making all in src/vty
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/vty'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/vty'
Making all in src/codec
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/codec'
CC gsm610.lo
CC gsm620.lo
CC gsm660.lo
CC gsm690.lo
CCLD libosmocodec.la
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/codec'
Making all in src/gsm
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gsm'
CC a5.lo
CC rxlev_stat.lo
CC tlv_parser.lo
CC comp128.lo
CC gsm_utils.lo
CC rsl.lo
CC gsm48.lo
../../../src/gsm/gsm48.c: In function 'gsm48_mi_to_string':
../../../src/gsm/gsm48.c:369:4: warning: format '%u' expects type 'unsigned
int', but argument 4 has type 'uint32_t'
CC gsm48_ie.lo
CC gsm0808.lo
CC sysinfo.lo
CC gprs_cipher_core.lo
CC gsm0480.lo
CC abis_nm.lo
CC gsm0502.lo
CC gsm0411_utils.lo
../../../src/gsm/gsm0411_utils.c: In function 'gsm340_gen_scts':
../../../src/gsm/gsm0411_utils.c:87:2: warning: #warning find a portable
way to obtain timezone offset
CC gsm0411_smc.lo
CC gsm0411_smr.lo
CC lapd_core.lo
../../../src/gsm/lapd_core.c: In function 'lapd_rx_u':
../../../src/gsm/lapd_core.c:834:5: warning: implicit declaration of
function 'memcmp'
CC lapdm.lo
CC auth_core.lo
CC auth_comp128v1.lo
CC auth_milenage.lo
CC aes-encblock.lo
CC aes-internal.lo
CC aes-internal-enc.lo
CC milenage.lo
../../../src/gsm/milenage/milenage.c: In function 'milenage_auts':
../../../src/gsm/milenage/milenage.c:226:6: warning: implicit declaration
of function 'memcmp'
CC gan.lo
CCLD libosmogsm.la
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gsm'
Making all in src/gb
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gb'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gb'
Making all in tests
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/tests'
Making all in utils
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/utils'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/utils'
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[2]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[1]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make -C host/layer23
make[1]: Entering directory `/opt/osmocom-bb/src/host/layer23'
Making all in include
make[2]: Entering directory `/opt/osmocom-bb/src/host/layer23/include'
Making all in osmocom
make[3]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
Making all in bb
make[4]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
Making all in common
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/common'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/common'
Making all in misc
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/misc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/misc'
Making all in mobile
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/mobile'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/mobile'
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[4]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[4]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[3]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/include'
make[2]: Leaving directory `/opt/osmocom-bb/src/host/layer23/include'
Making all in src
make[2]: Entering directory `/opt/osmocom-bb/src/host/layer23/src'
Making all in common
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/common'
CC l1ctl.o
CC l1l2_interface.o
CC sap_interface.o
CC logging.o
CC networks.o
CC sim.o
sim.c: In function ‘gsm_sim_reply’:
sim.c:146:11: warning: variable ‘payload’ set but not used
[-Wunused-but-set-variable]
CC sysinfo.o
CC gps.o
CC l1ctl_lapdm_glue.o
AR liblayer23.a
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/common'
Making all in misc
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/misc'
CC main.o
CC app_bcch_scan.o
app_bcch_scan.c: In function ‘signal_cb’:
app_bcch_scan.c:48:3: warning: implicit declaration of function ‘fps_start’
[-Wimplicit-function-declaration]
app_bcch_scan.c: In function ‘l23_app_init’:
app_bcch_scan.c:56:2: warning: implicit declaration of function ‘fps_init’
[-Wimplicit-function-declaration]
CC bcch_scan.o
bcch_scan.c: In function ‘cinfo_timer_cb’:
bcch_scan.c:198:2: warning: enumeration value ‘BSCAN_S_NONE’ not handled in
switch [-Wswitch]
bcch_scan.c:198:2: warning: enumeration value ‘BSCAN_S_DONE’ not handled in
switch [-Wswitch]
bcch_scan.c: In function ‘rx_sch_info’:
bcch_scan.c:236:1: warning: no return statement in function returning
non-void [-Wreturn-type]
bcch_scan.c: In function ‘bscan_sig_cb’:
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_NONE’ not handled in
switch [-Wswitch]
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_BINFO’ not handled in
switch [-Wswitch]
bcch_scan.c:241:20: warning: unused variable ‘ci’ [-Wunused-variable]
bcch_scan.c: At top level:
bcch_scan.c:206:12: warning: ‘rx_bcch_info’ defined but not used
[-Wunused-function]
bcch_scan.c:233:12: warning: ‘rx_sch_info’ defined but not used
[-Wunused-function]
CCLD bcch_scan
CC app_ccch_scan.o
app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:
app_ccch_scan.c:203:12: warning: variable ‘ma’ set but not used
[-Wunused-but-set-variable]
CC rslms.o
CCLD ccch_scan
CC app_echo_test.o
CCLD echo_test
CC app_cell_log.o
CC cell_log.o
CC geo.o
CCLD cell_log
CC app_cbch_sniff.o
CCLD cbch_sniff
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/misc'
Making all in mobile
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/mobile'
CC gsm322.o
gsm322.c: In function ‘gsm322_search_end’:
gsm322.c:2055:30: warning: variable ‘mnc’ set but not used
[-Wunused-but-set-variable]
gsm322.c: In function ‘gsm322_exit’:
gsm322.c:5142:7: warning: variable ‘rc’ set but not used
[-Wunused-but-set-variable]
CC gsm480_ss.o
gsm480_ss.c: In function ‘gsm480_mmss_ind’:
gsm480_ss.c:1221:6: warning: variable ‘rc’ set but not used
[-Wunused-but-set-variable]
CC gsm411_sms.o
gsm411_sms.c: In function ‘gsm340_rx_tpdu’:
gsm411_sms.c:228:19: warning: variable ‘sms_mms’ set but not used
[-Wunused-but-set-variable]
gsm411_sms.c: In function ‘gsm411_rx_rp_ud’:
gsm411_sms.c:375:2: warning: format ‘%li’ expects argument of type ‘long
int’, but argument 7 has type ‘int’ [-Wformat]
gsm411_sms.c: In function ‘gsm411_tx_sms_submit’:
gsm411_sms.c:657:3: warning: passing argument 4 of ‘gsm411_smc_init’ from
incompatible pointer type [enabled by default]
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: expected ‘int
(*)(struct gsm411_smc_inst *, int, struct msgb *, int)’ but argument is of
type ‘int (*)(struct gsm411_smc_inst *, int, struct msgb *)’
gsm411_sms.c:657:3: error: too many arguments to function ‘gsm411_smc_init’
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: declared here
gsm411_sms.c:659:3: error: too many arguments to function ‘gsm411_smr_init’
/usr/local/include/osmocom/gsm/gsm0411_smr.h:27:6: note: declared here
gsm411_sms.c: In function ‘gsm411_rcv_sms’:
gsm411_sms.c:911:4: warning: passing argument 4 of ‘gsm411_smc_init’ from
incompatible pointer type [enabled by default]
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: expected ‘int
(*)(struct gsm411_smc_inst *, int, struct msgb *, int)’ but argument is of
type ‘int (*)(struct gsm411_smc_inst *, int, struct msgb *)’
gsm411_sms.c:911:4: error: too many arguments to function ‘gsm411_smc_init’
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: declared here
gsm411_sms.c:913:4: error: too many arguments to function ‘gsm411_smr_init’
/usr/local/include/osmocom/gsm/gsm0411_smr.h:27:6: note: declared here
make[3]: *** [gsm411_sms.o] Error 1
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/mobile'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/osmocom-bb/src/host/layer23'
make: *** [host/layer23/layer23] Error 2*
*
* *
* *
hi josephli,
> Read stored BA list mnc=01
the mobile application stores the last cells and neighbour cells (band
allocation) of each network. this way the scanning is much
faster when restarting. because you use the SIM card with MNC == 02 the
first time, there is no band allocation stored for that. the mobile will
do a full scan in this case.
> while the sim card service I am tesing is actually with mnc 00 and 02.
i know that MNC == 0 will not work until i commited improvements of cell
selection process last sunday. you should retry that, but first try with
an MNC > 0.
can you provide debug output when trying a call?
also can you provide VTY output of "show ms" before you make the call?
regards,
andreas