From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] mediastreamer: fix avcodec functions conflict
Date: Tue, 04 Sep 2018 23:56:15 +0200 [thread overview]
Message-ID: <87in3lapvk.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <735a4c9f-42c2-9744-6889-921bf720d167@micronovasrl.com> (Giulio Benetti's message of "Tue, 4 Sep 2018 23:34:13 +0200")
>>>>> "Giulio" == Giulio Benetti <giulio.benetti@micronovasrl.com> writes:
Hi,
>> Committed after extending the commit message to clarify that this is
>> about static linking, thanks.
> Sorry for my ignorance, so library order during linking is an issue only
> with static libraries?
Yes, when statically linking ld will only pull in the object files
containing referenced symbols, so you need to list the libraries in the
dependency order (E.G. if you call a function in library a that in turn
calls a function in library b then you must use -la -b).
For details, see
E.G. https://eli.thegreenplace.net/2013/07/09/library-order-in-static-linking
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2018-09-04 21:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-04 13:12 [Buildroot] [PATCH v3] mediastreamer: fix avcodec functions conflict Giulio Benetti
2018-09-04 20:58 ` Peter Korsgaard
2018-09-04 21:34 ` Giulio Benetti
2018-09-04 21:56 ` Peter Korsgaard [this message]
2018-09-04 22:10 ` Arnout Vandecappelle
2018-09-05 6:29 ` Giulio Benetti
2018-09-28 12:41 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87in3lapvk.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox