Error compiling libosmocore under Mac Osx

Neels Hofmeyr nhofmeyr at
Wed Jul 13 13:26:06 UTC 2016

Hi Juan,

though I'm building on linux, I can assure you that the 64bit version of gcc is
generally able to build libosmocore.

To get proper help, you should provide the exact commands that lead to the
error, so we don't need to guess on your environment's particulars.


On Tue, Jul 12, 2016 at 06:35:20PM +0200, Juan Antonio Barea Lopez wrote:
> Hello all, in order to try grgsm software, it asked for the libosmocore
> library and i proceed to configura and install it. Configure process went
> ok, but when trying to "make", it gets a error about unidentified symbols.
> I have been searching on the web and got several hints that it could be
> based on the 64bit version of gcc used. The error in question is this:
> **********Output error begins here**********
> /Applications/  all-recursive
> Making all in include
> make[2]: Nothing to be done for `all'.
> Making all in src
> /Applications/  all-am
> make[3]: Nothing to be done for `all-am'.
> Making all in src/vty
> make[2]: Nothing to be done for `all'.
> Making all in src/codec
>   CCLD
> Undefined symbols for architecture x86_64:
>   "_bitvec_get_bit_pos", referenced from:
>       _osmo_fr_check_sid in gsm610.o
>   "_bitvec_get_uint", referenced from:
>       _osmo_hr_check_sid in gsm620.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: *** [] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> *********End of output error************
> I tried to also made a reconfigure -i but without success. Has anyone
> experienced this error or have an idea about what could be happening?.
> Thanks in advance!!!!

- Neels Hofmeyr <nhofmeyr at>
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <>

More information about the OpenBSC mailing list