diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2017-01-18 09:13:43 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2017-01-18 09:13:43 +0100 |
commit | 9e0723fb6d1d35572254b46c4f089acb7a33f909 (patch) | |
tree | b9a8523c8bf4beb9fd33e3ea60f0dfbc6968abcd /src/openbsc_nat/README | |
parent | 2012f40ec39d9045e85b63ef188691ee4efb9753 (diff) |
build: Link -losmocore last to please Ubuntu linker
It seems that the Ubuntu linker is quite picky in where it is looking
for symbols. Link libosmocore (and as such talloc) last of the Osmocom
libraries. This could fix:
gcc -Wall -I/usr/include/ -I/usr/include/ -I/usr/include/ -I/usr/include/ -DNO_UNIPORTE -g -O2 -fdebug-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -o cellmgr_ng main.o mtp_layer3.o thread.o ipaccess.o pcap.o bss_patch.o bssap_sccp.o bsc_sccp.o bsc_ussd.o links.o msc_conn.o link_udp.o snmp_mtp.o debug.o isup.o mtp_link.o counter.o sccp_state.o bsc.o ss7_application.o vty_interface_legacy.o vty_interface_cmds.o mgcp_patch.o mgcp_callagent.o isup_filter.o -ltalloc -losmocore -ltalloc -losmogsm -losmocore -ltalloc -losmovty -losmocore -losmosccp -losmoxua -lpthread -lnetsnmp -lcrypto
[ 79s] /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libosmosccp.so: undefined reference to `talloc_free'
Change-Id: I94c87496ebffd41a6217d860b0ca4bed6ff2d24c
Diffstat (limited to 'src/openbsc_nat/README')
0 files changed, 0 insertions, 0 deletions