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