Build fails on OSX Lion

Martin Auer catchall at blombo.de
Sat Sep 10 08:38:48 UTC 2011


Hi,

when I try to build osmocombb on OSX Lion with MacPorts it fails because it cannot find linux/serial.h.  

I think it is needed to set some data rate for RS232? Is there a way to overcome this for OSX?

Thanks in advance,
Martin

../../src/serial.c:41:26: error: linux/serial.h: No such file or directory

bash-3.2# make -e CROSS_TOOL_PREFIX=arm-elf-gcc-4.6
cd shared/libosmocore && autoreconf -i
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:14: installing `./config.sub'
configure.ac:5: installing `./missing'
configure.ac:5: installing `./install-sh'
configure.ac:14: installing `./config.guess'
src/Makefile.am: installing `./depcomp'
mkdir shared/libosmocore/build-target
cd shared/libosmocore/build-target && ../configure \
			--host=arm-elf --enable-embedded --disable-shared \
			--disable-tests ac_cv_header_sys_select_h=no \
			--disable-tests ac_cv_header_sys_socket_h=no \
		CFLAGS="-Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs"
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ../install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for arm-elf-strip... arm-elf-strip
checking whether make sets $(MAKE)... (cached) yes
checking for arm-elf-gcc... arm-elf-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-elf-gcc accepts -g... yes
checking for arm-elf-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-elf-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i386-apple-darwin11.1.0
checking host system type... arm-unknown-elf
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by arm-elf-gcc... /Volumes/Speicher/opt/local/arm-elf/bin/ld
checking if the linker (/Volumes/Speicher/opt/local/arm-elf/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin//arm-elf-nm -B
checking the name lister (/opt/local/bin//arm-elf-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /Volumes/Speicher/opt/local/arm-elf/bin/ld option to reload object files... -r
checking for arm-elf-objdump... arm-elf-objdump
checking how to recognize dependent libraries... unknown
checking for arm-elf-ar... arm-elf-ar
checking for arm-elf-strip... (cached) arm-elf-strip
checking for arm-elf-ranlib... arm-elf-ranlib
checking command to parse /opt/local/bin//arm-elf-nm -B output from arm-elf-gcc object... ok
checking how to run the C preprocessor... arm-elf-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if arm-elf-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-elf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-elf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-elf-gcc static flag -static works... yes
checking if arm-elf-gcc supports -c -o file.o... yes
checking if arm-elf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-elf-gcc linker (/Volumes/Speicher/opt/local/arm-elf/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for sys/select.h... (cached) no
checking for sys/socket.h... (cached) no
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for doxygen... false
checking if arm-elf-gcc supports -fvisibility=hidden... yes
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 include/osmocom/Makefile
config.status: creating include/osmocom/vty/Makefile
config.status: creating include/osmocom/codec/Makefile
config.status: creating include/osmocom/crypt/Makefile
config.status: creating include/osmocom/gsm/Makefile
config.status: creating include/osmocom/gsm/protocol/Makefile
config.status: creating include/osmocom/core/Makefile
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 tests/Makefile
config.status: creating tests/timer/Makefile
config.status: creating tests/sms/Makefile
config.status: creating tests/msgfile/Makefile
config.status: creating tests/ussd/Makefile
config.status: creating tests/smscb/Makefile
config.status: creating tests/bits/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 depfiles commands
config.status: executing libtool commands
cd shared/libosmocore/build-target && make
echo UNKNOWN > ../.version-t && mv ../.version-t ../.version
make  all-recursive
Making all in include
Making all in osmocom
Making all in codec
make[5]: Nothing to be done for `all'.
Making all in crypt
make[5]: Nothing to be done for `all'.
Making all in gsm
Making all in protocol
make[6]: Nothing to be done for `all'.
make[6]: Nothing to be done for `all-am'.
Making all in core
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
make[4]: Nothing to be done for `all-am'.
Making all in src
Making all in .
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c -o timer.lo ../../src/timer.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c ../../src/timer.c -o timer.o
mv -f .deps/timer.Tpo .deps/timer.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT select.lo -MD -MP -MF .deps/select.Tpo -c -o select.lo ../../src/select.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT select.lo -MD -MP -MF .deps/select.Tpo -c ../../src/select.c -o select.o
mv -f .deps/select.Tpo .deps/select.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c -o signal.lo ../../src/signal.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c ../../src/signal.c -o signal.o
mv -f .deps/signal.Tpo .deps/signal.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT msgb.lo -MD -MP -MF .deps/msgb.Tpo -c -o msgb.lo ../../src/msgb.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT msgb.lo -MD -MP -MF .deps/msgb.Tpo -c ../../src/msgb.c -o msgb.o
mv -f .deps/msgb.Tpo .deps/msgb.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT bits.lo -MD -MP -MF .deps/bits.Tpo -c -o bits.lo ../../src/bits.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT bits.lo -MD -MP -MF .deps/bits.Tpo -c ../../src/bits.c -o bits.o
mv -f .deps/bits.Tpo .deps/bits.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT bitvec.lo -MD -MP -MF .deps/bitvec.Tpo -c -o bitvec.lo ../../src/bitvec.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT bitvec.lo -MD -MP -MF .deps/bitvec.Tpo -c ../../src/bitvec.c -o bitvec.o
mv -f .deps/bitvec.Tpo .deps/bitvec.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT statistics.lo -MD -MP -MF .deps/statistics.Tpo -c -o statistics.lo ../../src/statistics.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT statistics.lo -MD -MP -MF .deps/statistics.Tpo -c ../../src/statistics.c -o statistics.o
../../src/statistics.c: In function 'osmo_counter_get_by_name':
../../src/statistics.c:72:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
mv -f .deps/statistics.Tpo .deps/statistics.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT write_queue.lo -MD -MP -MF .deps/write_queue.Tpo -c -o write_queue.lo ../../src/write_queue.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT write_queue.lo -MD -MP -MF .deps/write_queue.Tpo -c ../../src/write_queue.c -o write_queue.o
mv -f .deps/write_queue.Tpo .deps/write_queue.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c -o utils.lo ../../src/utils.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c ../../src/utils.c -o utils.o
../../src/utils.c: In function 'get_value_string':
../../src/utils.c:33:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' [-Wformat]
../../src/utils.c: In function 'get_string_value':
../../src/utils.c:49:3: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
mv -f .deps/utils.Tpo .deps/utils.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT socket.lo -MD -MP -MF .deps/socket.Tpo -c -o socket.lo ../../src/socket.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT socket.lo -MD -MP -MF .deps/socket.Tpo -c ../../src/socket.c -o socket.o
mv -f .deps/socket.Tpo .deps/socket.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c -o logging.lo ../../src/logging.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c ../../src/logging.c -o logging.o
../../src/logging.c: In function 'log_parse_category_mask':
../../src/logging.c:162:2: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]
../../src/logging.c:162:15: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
../../src/logging.c:169:2: warning: implicit declaration of function 'strtok' [-Wimplicit-function-declaration]
../../src/logging.c:169:17: warning: assignment makes pointer from integer without a cast [enabled by default]
../../src/logging.c:172:4: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration]
../../src/logging.c:172:18: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
../../src/logging.c:197:27: warning: assignment makes pointer from integer without a cast [enabled by default]
../../src/logging.c: In function '_file_output':
../../src/logging.c:427:2: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
../../src/logging.c:427:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
../../src/logging.c:428:2: warning: implicit declaration of function 'fflush' [-Wimplicit-function-declaration]
../../src/logging.c: In function 'log_target_create_file':
../../src/logging.c:500:2: warning: implicit declaration of function 'fopen' [-Wimplicit-function-declaration]
../../src/logging.c:500:23: warning: assignment makes pointer from integer without a cast [enabled by default]
../../src/logging.c: In function 'log_target_find':
../../src/logging.c:524:4: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
../../src/logging.c: In function 'log_target_destroy':
../../src/logging.c:546:4: warning: implicit declaration of function 'fclose' [-Wimplicit-function-declaration]
../../src/logging.c: In function 'log_target_file_reopen':
../../src/logging.c:559:23: warning: assignment makes pointer from integer without a cast [enabled by default]
mv -f .deps/logging.Tpo .deps/logging.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT logging_syslog.lo -MD -MP -MF .deps/logging_syslog.Tpo -c -o logging_syslog.lo ../../src/logging_syslog.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT logging_syslog.lo -MD -MP -MF .deps/logging_syslog.Tpo -c ../../src/logging_syslog.c -o logging_syslog.o
mv -f .deps/logging_syslog.Tpo .deps/logging_syslog.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT rate_ctr.lo -MD -MP -MF .deps/rate_ctr.Tpo -c -o rate_ctr.lo ../../src/rate_ctr.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT rate_ctr.lo -MD -MP -MF .deps/rate_ctr.Tpo -c ../../src/rate_ctr.c -o rate_ctr.o
../../src/rate_ctr.c: In function 'rate_ctr_get_group_by_name_idx':
../../src/rate_ctr.c:153:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
mv -f .deps/rate_ctr.Tpo .deps/rate_ctr.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsmtap_util.lo -MD -MP -MF .deps/gsmtap_util.Tpo -c -o gsmtap_util.lo ../../src/gsmtap_util.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsmtap_util.lo -MD -MP -MF .deps/gsmtap_util.Tpo -c ../../src/gsmtap_util.c -o gsmtap_util.o
mv -f .deps/gsmtap_util.Tpo .deps/gsmtap_util.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT crc16.lo -MD -MP -MF .deps/crc16.Tpo -c -o crc16.lo ../../src/crc16.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT crc16.lo -MD -MP -MF .deps/crc16.Tpo -c ../../src/crc16.c -o crc16.o
mv -f .deps/crc16.Tpo .deps/crc16.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT panic.lo -MD -MP -MF .deps/panic.Tpo -c -o panic.lo ../../src/panic.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT panic.lo -MD -MP -MF .deps/panic.Tpo -c ../../src/panic.c -o panic.o
mv -f .deps/panic.Tpo .deps/panic.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT backtrace.lo -MD -MP -MF .deps/backtrace.Tpo -c -o backtrace.lo ../../src/backtrace.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT backtrace.lo -MD -MP -MF .deps/backtrace.Tpo -c ../../src/backtrace.c -o backtrace.o
mv -f .deps/backtrace.Tpo .deps/backtrace.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT conv.lo -MD -MP -MF .deps/conv.Tpo -c -o conv.lo ../../src/conv.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT conv.lo -MD -MP -MF .deps/conv.Tpo -c ../../src/conv.c -o conv.o
mv -f .deps/conv.Tpo .deps/conv.Plo
/bin/sh ../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT application.lo -MD -MP -MF .deps/application.Tpo -c -o application.lo ../../src/application.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT application.lo -MD -MP -MF .deps/application.Tpo -c ../../src/application.c -o application.o
mv -f .deps/application.Tpo .deps/application.Plo
/bin/sh ../libtool --tag=CC   --mode=link arm-elf-gcc -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -version-info 2:0:0  -o libosmocore.la -rpath /usr/local/lib timer.lo select.lo signal.lo msgb.lo bits.lo bitvec.lo statistics.lo write_queue.lo utils.lo socket.lo logging.lo logging_syslog.lo rate_ctr.lo gsmtap_util.lo crc16.lo panic.lo backtrace.lo conv.lo application.lo      
libtool: link: arm-elf-ar cru .libs/libosmocore.a  timer.o select.o signal.o msgb.o bits.o bitvec.o statistics.o write_queue.o utils.o socket.o logging.o logging_syslog.o rate_ctr.o gsmtap_util.o crc16.o panic.o backtrace.o conv.o application.o
libtool: link: arm-elf-ranlib .libs/libosmocore.a
libtool: link: ( cd ".libs" && rm -f "libosmocore.la" && ln -s "../libosmocore.la" "libosmocore.la" )
Making all in vty
make[4]: Nothing to be done for `all'.
Making all in codec
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/codec  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm610.lo -MD -MP -MF .deps/gsm610.Tpo -c -o gsm610.lo ../../../src/codec/gsm610.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/codec -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm610.lo -MD -MP -MF .deps/gsm610.Tpo -c ../../../src/codec/gsm610.c -o gsm610.o
mv -f .deps/gsm610.Tpo .deps/gsm610.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/codec  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm620.lo -MD -MP -MF .deps/gsm620.Tpo -c -o gsm620.lo ../../../src/codec/gsm620.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/codec -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm620.lo -MD -MP -MF .deps/gsm620.Tpo -c ../../../src/codec/gsm620.c -o gsm620.o
mv -f .deps/gsm620.Tpo .deps/gsm620.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/codec  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm660.lo -MD -MP -MF .deps/gsm660.Tpo -c -o gsm660.lo ../../../src/codec/gsm660.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/codec -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm660.lo -MD -MP -MF .deps/gsm660.Tpo -c ../../../src/codec/gsm660.c -o gsm660.o
mv -f .deps/gsm660.Tpo .deps/gsm660.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/codec  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm690.lo -MD -MP -MF .deps/gsm690.Tpo -c -o gsm690.lo ../../../src/codec/gsm690.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/codec -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm690.lo -MD -MP -MF .deps/gsm690.Tpo -c ../../../src/codec/gsm690.c -o gsm690.o
mv -f .deps/gsm690.Tpo .deps/gsm690.Plo
/bin/sh ../../libtool --tag=CC   --mode=link arm-elf-gcc -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs   -o libosmocodec.la -rpath /usr/local/lib gsm610.lo gsm620.lo gsm660.lo gsm690.lo  
libtool: link: arm-elf-ar cru .libs/libosmocodec.a  gsm610.o gsm620.o gsm660.o gsm690.o
libtool: link: arm-elf-ranlib .libs/libosmocodec.a
libtool: link: ( cd ".libs" && rm -f "libosmocodec.la" && ln -s "../libosmocodec.la" "libosmocodec.la" )
Making all in gsm
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT a5.lo -MD -MP -MF .deps/a5.Tpo -c -o a5.lo ../../../src/gsm/a5.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT a5.lo -MD -MP -MF .deps/a5.Tpo -c ../../../src/gsm/a5.c -o a5.o
mv -f .deps/a5.Tpo .deps/a5.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT rxlev_stat.lo -MD -MP -MF .deps/rxlev_stat.Tpo -c -o rxlev_stat.lo ../../../src/gsm/rxlev_stat.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT rxlev_stat.lo -MD -MP -MF .deps/rxlev_stat.Tpo -c ../../../src/gsm/rxlev_stat.c -o rxlev_stat.o
mv -f .deps/rxlev_stat.Tpo .deps/rxlev_stat.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT tlv_parser.lo -MD -MP -MF .deps/tlv_parser.Tpo -c -o tlv_parser.lo ../../../src/gsm/tlv_parser.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT tlv_parser.lo -MD -MP -MF .deps/tlv_parser.Tpo -c ../../../src/gsm/tlv_parser.c -o tlv_parser.o
mv -f .deps/tlv_parser.Tpo .deps/tlv_parser.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT comp128.lo -MD -MP -MF .deps/comp128.Tpo -c -o comp128.lo ../../../src/gsm/comp128.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT comp128.lo -MD -MP -MF .deps/comp128.Tpo -c ../../../src/gsm/comp128.c -o comp128.o
mv -f .deps/comp128.Tpo .deps/comp128.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm_utils.lo -MD -MP -MF .deps/gsm_utils.Tpo -c -o gsm_utils.lo ../../../src/gsm/gsm_utils.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm_utils.lo -MD -MP -MF .deps/gsm_utils.Tpo -c ../../../src/gsm/gsm_utils.c -o gsm_utils.o
../../../src/gsm/gsm_utils.c: In function 'gsm_7bit_encode':
../../../src/gsm/gsm_utils.c:253:13: warning: variable 'z' set but not used [-Wunused-but-set-variable]
mv -f .deps/gsm_utils.Tpo .deps/gsm_utils.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT rsl.lo -MD -MP -MF .deps/rsl.Tpo -c -o rsl.lo ../../../src/gsm/rsl.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT rsl.lo -MD -MP -MF .deps/rsl.Tpo -c ../../../src/gsm/rsl.c -o rsl.o
mv -f .deps/rsl.Tpo .deps/rsl.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm48.lo -MD -MP -MF .deps/gsm48.Tpo -c -o gsm48.lo ../../../src/gsm/gsm48.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm48.lo -MD -MP -MF .deps/gsm48.Tpo -c ../../../src/gsm/gsm48.c -o gsm48.o
../../../src/gsm/gsm48.c: In function 'gsm48_mi_to_string':
../../../src/gsm/gsm48.c:348:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' [-Wformat]
mv -f .deps/gsm48.Tpo .deps/gsm48.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm48_ie.lo -MD -MP -MF .deps/gsm48_ie.Tpo -c -o gsm48_ie.lo ../../../src/gsm/gsm48_ie.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm48_ie.lo -MD -MP -MF .deps/gsm48_ie.Tpo -c ../../../src/gsm/gsm48_ie.c -o gsm48_ie.o
mv -f .deps/gsm48_ie.Tpo .deps/gsm48_ie.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm0808.lo -MD -MP -MF .deps/gsm0808.Tpo -c -o gsm0808.lo ../../../src/gsm/gsm0808.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm0808.lo -MD -MP -MF .deps/gsm0808.Tpo -c ../../../src/gsm/gsm0808.c -o gsm0808.o
mv -f .deps/gsm0808.Tpo .deps/gsm0808.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT sysinfo.lo -MD -MP -MF .deps/sysinfo.Tpo -c -o sysinfo.lo ../../../src/gsm/sysinfo.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT sysinfo.lo -MD -MP -MF .deps/sysinfo.Tpo -c ../../../src/gsm/sysinfo.c -o sysinfo.o
mv -f .deps/sysinfo.Tpo .deps/sysinfo.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gprs_cipher_core.lo -MD -MP -MF .deps/gprs_cipher_core.Tpo -c -o gprs_cipher_core.lo ../../../src/gsm/gprs_cipher_core.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gprs_cipher_core.lo -MD -MP -MF .deps/gprs_cipher_core.Tpo -c ../../../src/gsm/gprs_cipher_core.c -o gprs_cipher_core.o
mv -f .deps/gprs_cipher_core.Tpo .deps/gprs_cipher_core.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm0480.lo -MD -MP -MF .deps/gsm0480.Tpo -c -o gsm0480.lo ../../../src/gsm/gsm0480.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm0480.lo -MD -MP -MF .deps/gsm0480.Tpo -c ../../../src/gsm/gsm0480.c -o gsm0480.o
../../../src/gsm/gsm0480.c: In function 'parse_process_uss_req':
../../../src/gsm/gsm0480.c:405:7: warning: pointer targets in passing argument 1 of 'gsm_7bit_decode' differ in signedness [-Wpointer-sign]
../../../include/osmocom/gsm/gsm_utils.h:59:5: note: expected 'char *' but argument is of type 'uint8_t *'
mv -f .deps/gsm0480.Tpo .deps/gsm0480.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT abis_nm.lo -MD -MP -MF .deps/abis_nm.Tpo -c -o abis_nm.lo ../../../src/gsm/abis_nm.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT abis_nm.lo -MD -MP -MF .deps/abis_nm.Tpo -c ../../../src/gsm/abis_nm.c -o abis_nm.o
mv -f .deps/abis_nm.Tpo .deps/abis_nm.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm0502.lo -MD -MP -MF .deps/gsm0502.Tpo -c -o gsm0502.lo ../../../src/gsm/gsm0502.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT gsm0502.lo -MD -MP -MF .deps/gsm0502.Tpo -c ../../../src/gsm/gsm0502.c -o gsm0502.o
mv -f .deps/gsm0502.Tpo .deps/gsm0502.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm  -I../../../include   -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT lapdm.lo -MD -MP -MF .deps/lapdm.Tpo -c -o lapdm.lo ../../../src/gsm/lapdm.c
libtool: compile:  arm-elf-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../src/gsm -I../../../include -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -MT lapdm.lo -MD -MP -MF .deps/lapdm.Tpo -c ../../../src/gsm/lapdm.c -o lapdm.o
../../../src/gsm/lapdm.c: In function 'lapdm_t200_cb':
../../../src/gsm/lapdm.c:608:2: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'uint32_t' [-Wformat]
../../../src/gsm/lapdm.c:710:3: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'uint32_t' [-Wformat]
../../../src/gsm/lapdm.c: In function 'lapdm_rx_u':
../../../src/gsm/lapdm.c:1136:5: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration]
../../../src/gsm/lapdm.c: In function 'rslms_rx_rll_est_req':
../../../src/gsm/lapdm.c:1800:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
../../../src/gsm/lapdm.c: In function 'rslms_rx_rll_udata_req':
../../../src/gsm/lapdm.c:1892:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
../../../src/gsm/lapdm.c: In function 'rslms_rx_rll_data_req':
../../../src/gsm/lapdm.c:1934:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
mv -f .deps/lapdm.Tpo .deps/lapdm.Plo
/bin/sh ../../libtool --tag=CC   --mode=link arm-elf-gcc -fPIC -Wall -Os -ffunction-sections -I/opt/local/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs -version-info 1:0:0  -o libosmogsm.la -rpath /usr/local/lib a5.lo rxlev_stat.lo tlv_parser.lo comp128.lo gsm_utils.lo rsl.lo gsm48.lo gsm48_ie.lo gsm0808.lo sysinfo.lo gprs_cipher_core.lo gsm0480.lo abis_nm.lo gsm0502.lo lapdm.lo ../../src/libosmocore.la 
libtool: link: arm-elf-ar cru .libs/libosmogsm.a  a5.o rxlev_stat.o tlv_parser.o comp128.o gsm_utils.o rsl.o gsm48.o gsm48_ie.o gsm0808.o sysinfo.o gprs_cipher_core.o gsm0480.o abis_nm.o gsm0502.o lapdm.o
libtool: link: arm-elf-ranlib .libs/libosmogsm.a
libtool: link: ( cd ".libs" && rm -f "libosmogsm.la" && ln -s "../libosmogsm.la" "libosmogsm.la" )
Making all in tests
make[4]: Nothing to be done for `all-am'.
Making all in utils
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
mkdir shared/libosmocore/build-host
cd shared/libosmocore/build-host && ../configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ../install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i386-apple-darwin11.1.0
checking host system type... i386-apple-darwin11.1.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
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... -fno-common -DPIC
checking if gcc PIC flag -fno-common -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/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.1.0 dyld
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 for doxygen... false
checking if gcc supports -fvisibility=hidden... yes
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 include/osmocom/Makefile
config.status: creating include/osmocom/vty/Makefile
config.status: creating include/osmocom/codec/Makefile
config.status: creating include/osmocom/crypt/Makefile
config.status: creating include/osmocom/gsm/Makefile
config.status: creating include/osmocom/gsm/protocol/Makefile
config.status: creating include/osmocom/core/Makefile
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 tests/Makefile
config.status: creating tests/timer/Makefile
config.status: creating tests/sms/Makefile
config.status: creating tests/msgfile/Makefile
config.status: creating tests/ussd/Makefile
config.status: creating tests/smscb/Makefile
config.status: creating tests/bits/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 depfiles commands
config.status: executing libtool commands
cd shared/libosmocore/build-host && make
make  all-recursive
Making all in include
Making all in osmocom
Making all in vty
make[5]: Nothing to be done for `all'.
Making all in codec
make[5]: Nothing to be done for `all'.
Making all in crypt
make[5]: Nothing to be done for `all'.
Making all in gsm
Making all in protocol
make[6]: Nothing to be done for `all'.
make[6]: Nothing to be done for `all-am'.
Making all in core
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
make[4]: Nothing to be done for `all-am'.
Making all in src
Making all in .
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c -o timer.lo ../../src/timer.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c ../../src/timer.c  -fno-common -DPIC -o .libs/timer.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c ../../src/timer.c -o timer.o >/dev/null 2>&1
mv -f .deps/timer.Tpo .deps/timer.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT select.lo -MD -MP -MF .deps/select.Tpo -c -o select.lo ../../src/select.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT select.lo -MD -MP -MF .deps/select.Tpo -c ../../src/select.c  -fno-common -DPIC -o .libs/select.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT select.lo -MD -MP -MF .deps/select.Tpo -c ../../src/select.c -o select.o >/dev/null 2>&1
mv -f .deps/select.Tpo .deps/select.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c -o signal.lo ../../src/signal.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c ../../src/signal.c  -fno-common -DPIC -o .libs/signal.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c ../../src/signal.c -o signal.o >/dev/null 2>&1
mv -f .deps/signal.Tpo .deps/signal.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT msgb.lo -MD -MP -MF .deps/msgb.Tpo -c -o msgb.lo ../../src/msgb.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT msgb.lo -MD -MP -MF .deps/msgb.Tpo -c ../../src/msgb.c  -fno-common -DPIC -o .libs/msgb.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT msgb.lo -MD -MP -MF .deps/msgb.Tpo -c ../../src/msgb.c -o msgb.o >/dev/null 2>&1
mv -f .deps/msgb.Tpo .deps/msgb.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT bits.lo -MD -MP -MF .deps/bits.Tpo -c -o bits.lo ../../src/bits.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT bits.lo -MD -MP -MF .deps/bits.Tpo -c ../../src/bits.c  -fno-common -DPIC -o .libs/bits.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT bits.lo -MD -MP -MF .deps/bits.Tpo -c ../../src/bits.c -o bits.o >/dev/null 2>&1
mv -f .deps/bits.Tpo .deps/bits.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT bitvec.lo -MD -MP -MF .deps/bitvec.Tpo -c -o bitvec.lo ../../src/bitvec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT bitvec.lo -MD -MP -MF .deps/bitvec.Tpo -c ../../src/bitvec.c  -fno-common -DPIC -o .libs/bitvec.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT bitvec.lo -MD -MP -MF .deps/bitvec.Tpo -c ../../src/bitvec.c -o bitvec.o >/dev/null 2>&1
mv -f .deps/bitvec.Tpo .deps/bitvec.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT statistics.lo -MD -MP -MF .deps/statistics.Tpo -c -o statistics.lo ../../src/statistics.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT statistics.lo -MD -MP -MF .deps/statistics.Tpo -c ../../src/statistics.c  -fno-common -DPIC -o .libs/statistics.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT statistics.lo -MD -MP -MF .deps/statistics.Tpo -c ../../src/statistics.c -o statistics.o >/dev/null 2>&1
mv -f .deps/statistics.Tpo .deps/statistics.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT write_queue.lo -MD -MP -MF .deps/write_queue.Tpo -c -o write_queue.lo ../../src/write_queue.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT write_queue.lo -MD -MP -MF .deps/write_queue.Tpo -c ../../src/write_queue.c  -fno-common -DPIC -o .libs/write_queue.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT write_queue.lo -MD -MP -MF .deps/write_queue.Tpo -c ../../src/write_queue.c -o write_queue.o >/dev/null 2>&1
mv -f .deps/write_queue.Tpo .deps/write_queue.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c -o utils.lo ../../src/utils.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c ../../src/utils.c  -fno-common -DPIC -o .libs/utils.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c ../../src/utils.c -o utils.o >/dev/null 2>&1
mv -f .deps/utils.Tpo .deps/utils.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT socket.lo -MD -MP -MF .deps/socket.Tpo -c -o socket.lo ../../src/socket.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT socket.lo -MD -MP -MF .deps/socket.Tpo -c ../../src/socket.c  -fno-common -DPIC -o .libs/socket.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT socket.lo -MD -MP -MF .deps/socket.Tpo -c ../../src/socket.c -o socket.o >/dev/null 2>&1
mv -f .deps/socket.Tpo .deps/socket.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c -o logging.lo ../../src/logging.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c ../../src/logging.c  -fno-common -DPIC -o .libs/logging.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c ../../src/logging.c -o logging.o >/dev/null 2>&1
mv -f .deps/logging.Tpo .deps/logging.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT logging_syslog.lo -MD -MP -MF .deps/logging_syslog.Tpo -c -o logging_syslog.lo ../../src/logging_syslog.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT logging_syslog.lo -MD -MP -MF .deps/logging_syslog.Tpo -c ../../src/logging_syslog.c  -fno-common -DPIC -o .libs/logging_syslog.o
../../src/logging_syslog.c:47: warning: type qualifiers ignored on function return type
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT logging_syslog.lo -MD -MP -MF .deps/logging_syslog.Tpo -c ../../src/logging_syslog.c -o logging_syslog.o >/dev/null 2>&1
mv -f .deps/logging_syslog.Tpo .deps/logging_syslog.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT rate_ctr.lo -MD -MP -MF .deps/rate_ctr.Tpo -c -o rate_ctr.lo ../../src/rate_ctr.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT rate_ctr.lo -MD -MP -MF .deps/rate_ctr.Tpo -c ../../src/rate_ctr.c  -fno-common -DPIC -o .libs/rate_ctr.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT rate_ctr.lo -MD -MP -MF .deps/rate_ctr.Tpo -c ../../src/rate_ctr.c -o rate_ctr.o >/dev/null 2>&1
mv -f .deps/rate_ctr.Tpo .deps/rate_ctr.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT gsmtap_util.lo -MD -MP -MF .deps/gsmtap_util.Tpo -c -o gsmtap_util.lo ../../src/gsmtap_util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT gsmtap_util.lo -MD -MP -MF .deps/gsmtap_util.Tpo -c ../../src/gsmtap_util.c  -fno-common -DPIC -o .libs/gsmtap_util.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT gsmtap_util.lo -MD -MP -MF .deps/gsmtap_util.Tpo -c ../../src/gsmtap_util.c -o gsmtap_util.o >/dev/null 2>&1
mv -f .deps/gsmtap_util.Tpo .deps/gsmtap_util.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT crc16.lo -MD -MP -MF .deps/crc16.Tpo -c -o crc16.lo ../../src/crc16.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT crc16.lo -MD -MP -MF .deps/crc16.Tpo -c ../../src/crc16.c  -fno-common -DPIC -o .libs/crc16.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT crc16.lo -MD -MP -MF .deps/crc16.Tpo -c ../../src/crc16.c -o crc16.o >/dev/null 2>&1
mv -f .deps/crc16.Tpo .deps/crc16.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT panic.lo -MD -MP -MF .deps/panic.Tpo -c -o panic.lo ../../src/panic.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT panic.lo -MD -MP -MF .deps/panic.Tpo -c ../../src/panic.c  -fno-common -DPIC -o .libs/panic.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT panic.lo -MD -MP -MF .deps/panic.Tpo -c ../../src/panic.c -o panic.o >/dev/null 2>&1
mv -f .deps/panic.Tpo .deps/panic.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT backtrace.lo -MD -MP -MF .deps/backtrace.Tpo -c -o backtrace.lo ../../src/backtrace.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT backtrace.lo -MD -MP -MF .deps/backtrace.Tpo -c ../../src/backtrace.c  -fno-common -DPIC -o .libs/backtrace.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT backtrace.lo -MD -MP -MF .deps/backtrace.Tpo -c ../../src/backtrace.c -o backtrace.o >/dev/null 2>&1
mv -f .deps/backtrace.Tpo .deps/backtrace.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT conv.lo -MD -MP -MF .deps/conv.Tpo -c -o conv.lo ../../src/conv.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT conv.lo -MD -MP -MF .deps/conv.Tpo -c ../../src/conv.c  -fno-common -DPIC -o .libs/conv.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT conv.lo -MD -MP -MF .deps/conv.Tpo -c ../../src/conv.c -o conv.o >/dev/null 2>&1
mv -f .deps/conv.Tpo .deps/conv.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT application.lo -MD -MP -MF .deps/application.Tpo -c -o application.lo ../../src/application.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT application.lo -MD -MP -MF .deps/application.Tpo -c ../../src/application.c  -fno-common -DPIC -o .libs/application.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT application.lo -MD -MP -MF .deps/application.Tpo -c ../../src/application.c -o application.o >/dev/null 2>&1
mv -f .deps/application.Tpo .deps/application.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c -o plugin.lo ../../src/plugin.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c ../../src/plugin.c  -fno-common -DPIC -o .libs/plugin.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c ../../src/plugin.c -o plugin.o >/dev/null 2>&1
mv -f .deps/plugin.Tpo .deps/plugin.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT talloc.lo -MD -MP -MF .deps/talloc.Tpo -c -o talloc.lo ../../src/talloc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT talloc.lo -MD -MP -MF .deps/talloc.Tpo -c ../../src/talloc.c  -fno-common -DPIC -o .libs/talloc.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT talloc.lo -MD -MP -MF .deps/talloc.Tpo -c ../../src/talloc.c -o talloc.o >/dev/null 2>&1
mv -f .deps/talloc.Tpo .deps/talloc.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT msgfile.lo -MD -MP -MF .deps/msgfile.Tpo -c -o msgfile.lo ../../src/msgfile.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT msgfile.lo -MD -MP -MF .deps/msgfile.Tpo -c ../../src/msgfile.c  -fno-common -DPIC -o .libs/msgfile.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT msgfile.lo -MD -MP -MF .deps/msgfile.Tpo -c ../../src/msgfile.c -o msgfile.o >/dev/null 2>&1
mv -f .deps/msgfile.Tpo .deps/msgfile.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../src  -I../../include   -fPIC -Wall -g -O2 -MT serial.lo -MD -MP -MF .deps/serial.Tpo -c -o serial.lo ../../src/serial.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -I../../include -fPIC -Wall -g -O2 -MT serial.lo -MD -MP -MF .deps/serial.Tpo -c ../../src/serial.c  -fno-common -DPIC -o .libs/serial.o
../../src/serial.c:41:26: error: linux/serial.h: No such file or directory
../../src/serial.c: In function 'osmo_serial_set_custom_baudrate':
../../src/serial.c:159: error: storage size of 'ser_info' isn't known
../../src/serial.c:161: error: 'TIOCGSERIAL' undeclared (first use in this function)
../../src/serial.c:161: error: (Each undeclared identifier is reported only once
../../src/serial.c:161: error: for each function it appears in.)
../../src/serial.c:167: error: 'ASYNC_SPD_CUST' undeclared (first use in this function)
../../src/serial.c:167: error: 'ASYNC_LOW_LATENCY' undeclared (first use in this function)
../../src/serial.c:170: error: 'TIOCSSERIAL' undeclared (first use in this function)
../../src/serial.c:159: warning: unused variable 'ser_info'
../../src/serial.c: In function 'osmo_serial_clear_custom_baudrate':
../../src/serial.c:189: error: storage size of 'ser_info' isn't known
../../src/serial.c:191: error: 'TIOCGSERIAL' undeclared (first use in this function)
../../src/serial.c:197: error: 'ASYNC_LOW_LATENCY' undeclared (first use in this function)
../../src/serial.c:200: error: 'TIOCSSERIAL' undeclared (first use in this function)
../../src/serial.c:189: warning: unused variable 'ser_info'
make[4]: *** [serial.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [shared/libosmocore/build-host/src/.libs/libosmocore.la] Error 2



More information about the baseband-devel mailing list