Error while building osmo-bts for sysmoBTS

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/OpenBSC@lists.osmocom.org/.

Ivaylo Kostov ikostov at sysmocom.de
Thu Feb 9 17:25:51 UTC 2017


Hi,
I was following the procedure "Compiling osmo-bts for sysmoBTS" and 
using poky/1.5.4/sysroots/armv5te-poky-linux-gnueabi

During execution of libosmocore project it failed with:
...
    GEN      gsm0503_conv.c
Traceback (most recent call last):
   File "../../utils/conv_gen.py", line 26, in <module>
     import sys, os, math, argparse
ImportError:   CC       oap.lo
No module named argparse
Makefile:735: recipe for target 'gsm0503_conv.c' failed
make[2]: *** [gsm0503_conv.c] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/ivaylo/net/osmo/libosmocore/src/gsm'
Makefile:460: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ivaylo/net/osmo/libosmocore'
Makefile:327: recipe for target 'all' failed
make: *** [all] Error 2
...

I am using:

Python 2.7.12+ (default, Sep 17 2016, 12:08:02)
[GCC 6.2.0 20160914] on linux2
Type "help", "copyright", "credits" or "license" for more information.

I think that something is broken.

regards,
Ivaylo

-- 
------------------------------
- Ivaylo Kostov <ikostov at sysmocom.de> <mailto:ikostov at sysmocom.de> 
     http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte
------------------------------




More information about the OpenBSC mailing list