<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>I use Ubuntu 9.10, when i try to Compile Osmocom, i get this:<br><br>root@r00t-laptop:~# cd /home/r00t/install/osmocom-bb/src<br>root@r00t-laptop:~/install/osmocom-bb/src# make<br>cd shared/libosmocore/build-target && ../configure \<br>            --host=arm-elf-linux --disable-vty --enable-panic-infloop \<br>            --disable-shared --disable-talloc --disable-tests \<br>        CC="/home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc" CFLAGS="-Os -ffunction-sections -I/home/r00t/install/osmocom-bb/src/target/firmware/include"<br>configure: WARNING: If you wanted to set the --build type, don't use --host.<br>    If a cross compiler is detected then cross compile mode will be used.<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>checking for arm-elf-linux-strip... no<br>checking for strip... strip<br>checking for a thread-safe mkdir -p... /bin/mkdir -p<br>checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking whether make sets $(MAKE)... (cached) yes<br>checking for arm-elf-linux-gcc... /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc<br>checking whether the C compiler works... yes<br>checking for C compiler default output file name... a.out<br>checking for suffix of executables... <br>checking whether we are cross compiling... yes<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc accepts -g... yes<br>checking for /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc option to accept ISO C89... none needed<br>checking for style of include used by make... GNU<br>checking dependency style of /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc... gcc3<br>checking build system type... i686-pc-linux-gnulibc1<br>checking host system type... arm-elf-linux-gnu<br>checking for a sed that does not truncate output... /bin/sed<br>checking for grep that handles long lines and -e... /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for fgrep... /bin/grep -F<br>checking for ld used by /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc... /home/r00t/install/gnuarm-3.4.3/arm-elf/bin/ld<br>checking if the linker (/home/r00t/install/gnuarm-3.4.3/arm-elf/bin/ld) is GNU ld... yes<br>checking for BSD- or MS-compatible name lister (nm)... no<br>checking for arm-elf-linux-dumpbin... no<br>checking for arm-elf-linux-link... no<br>checking for dumpbin... no<br>checking for link... link -dump -symbols<br>configure: WARNING: using cross tools not prefixed with host triplet<br>checking the name lister (link -dump -symbols) interface... BSD nm<br>checking whether ln -s works... yes<br>checking the maximum length of command line arguments... 805306365<br>checking whether the shell understands some XSI constructs... yes<br>checking whether the shell understands "+="... yes<br>checking for /home/r00t/install/gnuarm-3.4.3/arm-elf/bin/ld option to reload object files... -r<br>checking for arm-elf-linux-objdump... no<br>checking for objdump... objdump<br>checking how to recognize dependent libraries... pass_all<br>checking for arm-elf-linux-ar... no<br>checking for ar... ar<br>checking for arm-elf-linux-strip... strip<br>checking for arm-elf-linux-ranlib... no<br>checking for ranlib... ranlib<br>checking command to parse link -dump -symbols output from /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc object... failed<br>checking how to run the C preprocessor... /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... no<br>checking for inttypes.h... no<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking for dlfcn.h... no<br>checking for objdir... .libs<br>checking if /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc supports -fno-rtti -fno-exceptions... no<br>checking for /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc option to produce PIC... -fPIC -DPIC<br>checking if /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc PIC flag -fPIC -DPIC works... yes<br>checking if /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc static flag -static works... yes<br>checking if /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc supports -c -o file.o... yes<br>checking if /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc supports -c -o file.o... (cached) yes<br>checking whether the /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc linker (/home/r00t/install/gnuarm-3.4.3/arm-elf/bin/ld) supports shared libraries... yes<br>checking dynamic linker characteristics... GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... yes<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... no<br>checking whether to build static libraries... yes<br>checking for ANSI C header files... (cached) yes<br>checking execinfo.h usability... no<br>checking execinfo.h presence... no<br>checking for execinfo.h... no<br>checking sys/select.h usability... no<br>checking sys/select.h presence... no<br>checking for sys/select.h... no<br>checking if /home/r00t/install/gnuarm-3.4.3/bin/arm-elf-gcc supports -fvisibility=hidden... no<br>configure: creating ./config.status<br>config.status: creating libosmocore.pc<br>config.status: creating libosmocodec.pc<br>config.status: creating libosmovty.pc<br>config.status: creating include/osmocom/Makefile<br>config.status: creating include/osmocom/vty/Makefile<br>config.status: creating include/osmocom/codec/Makefile<br>config.status: creating include/osmocom/crypt/Makefile<br>config.status: creating include/osmocore/Makefile<br>config.status: creating include/osmocore/protocol/Makefile<br>config.status: creating include/Makefile<br>config.status: creating src/Makefile<br>config.status: creating src/vty/Makefile<br>config.status: creating src/codec/Makefile<br>config.status: creating tests/Makefile<br>config.status: creating tests/timer/Makefile<br>config.status: creating tests/sms/Makefile<br>config.status: creating tests/msgfile/Makefile<br>config.status: creating tests/ussd/Makefile<br>config.status: creating Makefile<br>config.status: creating config.h<br>config.status: config.h is unchanged<br>config.status: executing depfiles commands<br>config.status: executing libtool commands<br>cd shared/libosmocore/build-target && make<br>make[1]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target'<br>make  all-recursive<br>make[2]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target'<br>Making all in include<br>make[3]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include'<br>Making all in osmocom<br>make[4]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom'<br>Making all in codec<br>make[5]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom/codec'<br>make[5]: Für das Ziel »all« ist nichts zu tun.<br>make[5]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom/codec'<br>Making all in crypt<br>make[5]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom/crypt'<br>make[5]: Für das Ziel »all« ist nichts zu tun.<br>make[5]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom/crypt'<br>make[5]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom'<br>make[5]: Für das Ziel »all-am« ist nichts zu tun.<br>make[5]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom'<br>make[4]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocom'<br>Making all in osmocore<br>make[4]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore'<br>Making all in protocol<br>make[5]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore/protocol'<br>make[5]: Für das Ziel »all« ist nichts zu tun.<br>make[5]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore/protocol'<br>make[5]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore'<br>make[5]: Für das Ziel »all-am« ist nichts zu tun.<br>make[5]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore'<br>make[4]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include/osmocore'<br>make[4]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include'<br>make[4]: Für das Ziel »all-am« ist nichts zu tun.<br>make[4]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include'<br>make[3]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/include'<br>Making all in src<br>make[3]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/src'<br>Making all in .<br>make[4]: Betrete Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/src'<br>  CC     rate_ctr.lo<br>../../src/rate_ctr.c:24:22: inttypes.h: No such file or directory<br>make[4]: *** [rate_ctr.lo] Fehler 1<br>make[4]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/src'<br>make[3]: *** [all-recursive] Fehler 1<br>make[3]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target/src'<br>make[2]: *** [all-recursive] Fehler 1<br>make[2]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target'<br>make[1]: *** [all] Fehler 2<br>make[1]: Verlasse Verzeichnis '/home/r00t/install/osmocom-bb/src/shared/libosmocore/build-target'<br>make: *** [shared/libosmocore/build-target/src/.libs/libosmocore.a] Fehler 2<br>root@r00t-laptop:~/install/osmocom-bb/src# <br><br>                                         </body>
</html>