Fwd: ASN1C

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

Alexander Huemer alexander.huemer at xx.vu
Fri Mar 1 20:27:25 UTC 2013


On Fri, Mar 01, 2013 at 04:38:45PM +0100, Sylvain Munaut wrote:
> On Fri, Mar 1, 2013 at 7:14 AM, Peter Stuge <peter at stuge.se> wrote:
> > Ivan Mikey wrote:
> >> /osmo-tcap-map/test$ make
> >> cc -lasn1c -losmo-asn1-map -losmo-asn1-tcap -lm -o gprs_update gprs_update.o
> >
> > Libraries need to follow objects that call them.
> 
> Which is _really_ annoying that Ubuntu linker now enforce that,
> because in the default 'make rules' (i.e. when you let makefile figure
> things out), it places ldflags before the objet files and so things
> break.

In plain Makefiles the variable to place '-lfoo' flags is LDLIBS, then 
it works even on Ubuntu. See e.g. [1].

Kind regards,
-Alexander Huemer

[1] http://cgit.osmocom.org/cgit/osmo-tetra/commit/?id=a4bdfabbbbd90f7a7887e434c84a05d6caab2d12





More information about the OpenBSC mailing list