[Buildroot] [PATCH v1] libv4l/ir-ctl: fix musl compile
Peter Seiderer
ps.report at gmx.net
Mon Feb 20 20:52:42 UTC 2017
Hello Thomas,
On Tue, 14 Feb 2017 22:43:46 +0100, Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> On Tue, 14 Feb 2017 21:34:50 +0100, Peter Seiderer wrote:
> > - add copy of TEMP_FAILURE_RETRY macro
> > - use strdup instead of strdupa
> >
> > Fixes [1]:
> >
> > ir-ctl.c:(.text+0xb06): undefined reference to `strndupa'
> > ir-ctl.c:(.text+0xe01): undefined reference to `TEMP_FAILURE_RETRY'
> >
> > [1] http://autobuild.buildroot.net/results/b8b96c7bbf2147dacac62485cbfdbcfd758271a5
> >
> > Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> > ---
> > .../0002-ir-ctl-fixes-for-musl-compile.patch | 59 ++++++++++++++++++++++
> > 1 file changed, 59 insertions(+)
> > create mode 100644 package/libv4l/0002-ir-ctl-fixes-for-musl-compile.patch
>
> Applied to master, thanks. Please submit the patch upstream. Thanks!
O.k., submitted upstream (see [1], [2])...
Regards,
Peter
[1] http://www.mail-archive.com/linux-media@vger.kernel.org/msg108551.html
[2] http://www.mail-archive.com/linux-media@vger.kernel.org/msg108552.html
>
> Thomas
More information about the buildroot
mailing list