[Buildroot] [PATCH 1/1] package/ibrcommon: fix static build with openssl

Fabrice Fontaine fontaine.fabrice at gmail.com
Tue Feb 26 12:32:45 UTC 2019


Dear Peter,
Le dim. 24 févr. 2019 à 23:15, Peter Korsgaard <peter at korsgaard.com> a écrit :
>
> >>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:
>
>  > gf_mul is already defined in libcrypto (openssl) so rename it into
>  > ibrdtn_gf_mul to fix the following build failure in ibrdtnd package:
>
>  > /home/buildroot/autobuild/instance-3/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libcrypto.a(f_impl.o):
>  > In function `gf_mul':
>  > f_impl.c:(.text+0x0): multiple definition of `gf_mul'
>  > /home/buildroot/autobuild/instance-3/output/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libibrcommon.a(gf128mul.o):gf128mul.cpp:(.text+0x30):
>  > first defined here
>  > collect2: error: ld returned 1 exit status
>  > Makefile:560: recipe for target 'dtnd' failed
>
>  > Fixes:
>  >  - http://autobuild.buildroot.org/results/1d3b4b6cf043a3e185ce758b617a0a18c3d36cdb
>
>  > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
>
> The DOS newlines unfortunately got stripped by the mailing list, so the
> patch no longer applies. I have manually fixed that up now.
Thanks for fixing the issue, there is also the same problem with
host-cryptopp's patch:
http://autobuild.buildroot.net/results/e8f/e8fad6fe97391276df0bbb3deb9d4ab90ce043d1/build-end.log.
Could you also fix the issue?
Next time, I'll try to add a warning in the commit message.
>
> --
> Bye, Peter Korsgaard
Best Regards,

Fabrice



More information about the buildroot mailing list