Some code that is disabled to be able to compile libmsc without libbsc is
related to communication to the BTS, that is replaced by the new A-interface.
However, the following bits are not; Any opinions about what to do with it:
- Report on which ARFCN and timeslot a silent call has occured.
I would simply drop the ARFCN and timeslot information, saying "silent call
successful". (same in two log messages)
static int scall_cbfn(unsigned int subsys, unsigned int signal,
void *handler_data, void *signal_data)
{
struct scall_signal_data *sigdata = signal_data;
struct vty *vty = sigdata->data;
switch (signal) {
case S_SCALL_SUCCESS:
vty_out(vty, "%% silent call on ARFCN %u timeslot %u%s",
sigdata->conn->lchan->ts->trx->arfcn, sigdata->conn->lchan->ts->nr,
VTY_NEWLINE);
break;
case S_SCALL_EXPIRED:
vty_out(vty, "%% silent call expired paging%s", VTY_NEWLINE);
break;
}
return 0;
}
- Add Osmocom specific TLVs to SMPP
/* Append the Osmocom vendor-specific additional TLVs to a SMPP msg */
static void append_osmo_tlvs(tlv_t **req_tlv, const struct gsm_lchan *lchan)
{
int idx = calc_initial_idx(ARRAY_SIZE(lchan->meas_rep),
lchan->meas_rep_idx, 1);
const struct gsm_meas_rep *mr = &lchan->meas_rep[idx];
const struct gsm_meas_rep_unidir *ul_meas = &mr->ul;
const struct gsm_meas_rep_unidir *dl_meas = &mr->dl;
/* Osmocom vendor-specific SMPP34 extensions */
append_tlv_u16(req_tlv, TLVID_osmo_arfcn, lchan->ts->trx->arfcn);
if (mr->flags & MEAS_REP_F_MS_L1) {
uint8_t ms_dbm;
append_tlv_u8(req_tlv, TLVID_osmo_ta, mr->ms_l1.ta);
ms_dbm = ms_pwr_dbm(lchan->ts->trx->bts->band, mr->ms_l1.pwr);
append_tlv_u8(req_tlv, TLVID_osmo_ms_l1_txpwr, ms_dbm);
} else if (mr->flags & MEAS_REP_F_MS_TO) /* Save Timing Offset field = MS Timing Offset + 63 */
append_tlv_u8(req_tlv, TLVID_osmo_ta, mr->ms_timing_offset + 63);
append_tlv_u16(req_tlv, TLVID_osmo_rxlev_ul,
rxlev2dbm(ul_meas->full.rx_lev));
append_tlv_u8(req_tlv, TLVID_osmo_rxqual_ul, ul_meas->full.rx_qual);
if (mr->flags & MEAS_REP_F_DL_VALID) {
append_tlv_u16(req_tlv, TLVID_osmo_rxlev_dl,
rxlev2dbm(dl_meas->full.rx_lev));
append_tlv_u8(req_tlv, TLVID_osmo_rxqual_dl,
dl_meas->full.rx_qual);
}
if (lchan->conn && lchan->conn->vsub) {
struct vlr_subscr *vsub = lchan->conn->vsub;
size_t imei_len = strlen(vsub->imei);
if (imei_len)
append_tlv(req_tlv, TLVID_osmo_imei,
(uint8_t *)vsub->imei, imei_len+1);
}
}
deliver_to_esme() {
[...]
if (esme->acl && esme->acl->osmocom_ext && conn->lchan)
append_osmo_tlvs(&deliver.tlv, conn->lchan);
[...]
}
- Siemens BS11 MRPCI
/* see mail on openbsc@ 9 Feb 2016 22:30:15 +0100
* We need to hook sending of MRPCI to Siemens BS11 somewhere else */
if (is_siemens_bts(conn->bts))
send_siemens_mrpci(msg->lchan, classmark2-1);
- Debug log: report bts - trx - ts - ti in mncc_rcvmsg()
(No BTS information available in OsmoMSC anymore)
- In gsm48_cc_rx_setup(), populate struct gsm_mncc setup with lchan type.
(lchan information is no longer available in OsmoMSC)
- In libmsc, gsm_04_08.c, we connect libbsc handle_abisip_signal(); the same is
done in osmo_bsc_audio.c in osmo_bsc_audio_init(), so I assume it can be
dropped from libmsc.
/*
* This will be run by the linker when loading the DSO. We use it to
* do system initialization, e.g. registration of signal handlers.
*/
static __attribute__((constructor)) void on_dso_load_0408(void)
{
osmo_signal_register_handler(SS_ABISIP, handle_abisip_signal, NULL);
}
~N
Hi,
> Error occurred during reading below line:
> timer t3103 0
I may be wrong, but it's probably related to recent change:
http://git.osmocom.org/openbsc/commit/?id=ab2454e776f1a4bc4977ef48ec2844600…
In short, it doesn't make sense to set '0' value to any timer.
So, updating the software, please also keep your configuration
updated ;)
With best regards,
Vadim Yanitskiy.
Hi All,
Requesting your help on this kind of issue. Upon running the osmo-nitb, we had received and error regarding the timer configuration.
osmo-nitb -C -c /root/osmocom_files/openbsc_1trx.conf -T -P -m
Sat Jul 22 18:28:18 2017 <0006> mncc_sock.c:316 MNCC socket at /tmp/bsc_mncc
There is no such command.
Error occurred during reading below line:
timer t3103 0
% Ignoring deprecated logging level everything
% Ignoring deprecated logging level everything
Sat Jul 22 18:28:18 2017 <0005> bsc_init.c:536 Failed to parse the config file: '/root/osmocom_files/openbsc_1trx.conf'
Reading config failed. Exiting.
But upon removing all the timer configured in the configuration file, osmo-nitb run as usual. Not sure if you guys removed it in purpose.
Kindly advice please.
osmo-nitb version used: 0.15.1.20170721
Best Regard,
Ron Menez
ron.menez(a)entropysolution.com<mailto:ron.menez@entropysolution.com>
(Posting to the OpenBSC list because I figured that the set of people
who issue their own SIMs probably has a good overlap with the set of
people who operate their own physical GSM networks.)
I am shopping for some non-carrier-branded, non-carrier-issued SIM
cards for use in testing my FreeCalypso GSM MS devices (specifically,
testing of the SIM interface in isolation without bringing up radio,
as well as radio and full MS functionality testing with a base station
simulator like CMU200 instead of live networks), and the only product
I found so far is sysmoUSIM - if anyone else makes a similar product
("generic" SIM cards for tinkerers), I would like to know about it.
In the case of sysmo(U)SIM cards, it looks like 2FF-only cards are no
longer available, and the current choices are 2FF+3FF or 2FF+4FF. My
question is: if I only want 2FF and have no interest in 3FF or 4FF,
which variant should I buy? In other words, which variant is
mechanically stronger and less likely to break in 2FF-only usage in
various kinds in 2FF sockets?
TIA,
Mychaela
Hi there!
I've been trying to install some old releases using the build_2g.sh
script, but I'm having problems.
The releases are:
OpenBSC 0.14.0
opengssn 0.92
libosmo-abis 0.3.1
libosmo-netif 0.0.4
libosmo-sccp 0.0.6.3
libsmpp34 1.10
libosmocore 0.8.0
Here is the output, I just want to know if this script is not compatible
with those releases, because building one by one on Debian 9 has been a
real fight, lol.
Cheers!
openbsc@debian:~/osmo$ ./build_2g.sh
+ base=/home/openbsc/osmo
+ builddir=build-2G
+ echo ======================= libosmocore ======================
======================= libosmocore ======================
+ cd /home/openbsc/osmo/libosmocore
+ [ 1 = 1 ]
+ set +e
+ make distclean
make: *** No rule to make target 'distclean'. Stop.
+ rm -rf build-2G
+ set -e
+ autoreconf -fi
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:14: installing './compile'
configure.ac:16: installing './config.guess'
configure.ac:16: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
src/Makefile.am: installing './depcomp'
src/gsm/Makefile.am:15: warning: source file 'milenage/aes-encblock.c'
is in a subdirectory,
src/gsm/Makefile.am:15: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the
'subdir-objects'
automake: automake option hasn't been enabled. For now, the
corresponding output
automake: object file(s) will be placed in the top-level directory.
However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same
subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option
throughout your
automake: project, to avoid future incompatibilities.
src/gsm/Makefile.am:15: warning: source file 'milenage/aes-internal.c'
is in a subdirectory,
src/gsm/Makefile.am:15: but option 'subdir-objects' is disabled
src/gsm/Makefile.am:15: warning: source file
'milenage/aes-internal-enc.c' is in a subdirectory,
src/gsm/Makefile.am:15: but option 'subdir-objects' is disabled
src/gsm/Makefile.am:15: warning: source file 'milenage/milenage.c' is in
a subdirectory,
src/gsm/Makefile.am:15: but option 'subdir-objects' is disabled
src/sim/Makefile.am:5: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')
tests/Makefile.am:21: warning: source file 'a5/a5_test.c' is in a
subdirectory,
tests/Makefile.am:21: but option 'subdir-objects' is disabled
tests/Makefile.am:30: warning: source file 'auth/milenage_test.c' is in
a subdirectory,
tests/Makefile.am:30: but option 'subdir-objects' is disabled
tests/Makefile.am:33: warning: source file 'bits/bitrev_test.c' is in a
subdirectory,
tests/Makefile.am:33: but option 'subdir-objects' is disabled
tests/Makefile.am:27: warning: source file 'comp128/comp128_test.c' is
in a subdirectory,
tests/Makefile.am:27: but option 'subdir-objects' is disabled
tests/Makefile.am:36: warning: source file 'conv/conv_test.c' is in a
subdirectory,
tests/Makefile.am:36: but option 'subdir-objects' is disabled
tests/Makefile.am:78: warning: source file 'fr/fr_test.c' is in a
subdirectory,
tests/Makefile.am:78: but option 'subdir-objects' is disabled
tests/Makefile.am:66: warning: source file 'gb/bssgp_fc_test.c' is in a
subdirectory,
tests/Makefile.am:66: but option 'subdir-objects' is disabled
tests/Makefile.am:69: warning: source file 'gb/gprs_bssgp_test.c' is in
a subdirectory,
tests/Makefile.am:69: but option 'subdir-objects' is disabled
tests/Makefile.am:72: warning: source file 'gb/gprs_ns_test.c' is in a
subdirectory,
tests/Makefile.am:72: but option 'subdir-objects' is disabled
tests/Makefile.am:42: warning: source file 'gsm0408/gsm0408_test.c' is
in a subdirectory,
tests/Makefile.am:42: but option 'subdir-objects' is disabled
tests/Makefile.am:39: warning: source file 'gsm0808/gsm0808_test.c' is
in a subdirectory,
tests/Makefile.am:39: but option 'subdir-objects' is disabled
tests/Makefile.am:24: warning: source file 'kasumi/kasumi_test.c' is in
a subdirectory,
tests/Makefile.am:24: but option 'subdir-objects' is disabled
tests/Makefile.am:24: warning: source file '../src/gsm/kasumi.c' is in a
subdirectory,
tests/Makefile.am:24: but option 'subdir-objects' is disabled
tests/Makefile.am:45: warning: source file 'lapd/lapd_test.c' is in a
subdirectory,
tests/Makefile.am:45: but option 'subdir-objects' is disabled
tests/Makefile.am:75: warning: source file 'logging/logging_test.c' is
in a subdirectory,
tests/Makefile.am:75: but option 'subdir-objects' is disabled
tests/Makefile.am:81: warning: source file 'logging/logging_test.c' is
in a subdirectory,
tests/Makefile.am:81: but option 'subdir-objects' is disabled
tests/Makefile.am:48: warning: source file 'msgfile/msgfile_test.c' is
in a subdirectory,
tests/Makefile.am:48: but option 'subdir-objects' is disabled
tests/Makefile.am:57: warning: source file 'sms/sms_test.c' is in a
subdirectory,
tests/Makefile.am:57: but option 'subdir-objects' is disabled
tests/Makefile.am:54: warning: source file 'smscb/gsm0341_test.c' is in
a subdirectory,
tests/Makefile.am:54: but option 'subdir-objects' is disabled
tests/Makefile.am:51: warning: source file 'smscb/smscb_test.c' is in a
subdirectory,
tests/Makefile.am:51: but option 'subdir-objects' is disabled
tests/Makefile.am:84: warning: source file 'strrb/strrb_test.c' is in a
subdirectory,
tests/Makefile.am:84: but option 'subdir-objects' is disabled
tests/Makefile.am:60: warning: source file 'timer/timer_test.c' is in a
subdirectory,
tests/Makefile.am:60: but option 'subdir-objects' is disabled
tests/Makefile.am:63: warning: source file 'ussd/ussd_test.c' is in a
subdirectory,
tests/Makefile.am:63: but option 'subdir-objects' is disabled
tests/Makefile.am:18: warning: source file 'utils/utils_test.c' is in a
subdirectory,
tests/Makefile.am:18: but option 'subdir-objects' is disabled
tests/Makefile.am:87: warning: source file 'vty/vty_test.c' is in a
subdirectory,
tests/Makefile.am:87: but option 'subdir-objects' is disabled
+ mkdir -p build-2G
+ cd build-2G
+ [ 1 = 1 ]
+ opt_enable=
+ [ libosmocore = openbsc/openbsc ]
+ ../configure --prefix=/home/openbsc/osmo
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... 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... no
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 whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
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 gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to
x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... 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... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing dlopen... -ldl
checking for backtrace in -lexecinfo... no
checking for doxygen... false
checking if gcc supports -fvisibility=hidden... yes
checking whether struct tm has tm_gmtoff member... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PCSC... yes
checking that generated files are newer than configure... done
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 libosmoctrl.pc
config.status: creating libosmosim.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/sim/Makefile
config.status: creating src/gsm/Makefile
config.status: creating src/gb/Makefile
config.status: creating src/ctrl/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: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
+ set +e
+ make clean
Making clean in include
make[1]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/include'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/include'
Making clean in src
make[1]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src'
test -z "libosmocore.la" || rm -f libosmocore.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src'
Making clean in src/vty
make[1]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/vty'
test -z "libosmovty.la" || rm -f libosmovty.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/vty'
Making clean in src/codec
make[1]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/codec'
test -z "libosmocodec.la" || rm -f libosmocodec.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory
'/home/openbsc/osmo/libosmocore/build-2G/src/codec'
Making clean in src/gsm
make[1]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/gsm'
test -z "libosmogsm.la" || rm -f libosmogsm.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/gsm'
Making clean in src/gb
make[1]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src/gb'
test -z "libosmogb.la" || rm -f libosmogb.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/gb'
Making clean in src/ctrl
make[1]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/ctrl'
test -z "libosmoctrl.la" || rm -f libosmoctrl.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory
'/home/openbsc/osmo/libosmocore/build-2G/src/ctrl'
Making clean in src/sim
make[1]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/sim'
test -z "libosmosim.la" || rm -f libosmosim.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/sim'
Making clean in tests
make[1]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/tests'
rm -f timer/timer_test sms/sms_test ussd/ussd_test smscb/smscb_test
bits/bitrev_test a5/a5_test conv/conv_test auth/milenage_test
lapd/lapd_test gsm0808/gsm0808_test gsm0408/gsm0408_test
gb/bssgp_fc_test gb/gprs_bssgp_test gb/gprs_ns_test kasumi/kasumi_test
logging/logging_test fr/fr_test loggingrb/loggingrb_test
strrb/strrb_test vty/vty_test comp128/comp128_test utils/utils_test
smscb/gsm0341_test msgfile/msgfile_test
rm -rf .libs _libs
rm -rf a5/.libs a5/_libs
rm -rf auth/.libs auth/_libs
rm -rf bits/.libs bits/_libs
rm -rf comp128/.libs comp128/_libs
rm -rf conv/.libs conv/_libs
rm -rf fr/.libs fr/_libs
rm -rf gb/.libs gb/_libs
rm -rf gsm0408/.libs gsm0408/_libs
rm -rf gsm0808/.libs gsm0808/_libs
rm -rf kasumi/.libs kasumi/_libs
rm -rf lapd/.libs lapd/_libs
rm -rf logging/.libs logging/_libs
rm -rf loggingrb/.libs loggingrb/_libs
rm -rf msgfile/.libs msgfile/_libs
rm -rf sms/.libs sms/_libs
rm -rf smscb/.libs smscb/_libs
rm -rf strrb/.libs strrb/_libs
rm -rf timer/.libs timer/_libs
rm -rf ussd/.libs ussd/_libs
rm -rf utils/.libs utils/_libs
rm -rf vty/.libs vty/_libs
test ! -f '../../tests/testsuite' || \
/bin/bash '../../tests/testsuite' --clean
rm -f *.o
rm -f *.lo
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/tests'
Making clean in utils
make[1]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/utils'
rm -f osmo-arfcn osmo-auc-gen
rm -rf .libs _libs
rm -f osmo-sim-test
rm -f *.o
rm -f *.lo
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/utils'
make[1]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G'
rm -rf .libs _libs
test -z "" || rm -f
rm -f *.lo
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G'
+ set -e
+ make -j
echo UNKNOWN > ../.version-t && mv ../.version-t ../.version
make all-recursive
make[1]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G'
Making all in include
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/include'
GEN osmocom/core/bit32gen.h
GEN osmocom/core/crc8gen.h
GEN osmocom/core/crc16gen.h
GEN osmocom/core/crc32gen.h
GEN osmocom/core/crc64gen.h
GEN osmocom/core/bit16gen.h
GEN osmocom/core/bit64gen.h
GEN osmocom/core/crc64gen.h
GEN osmocom/core/crc32gen.h
GEN osmocom/core/crc8gen.h
GEN osmocom/core/bit16gen.h
GEN osmocom/core/bit64gen.h
GEN osmocom/core/bit32gen.h
GEN osmocom/core/crc16gen.h
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/include'
Making all in src
make[2]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src'
GEN crc64gen.c
GEN crc32gen.c
GEN crc8gen.c
GEN crc16gen.c
make all-am
make[3]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src'
CC select.lo
CC bits.lo
CC signal.lo
CC timer.lo
CC write_queue.lo
CC socket.lo
CC statistics.lo
CC bitvec.lo
CC msgb.lo
CC utils.lo
CC logging.lo
CC gsmtap_util.lo
CC logging_syslog.lo
CC rate_ctr.lo
CC panic.lo
CC crc16.lo
CC application.lo
CC backtrace.lo
CC conv.lo
CC strrb.lo
CC rbtree.lo
CC crc16gen.lo
CC loggingrb.lo
CC crc8gen.lo
CC crc32gen.lo
CC crc64gen.lo
CC macaddr.lo
CC plugin.lo
CC msgfile.lo
CC talloc.lo
CC serial.lo
CCLD libosmocore.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src'
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src'
Making all in src/vty
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/vty'
CC command.lo
CC utils.lo
CC vector.lo
CC buffer.lo
CC telnet_interface.lo
CC vty.lo
CC logging_vty.lo
CCLD libosmovty.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/vty'
Making all in src/codec
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/codec'
CC gsm620.lo
CC gsm660.lo
CC gsm610.lo
CC gsm690.lo
CCLD libosmocodec.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory
'/home/openbsc/osmo/libosmocore/build-2G/src/codec'
Making all in src/gsm
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/gsm'
CC tlv_parser.lo
CC rxlev_stat.lo
CC comp128v23.lo
CC a5.lo
CC gsm48.lo
CC rsl.lo
CC gsm_utils.lo
CC comp128.lo
CC gsm48_ie.lo
CC gprs_cipher_core.lo
CC gsm0808.lo
CC sysinfo.lo
CC gsm0502.lo
CC abis_nm.lo
CC gsm0480.lo
CC gsm0411_smr.lo
CC gsm0411_utils.lo
CC gsm0411_smc.lo
CC lapd_core.lo
CC lapdm.lo
CC auth_comp128v1.lo
CC kasumi.lo
CC auth_milenage.lo
CC auth_comp128v23.lo
CC auth_core.lo
CC aes-encblock.lo
CC milenage.lo
CC aes-internal.lo
CC aes-internal-enc.lo
CC gsm0341.lo
CC gan.lo
CC ipa.lo
../../../src/gsm/gan.c:71:34: warning: ‘gan_pdisc_vals’ defined but not
used [-Wunused-const-variable=]
static const struct value_string gan_pdisc_vals[] = {
^~~~~~~~~~~~~~
CCLD libosmogsm.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/gsm'
Making all in src/gb
make[2]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src/gb'
CC gprs_ns_vty.lo
CC gprs_ns_frgre.lo
CC gprs_bssgp.lo
CC gprs_bssgp_util.lo
CC gprs_bssgp_bss.lo
CC gprs_bssgp_vty.lo
CC gprs_ns.lo
CC common_vty.lo
../../../src/gb/gprs_bssgp_bss.c: In function ‘bssgp_rx_paging’:
../../../src/gb/gprs_bssgp_bss.c:542:2: warning: this ‘if’ clause does
not guard... [-Wmisleading-indentation]
if (TLVP_PRESENT(&tp, BSSGP_IE_TMSI) &&
^~
../../../src/gb/gprs_bssgp_bss.c:546:3: note: ...this statement, but the
latter is misleadingly indented as if it is guarded by the ‘if’
*(pinfo->ptmsi) = ntohl(*(uint32_t *)
^
../../../src/gb/gprs_bssgp_vty.c:47:34: warning: ‘gprs_bssgp_timer_strs’
defined but not used [-Wunused-const-variable=]
static const struct value_string gprs_bssgp_timer_strs[] = {
^~~~~~~~~~~~~~~~~~~~~
CCLD libosmogb.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/gb'
Making all in src/ctrl
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/ctrl'
CC control_cmd.lo
CC control_if.lo
../../../src/ctrl/control_if.c: In function ‘listen_fd_cb’:
../../../src/ctrl/control_if.c:365:15: warning: unused variable ‘on’
[-Wunused-variable]
int ret, fd, on;
^~
CCLD libosmoctrl.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory
'/home/openbsc/osmo/libosmocore/build-2G/src/ctrl'
Making all in src/sim
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/sim'
CC reader_pcsc.lo
CC card_fs_usim.lo
CC card_fs_uicc.lo
CC card_fs_sim.lo
CC reader.lo
CC card_fs_isim.lo
CC core.lo
CC card_fs_tetra.lo
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../include/osmocom/sim/sim.h:4,
from ../../../src/sim/card_fs_uicc.c:24:
../../../include/osmocom/core/bits.h:6:35: fatal error:
osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
^
compilation terminated.
Makefile:470: recipe for target 'card_fs_uicc.lo' failed
make[2]: *** [card_fs_uicc.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../include/osmocom/sim/sim.h:4,
from ../../../src/sim/card_fs_isim.c:27:
../../../include/osmocom/core/bits.h:6:35: fatal error:
osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
^
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../include/osmocom/sim/sim.h:4,
from ../../../src/sim/core.c:29:
../../../include/osmocom/core/bits.h:6:35: fatal error:
osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
^
compilation terminated.
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../include/osmocom/sim/sim.h:4,
from ../../../src/sim/reader_pcsc.c:30:
../../../include/osmocom/core/bits.h:6:35: fatal error:
osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
^
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../include/osmocom/sim/sim.h:4,
from ../../../src/sim/card_fs_usim.c:27:
../../../include/osmocom/core/bits.h:6:35: fatal error:
osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
^
compilation terminated.
compilation terminated.
compilation terminated.
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../include/osmocom/sim/sim.h:4,
from ../../../src/sim/card_fs_sim.c:26:
../../../include/osmocom/core/bits.h:6:35: fatal error:
osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
^
compilation terminated.
Makefile:470: recipe for target 'card_fs_usim.lo' failed
make[2]: *** [card_fs_usim.lo] Error 1
Makefile:470: recipe for target 'reader_pcsc.lo' failed
make[2]: *** [reader_pcsc.lo] Error 1
Makefile:470: recipe for target 'card_fs_isim.lo' failed
make[2]: *** [card_fs_isim.lo] Error 1
Makefile:470: recipe for target 'card_fs_sim.lo' failed
make[2]: *** [card_fs_sim.lo] Error 1
Makefile:470: recipe for target 'core.lo' failed
make[2]: *** [core.lo] Error 1
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../include/osmocom/sim/sim.h:4,
from ../../../src/sim/card_fs_tetra.c:26:
../../../include/osmocom/core/bits.h:6:35: fatal error:
osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
^
compilation terminated.
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../src/sim/reader.c:32:
../../../include/osmocom/core/bits.h:6:35: fatal error:
osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
^
compilation terminated.
Makefile:470: recipe for target 'card_fs_tetra.lo' failed
make[2]: *** [card_fs_tetra.lo] Error 1
Makefile:470: recipe for target 'reader.lo' failed
make[2]: *** [reader.lo] Error 1
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/sim'
Makefile:518: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G'
Makefile:386: recipe for target 'all' failed
make: *** [all] Error 2
+ make
make all-recursive
make[1]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G'
Making all in include
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/include'
Making all in src
make[2]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src'
make all-am
make[3]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src'
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src'
Making all in src/vty
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/vty'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/vty'
Making all in src/codec
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/codec'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/home/openbsc/osmo/libosmocore/build-2G/src/codec'
Making all in src/gsm
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/gsm'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/gsm'
Making all in src/gb
make[2]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src/gb'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/gb'
Making all in src/ctrl
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/ctrl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/home/openbsc/osmo/libosmocore/build-2G/src/ctrl'
Making all in src/sim
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/sim'
CC core.lo
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../include/osmocom/sim/sim.h:4,
from ../../../src/sim/core.c:29:
../../../include/osmocom/core/bits.h:6:35: fatal error:
osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
^
compilation terminated.
Makefile:470: recipe for target 'core.lo' failed
make[2]: *** [core.lo] Error 1
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/sim'
Makefile:518: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G'
Makefile:386: recipe for target 'all' failed
make: *** [all] Error 2
+ make
make all-recursive
make[1]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G'
Making all in include
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/include'
Making all in src
make[2]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src'
make all-am
make[3]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src'
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src'
Making all in src/vty
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/vty'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/vty'
Making all in src/codec
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/codec'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/home/openbsc/osmo/libosmocore/build-2G/src/codec'
Making all in src/gsm
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/gsm'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/gsm'
Making all in src/gb
make[2]: Entering directory '/home/openbsc/osmo/libosmocore/build-2G/src/gb'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/gb'
Making all in src/ctrl
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/ctrl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/home/openbsc/osmo/libosmocore/build-2G/src/ctrl'
Making all in src/sim
make[2]: Entering directory
'/home/openbsc/osmo/libosmocore/build-2G/src/sim'
CC core.lo
In file included from ../../../include/osmocom/core/msgb.h:25:0,
from ../../../include/osmocom/sim/sim.h:4,
from ../../../src/sim/core.c:29:
../../../include/osmocom/core/bits.h:6:35: fatal error:
osmocom/core/bit16gen.h: No such file or directory
#include <osmocom/core/bit16gen.h>
^
compilation terminated.
Makefile:470: recipe for target 'core.lo' failed
make[2]: *** [core.lo] Error 1
make[2]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G/src/sim'
Makefile:518: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/openbsc/osmo/libosmocore/build-2G'
Makefile:386: recipe for target 'all' failed
make: *** [all] Error 2
btw, I apologize for the noise around the osmo-msc patch review, it's a
challenge to keep all the eggs in the basket. For once I added python tests as
well as the various --enable- flags to 'make distcheck', then tried to get the
patches to pass the build check, and only now am really taking care of the all
the remaining code review. Every time I think it's settled, something else pops
up. Hope to be done with the current batch today.
~N
Review at https://gerrit.osmocom.org/3322
Rename osmo_pcap_{client_server} executables to osmo-pcap-{client,server}
This naming is more in line with what all the other osmocom programs are
doing (e.g. osmo-pcu, osmo-bts-sysmo, osmo-bsc, ...). We don't
generally use osmo_ anywhere else, so I suggest to change it for more
uniformity.
Change-Id: If1e3ce76f93266e0f01c801204769432b571fdb1
---
M src/Makefile.am
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/22/3322/1
diff --git a/src/Makefile.am b/src/Makefile.am
index 0532acf..17ed4e3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)/
AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(PCAP_CFLAGS) $(LIBGNUTLS_CFLAGS)
-bin_PROGRAMS = osmo_pcap_client osmo_pcap_server
+bin_PROGRAMS = osmo-pcap-client osmo-pcap-server
osmo_pcap_client_SOURCES = osmo_client_main.c osmo_common.c \
osmo_client_core.c osmo_client_vty.c \
--
To view, visit https://gerrit.osmocom.org/3322
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If1e3ce76f93266e0f01c801204769432b571fdb1
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcap
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge(a)gnumonks.org>