From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libstrophe: add a patch to fix static builds
Date: Mon, 28 Sep 2015 21:27:55 +0200 [thread overview]
Message-ID: <20150928212755.617bdb10@free-electrons.com> (raw)
In-Reply-To: <1443431833-24753-1-git-send-email-Vincent.Riera@imgtec.com>
Dear Vicente Olivert Riera,
On Mon, 28 Sep 2015 10:17:13 +0100, Vicente Olivert Riera wrote:
> libstrophe.a and libcrypto.a have symbols with equal names, so
> executables can't be statically linked with libstrophe and openssl:
>
> sha1dgst.c:(.text+0x1b4c): multiple definition of `SHA1_Update'
> sha1dgst.c:(.text+0x1cc0): multiple definition of `SHA1_Final'
> sha1dgst.c:(.text+0x1e78): multiple definition of `SHA1_Init
>
> Renaming the internal SHA functions fixes the problem.
>
> Issue reported upstream:
>
> https://github.com/strophe/libstrophe/issues/40
>
> Fixes:
>
> http://autobuild.buildroot.net/results/047/047e319b9d7bf0cdaabc007326a6d67de2c1ee52/
>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
> package/libstrophe/libstrophe.mk | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2015-09-28 19:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-28 9:17 [Buildroot] [PATCH] libstrophe: add a patch to fix static builds Vicente Olivert Riera
2015-09-28 19:27 ` Thomas Petazzoni [this message]
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=20150928212755.617bdb10@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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