Compile Errors

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Peter Stuge peter at stuge.se
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.


//Peter




More information about the baseband-devel mailing list