Compile Errors

Peter Stuge peter at
Wed Jan 5 17:15:09 UTC 2011

Sebastian --- wrote:
> I use Ubuntu 9.10, when i try to Compile Osmocom, i get this:
> root at r00t-laptop:~# cd /home/r00t/install/osmocom-bb/src
> root at r00t-laptop:~/install/osmocom-bb/src# make
> cd shared/libosmocore/build-target && ../configure \
>             --host=arm-elf-linux --disable-vty --enable-panic-infloop \
>             --disable-shared --disable-talloc --disable-tests \
>         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"

Please don't do this. First, work as a regular user. You could use
r00t. Then, your --host is wrong. Also, please just set your path to
include /home/r00t/install/gnuarm-3.4.3/bin in the path. And I'm not
sure that you need the target/firmware/include, I'd expect that to be
added where needed automatically.

./configure --host=arm-elf --disable-vty --enable-panic-infloop \
--disable-shared --disable-talloc --disable-tests

should be enough. Run as r00t, not root, with PATH set correctly.
Look for cross-compile tutorials for microcontroller projects on the
interwebs to learn more about how to work with projects like these.


More information about the baseband-devel mailing list