[libosmocore PATCH 0/3] Make openbsc also compile/run on OSX

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/.

Tobias Engel t-openbsc at tobias.org
Wed Oct 24 15:52:50 UTC 2012


These are some minor modifications to make openbsc also run on OSX.

You have to have these MacPorts installed:
pkgconfig
automake
autoconf
libtool
libdbi
libdbi-drivers
sqlite3

... and set:
export LDFLAGS='-L/opt/local/lib'
export CPPFLAGS='-I/opt/local/include'

Everything else should work as usual.

Tobias Engel (3):
  Define struct iphdr for OSX
  Do not use --version-script linker flag on OSX
  Add "extern" keywords

 configure.ac                  |   12 ++++++++++++
 include/osmocom/gsm/abis_nm.h |   10 +++++-----
 src/gb/Makefile.am            |    2 +-
 src/gb/gprs_ns_frgre.c        |    2 +-
 src/gsm/Makefile.am           |    2 +-
 5 files changed, 20 insertions(+), 8 deletions(-)

-- 
1.7.10.2 (Apple Git-33)





More information about the OpenBSC mailing list