Pull to refresh
0
0

IT'SHNIK

Send message
Обязательно, всё попробую)) скажите, не сталкивались ли с такой проблемой, при установке libosmo-dsp при выполнении команды make:

movsar-virtual-machine libosmo-dsp # make
make all-recursive
make[1]: Entering directory '/home/movsar/osmocombb/master/src/libosmo-dsp'
Making all in include
make[2]: Entering directory '/home/movsar/osmocombb/master/src/libosmo-dsp/include'
Making all in osmocom
make[3]: Entering directory '/home/movsar/osmocombb/master/src/libosmo-dsp/include/osmocom'
Making all in dsp
make[4]: Entering directory '/home/movsar/osmocombb/master/src/libosmo-dsp/include/osmocom/dsp'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/movsar/osmocombb/master/src/libosmo-dsp/include/osmocom/dsp'
make[4]: Entering directory '/home/movsar/osmocombb/master/src/libosmo-dsp/include/osmocom'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/movsar/osmocombb/master/src/libosmo-dsp/include/osmocom'
make[3]: Leaving directory '/home/movsar/osmocombb/master/src/libosmo-dsp/include/osmocom'
make[3]: Entering directory '/home/movsar/osmocombb/master/src/libosmo-dsp/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/movsar/osmocombb/master/src/libosmo-dsp/include'
make[2]: Leaving directory '/home/movsar/osmocombb/master/src/libosmo-dsp/include'
Making all in src
make[2]: Entering directory '/home/movsar/osmocombb/master/src/libosmo-dsp/src'
CCLD libosmodsp.la
/usr/bin/ld: /usr/local/lib/libfftw3f.a(apiplan.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libfftw3f.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:407: recipe for target 'libosmodsp.la' failed
make[2]: *** [libosmodsp.la] Error 1
make[2]: Leaving directory '/home/movsar/osmocombb/master/src/libosmo-dsp/src'
Makefile:487: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/movsar/osmocombb/master/src/libosmo-dsp'
Makefile:373: recipe for target 'all' failed
make: *** [all] Error 2
movsar-virtual-machine libosmo-dsp #

Да ubuntu.Вчера пробовал на debian 9, но я не знаю как установить deb Nightly Builds пакеты((

попробую разобраться.
Ошибка при выполнении
cd osmocombb/src
make --при выполнении этой команды, лог:
configure: WARNING: syslog.h: section "Present But Cannot Be Compiled"
configure: WARNING: syslog.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------------- ##
configure: WARNING: ## Report this to openbsc@lists.osmocom.org ##
configure: WARNING: ## ---------------------------------------- ##
checking for syslog.h... no
checking ctype.h usability... no
checking ctype.h presence... yes
configure: WARNING: ctype.h: present but cannot be compiled
configure: WARNING: ctype.h: check for missing prerequisite headers?
configure: WARNING: ctype.h: see the Autoconf documentation
configure: WARNING: ctype.h: section "Present But Cannot Be Compiled"
configure: WARNING: ctype.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------------- ##
configure: WARNING: ## Report this to openbsc@lists.osmocom.org ##
configure: WARNING: ## ---------------------------------------- ##
checking for ctype.h... no
checking for size_t... no
checking for working alloca.h... no
checking for alloca... yes
checking for library containing dlopen... -ldl
checking for doxygen... false
checking if gcc supports -fvisibility=hidden... yes
checking whether struct tm has tm_gmtoff member... no
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 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: 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 `/home/bart/osmocombb/src/shared/libosmocore/build-target'
echo UNKNOWN > ../.version-t && mv ../.version-t ../.version
make all-recursive
make[2]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target'
Making all in include
make[3]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/include'
GEN osmocom/core/crc16gen.h
GEN osmocom/core/crc16gen.h
GEN osmocom/core/crc32gen.h
GEN osmocom/core/crc32gen.h
GEN osmocom/core/crc64gen.h
GEN osmocom/core/crc64gen.h
GEN osmocom/core/crc8gen.h
GEN osmocom/core/crc8gen.h
make[3]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/include'
Making all in src
make[3]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
GEN crc8gen.c
GEN crc16gen.c
GEN crc32gen.c
GEN crc64gen.c
make all-am
make[4]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
CC timer.lo
In file included from /usr/include/i386-linux-gnu/sys/types.h:216:0,
from /home/bart/osmocombb/src/target/firmware/include/string.h:4,
from ../../src/timer.c:38:
/home/bart/osmocombb/src/target/firmware/include/endian.h:5:24: fatal error: sys/_types.h: No such file or directory
#include <sys/_types.h>
^
compilation terminated.
make[4]: *** [timer.lo] Error 1
make[4]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target'
make: *** [shared/libosmocore/build-target/src/.libs/libosmocore.a] Error 2
bart@bart-VirtualBox:~/osmocombb/src$ make
cd shared/libosmocore/build-target && ../configure \
--host=arm-none-eabi --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/home/bart/osmocombb/src/target/firmware/include -nostartfiles -nodefaultlibs"
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
../configure: line 1951: config.log: Permission denied
../configure: line 1961: config.log: Permission denied
make: *** [shared/libosmocore/build-target/Makefile] Error 1
bart@bart-VirtualBox:~/osmocombb/src$ sudo make
cd shared/libosmocore/build-target && ../configure \
--host=arm-none-eabi --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/home/bart/osmocombb/src/target/firmware/include -nostartfiles -nodefaultlibs"
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-none-eabi-strip... no
checking for strip... 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 supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for arm-none-eabi-gcc... no
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... yes
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... unsupported
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... i686-pc-linux-gnu
checking host system type... arm-none-eabi
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)... no
checking for arm-none-eabi-dumpbin... no
checking for arm-none-eabi-link... no
checking for dumpbin... no
checking for link... link -dump
configure: WARNING: using cross tools not prefixed with host triplet
checking the name lister (nm) 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-none-eabi format... func_convert_file_noop
checking how to convert i686-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 arm-none-eabi-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... unknown
checking for arm-none-eabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-none-eabi-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for arm-none-eabi-strip... strip
checking for arm-none-eabi-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
checking for arm-none-eabi-mt... no
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... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for dlfcn.h... no
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... no
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) 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) no
checking execinfo.h usability... no
checking execinfo.h presence... yes
configure: WARNING: execinfo.h: present but cannot be compiled
configure: WARNING: execinfo.h: check for missing prerequisite headers?
configure: WARNING: execinfo.h: see the Autoconf documentation
configure: WARNING: execinfo.h: section "Present But Cannot Be Compiled"
configure: WARNING: execinfo.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------------- ##
configure: WARNING: ## Report this to openbsc@lists.osmocom.org ##
configure: WARNING: ## ---------------------------------------- ##
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... yes
configure: WARNING: syslog.h: present but cannot be compiled
configure: WARNING: syslog.h: check for missing prerequisite headers?
configure: WARNING: syslog.h: see the Autoconf documentation
configure: WARNING: syslog.h: section "Present But Cannot Be Compiled"
configure: WARNING: syslog.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------------- ##
configure: WARNING: ## Report this to openbsc@lists.osmocom.org ##
configure: WARNING: ## ---------------------------------------- ##
checking for syslog.h... no
checking ctype.h usability... no
checking ctype.h presence... yes
configure: WARNING: ctype.h: present but cannot be compiled
configure: WARNING: ctype.h: check for missing prerequisite headers?
configure: WARNING: ctype.h: see the Autoconf documentation
configure: WARNING: ctype.h: section "Present But Cannot Be Compiled"
configure: WARNING: ctype.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------------- ##
configure: WARNING: ## Report this to openbsc@lists.osmocom.org ##
configure: WARNING: ## ---------------------------------------- ##
checking for ctype.h... no
checking for size_t... no
checking for working alloca.h... no
checking for alloca... yes
checking for library containing dlopen... -ldl
checking for doxygen... false
checking if gcc supports -fvisibility=hidden... yes
checking whether struct tm has tm_gmtoff member... no
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 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 `/home/bart/osmocombb/src/shared/libosmocore/build-target'
make all-recursive
make[2]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target'
Making all in include
make[3]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/include'
Making all in src
make[3]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
make all-am
make[4]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
CC timer.lo
In file included from /usr/include/i386-linux-gnu/sys/types.h:216:0,
from /home/bart/osmocombb/src/target/firmware/include/string.h:4,
from ../../src/timer.c:38:
/home/bart/osmocombb/src/target/firmware/include/endian.h:5:24: fatal error: sys/_types.h: No such file or directory
#include <sys/_types.h>
^
compilation terminated.
make[4]: *** [timer.lo] Error 1
make[4]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target'
make: *** [shared/libosmocore/build-target/src/.libs/libosmocore.a] Error 2
bart@bart-VirtualBox:~/osmocombb/src$
bart@bart-VirtualBox:~/osmocombb/src$ clear

bart@bart-VirtualBox:~/osmocombb/src$ sudo make
cd shared/libosmocore/build-target && ../configure \
--host=arm-none-eabi --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/home/bart/osmocombb/src/target/firmware/include -nostartfiles -nodefaultlibs"
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-none-eabi-strip... no
checking for strip... 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 supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for arm-none-eabi-gcc... no
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... yes
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... unsupported
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... i686-pc-linux-gnu
checking host system type... arm-none-eabi
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)... no
checking for arm-none-eabi-dumpbin... no
checking for arm-none-eabi-link... no
checking for dumpbin... no
checking for link... link -dump
configure: WARNING: using cross tools not prefixed with host triplet
checking the name lister (nm) 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-none-eabi format... func_convert_file_noop
checking how to convert i686-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 arm-none-eabi-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... unknown
checking for arm-none-eabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-none-eabi-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for arm-none-eabi-strip... strip
checking for arm-none-eabi-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
checking for arm-none-eabi-mt... no
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... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for dlfcn.h... no
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... no
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) 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) no
checking execinfo.h usability... no
checking execinfo.h presence... yes
configure: WARNING: execinfo.h: present but cannot be compiled
configure: WARNING: execinfo.h: check for missing prerequisite headers?
configure: WARNING: execinfo.h: see the Autoconf documentation
configure: WARNING: execinfo.h: section "Present But Cannot Be Compiled"
configure: WARNING: execinfo.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------------- ##
configure: WARNING: ## Report this to openbsc@lists.osmocom.org ##
configure: WARNING: ## ---------------------------------------- ##
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... yes
configure: WARNING: syslog.h: present but cannot be compiled
configure: WARNING: syslog.h: check for missing prerequisite headers?
configure: WARNING: syslog.h: see the Autoconf documentation
configure: WARNING: syslog.h: section "Present But Cannot Be Compiled"
configure: WARNING: syslog.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------------- ##
configure: WARNING: ## Report this to openbsc@lists.osmocom.org ##
configure: WARNING: ## ---------------------------------------- ##
checking for syslog.h... no
checking ctype.h usability... no
checking ctype.h presence... yes
configure: WARNING: ctype.h: present but cannot be compiled
configure: WARNING: ctype.h: check for missing prerequisite headers?
configure: WARNING: ctype.h: see the Autoconf documentation
configure: WARNING: ctype.h: section "Present But Cannot Be Compiled"
configure: WARNING: ctype.h: proceeding with the compiler's result
configure: WARNING: ## ---------------------------------------- ##
configure: WARNING: ## Report this to openbsc@lists.osmocom.org ##
configure: WARNING: ## ---------------------------------------- ##
checking for ctype.h... no
checking for size_t... no
checking for working alloca.h... no
checking for alloca... yes
checking for library containing dlopen... -ldl
checking for doxygen... false
checking if gcc supports -fvisibility=hidden... yes
checking whether struct tm has tm_gmtoff member... no
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 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 `/home/bart/osmocombb/src/shared/libosmocore/build-target'
make all-recursive
make[2]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target'
Making all in include
make[3]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/include'
Making all in src
make[3]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
make all-am
make[4]: Entering directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
CC timer.lo
In file included from /usr/include/i386-linux-gnu/sys/types.h:216:0,
from /home/bart/osmocombb/src/target/firmware/include/string.h:4,
from ../../src/timer.c:38:
/home/bart/osmocombb/src/target/firmware/include/endian.h:5:24: fatal error: sys/_types.h: No such file or directory
#include <sys/_types.h>
^
compilation terminated.
make[4]: *** [timer.lo] Error 1
make[4]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/bart/osmocombb/src/shared/libosmocore/build-target'
make: *** [shared/libosmocore/build-target/src/.libs/libosmocore.a] Error 2
bart@bart-VirtualBox:~/osmocombb/src$


Добавил.После запуска build.sh пишет:

— |--- ./gcc/doc/gcc.texi.orig 2017-03-01 16:56:48.000000000 -0800
|+++ ./gcc/doc/gcc.texi 2017-03-01 17:03:38.000000000 -0800
— File to patch:

Я добавил строку в build.sh строку patch -p < ../patch-gcc46-texi.diff
но всё равно та же ошибка

/opt/osmocom/gnu-arm-toolchain/src/gcc-4.5.2/gcc/doc/gcc.texi:89: warning: tex should only appear at the beginning of a line
/opt/osmocom/gnu-arm-toolchain/src/gcc-4.5.2/gcc/doc/gcc.texi:209: no matching `@end tex'
/opt/osmocom/gnu-arm-toolchain/src/gcc-4.5.2/gcc/doc/gcc.texi:209: no matching `@end multitable'
/opt/osmocom/gnu-arm-toolchain/src/gcc-4.5.2/gcc/doc/gcc.texi:209: no matching `@end titlepage'
Makefile:4052: recipe for target 'doc/gcc.info' failed
make[1]: *** [doc/gcc.info] Error 1
make[1]: Leaving directory '/opt/osmocom/gnu-arm-toolchain/build/gcc-4.5.2/gcc'
Makefile:5024: recipe for target 'all-gcc' failed
make: *** [all-gcc] Error 2

а это куда добавить? — src/gcc-4.5.2/gcc/doc/gcc.texi.orig 2017-03-01 16:56:48.000000000 -0800
+++ src/gcc-4.5.2/gcc/doc/gcc.texi 2017-03-01 17:03:38.000000000 -0800
@@ -86,9 +86,15 @@ итд -это невозможно скопировать :)
Ошибка при выполнении ./build.sh

gcc.info /root/gnu-arm-installer/src/gcc-4.5.2/gcc/doc/gcc.texi; \
fi
/root/gnu-arm-installer/src/gcc-4.5.2/gcc/doc/gcc.texi:89: warning: tex should only appear at the beginning of a line
/root/gnu-arm-installer/src/gcc-4.5.2/gcc/doc/gcc.texi:209: no matching `@end tex'
/root/gnu-arm-installer/src/gcc-4.5.2/gcc/doc/gcc.texi:209: no matching `@end multitable'
/root/gnu-arm-installer/src/gcc-4.5.2/gcc/doc/gcc.texi:209: no matching `@end titlepage'
Makefile:4052: recipe for target 'doc/gcc.info' failed
make[1]: *** [doc/gcc.info] Error 1
make[1]: Leaving directory '/root/gnu-arm-installer/build/gcc-4.5.2/gcc'
Makefile:5024: recipe for target 'all-gcc' failed
make: *** [all-gcc] Error 2
root@kali:~/gnu-arm-installer#
Много ошибок при сборке, например при сборке того же libdbi и FFT и osmocom'a)) пробовал на виртуальной машине (virtualBox) ОС:Ubuntu 14.04.5 может выложите свой образец? ^_^

Antgorka, можете подсказать как сдампить трафик с определенного ARFCN канала, для дальнейшей с ним работы..

Спасибо.Желaю удачи!^_^

Спасибо за ваш труд! В качестве глушилки 3g 4g телефона я использовал обычную фольгу (для проверки), завернул в нее телефон, и он автоматический подключился к моей соте, гы)) 1 вопрос,2 телефона хватит для исходящих звонков и для проброса этого звонка по voip с помощью того же asterisk'a? и… можно потом будет в реальном времени слушать разговор абонента с обоих сторон? То есть… имею виду звонящего человека и который болтает с ним на обратном стороне..

Он вам не скажет.Он всегда молчит..

Там совместно с сотой нужен ещё дешифратор kc, я так понимаю что его нужно синхронизировать с сотой.Всё же попробую с sip.Жду с Китая две USB-TTL.Надеюсь два телефона на это хватит.

Как вы записывайте траффик в виде burst ?

Как вы записывайте траффик, в виде burst ?

Спасибо! Очень понравилась данная статья.Желаю удачи!

Даже не знаю))у нас у друга одинаковые ОС (linux mint) с установленной osmocombb, и вот у него появляются пакеты lapdm и gsmtap тоже, а у меня только gsmtap, не знаю почему((( у меня трафик в файл не записывается.Хотя когда я снифферю с помощью свистка (tv tunner) то всё нормально, видны пакеты и lapdm и gsmtap, и траффик в файл записывается.Почему эти проблемы с motorol'koy c118…
Спасибо.Вопрос насчет сниффинга, когда я сканирую эфир, у меня в wireshark видны только пакеты GSMTAP, а где пакеты lapdm?

Мм… как реализовать атаку, если ты не можешь звонить на внешний номер, я не хочу пока платить за voip, да и особо он мне и не интересен.Есть другой выход?

Спасибо.У меня получилось, я поднял на одном осмофоне, правда есть ограничение на звонки, но общаться можно, передавая смски.Как пробросить трафик через voip? чтобы можно было звонить на внешний номер, вроде можно с помощью проекта asterisk, но я не знаю как настроить эту систему.

2

Information

Rating
Does not participate
Registered
Activity