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/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20448 ) Change subject: regen-makefile.sh: Put libraries in LINUX_LIBS, not LDFLAGS ...................................................................... regen-makefile.sh: Put libraries in LINUX_LIBS, not LDFLAGS Additional libraries to be linked should be in LINUX_LIBS (appended at the end of the linker command), not part of LDFLAGS (prepended to the beginning of the linker command). On binutils 2.35.1 / Debian unstable, without this patch, I get /usr/bin/ld: IPL4asp_PT.so: undefined reference to `sctp_bindx' /usr/bin/ld: IPL4asp_PT.so: undefined reference to `sctp_connectx' which is resolved by this patch Change-Id: I8a339076f445e3c650e407ae982c7c2dc4a760b2 --- M mme/regen_makefile.sh M msc/regen_makefile.sh M regen-makefile.sh M sgsn/regen_makefile.sh 4 files changed, 5 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/48/20448/1 diff --git a/mme/regen_makefile.sh b/mme/regen_makefile.sh index 2d3bf59..cb04777 100755 --- a/mme/regen_makefile.sh +++ b/mme/regen_makefile.sh @@ -6,4 +6,4 @@ ../regen-makefile.sh MME_Tests.ttcn $FILES -sed -i -e 's/^LINUX_LIBS = -lxml2/LINUX_LIBS = -lxml2 -lfftranscode -lgnutls/' Makefile +sed -i -e 's/^LINUX_LIBS = -lxml2 -lsctp/LINUX_LIBS = -lxml2 -lsctp -lfftranscode/' Makefile diff --git a/msc/regen_makefile.sh b/msc/regen_makefile.sh index 9278530..6ee3ef5 100755 --- a/msc/regen_makefile.sh +++ b/msc/regen_makefile.sh @@ -6,4 +6,4 @@ ../regen-makefile.sh MSC_Tests.ttcn $FILES -sed -i -e 's/^LINUX_LIBS = -lxml2/LINUX_LIBS = -lxml2 -lfftranscode/' Makefile +sed -i -e 's/^LINUX_LIBS = -lxml2 -lsctp/LINUX_LIBS = -lxml2 -lsctp -lfftranscode/' Makefile diff --git a/regen-makefile.sh b/regen-makefile.sh index f6e9538..086c124 100755 --- a/regen-makefile.sh +++ b/regen-makefile.sh @@ -45,7 +45,8 @@ TITAN_VERSION=$(ttcn3_makefilegen -v 2>&1 |grep "Product number" |cut --delimiter="/" -f 2-| sed -e "s/[A-Z ]//g") sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile -sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan -lsctp /' Makefile +sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan/' Makefile +sed -i -e 's/LINUX_LIBS = -lxml2/LINUX_LIBS = -lxml2 -lsctp/' Makefile #sed -i -e 's/TTCN3_LIB = ttcn3-parallel/TTCN3_LIB = ttcn3/' Makefile # The -DMAKEDEPEND_RUN is a workaround for Debian packaging issue, diff --git a/sgsn/regen_makefile.sh b/sgsn/regen_makefile.sh index 1d1411e..55ff26f 100755 --- a/sgsn/regen_makefile.sh +++ b/sgsn/regen_makefile.sh @@ -6,4 +6,4 @@ ../regen-makefile.sh SGSN_Tests.ttcn $FILES -sed -i -e 's/^LINUX_LIBS = -lxml2/LINUX_LIBS = -lxml2 -lfftranscode/' Makefile +sed -i -e 's/^LINUX_LIBS = -lxml2 -lsctp/LINUX_LIBS = -lxml2 -lsctp -lfftranscode/' Makefile -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20448 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I8a339076f445e3c650e407ae982c7c2dc4a760b2 Gerrit-Change-Number: 20448 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201004/65dd8348/attachment.htm>