[Gsmmap] Problems compiling osmocom-bb -- with solutions :)
Dave Schmidt
dvsm89 at gmx.com
Wed Jan 11 11:12:44 CET 2012
Hi list,
Looks like the "suggested" at http://srlabs.de/gsm-map-tutorial/ ARM compiler did not fully work for me:
~/cell_logger/osmocom-bb/src$ make
cd shared/libosmocore/build-target && ../configure \
(...output skipped...)
configure: error: in `(..)/cell_logger/osmocom-bb/src/shared/libosmocore/build-target':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [shared/libosmocore/build-target/Makefile] Error 77
Investigation shows that the provided arm-elf-gcc invokes a wrong assembler: it looks for "as", not "arm-elf-as".
Probably the right way would be to correctly build arm-elf tools, but I wanted to use exactly same tools as in the instructions, so went a really quick and dirty way:
1) built the host binaries without arm-elf tools in the PATH:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
make nofirmware
2) built the target binaries with "as" substituted by "arm-elf-as":
cd ~/cell_logger/gnuqrm-3.4.2/bin
ln -s arm-elf-as as
cd ~/cell_logger/osmocom-bb/src
More information about the Gsmmap
mailing list