From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/motion: fix webp build
Date: Tue, 28 Nov 2023 17:12:17 +0100 [thread overview]
Message-ID: <20231128161217.GF3177259@scaer> (raw)
In-Reply-To: <20231127212712.1059242-1-fontaine.fabrice@gmail.com>
Fabrice, All,
On 2023-11-27 22:27 +0100, Fabrice Fontaine spake thusly:
> Fix the following build failure raised since bump of webp to version
> 1.3.2 in commit c88c1d3319dd24fa833455a2e7d96bc4585bab7f:
>
> /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/aarch64_be-buildroot-linux-uclibc/13.2.0/../../../../aarch64_be-buildroot-linux-uclibc/bin/ld: picture.o: undefined reference to symbol 'WebPMemoryWriterClear'
> /home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/aarch64_be-buildroot-linux-uclibc/13.2.0/../../../../aarch64_be-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-9/output-1/host/aarch64_be-buildroot-linux-uclibc/sysroot/usr/lib64/libwebp.so.7: error adding symbols: DSO missing from command line
>
> Fixes:
> - http://autobuild.buildroot.org/results/9b859a701debeaddf1f9909e16adc6811a620576
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> ...Include-libwebp-when-WEBP-is-enabled.patch | 26 +++++++++++++++++++
> 1 file changed, 26 insertions(+)
> create mode 100644 package/motion/0002-Include-libwebp-when-WEBP-is-enabled.patch
>
> diff --git a/package/motion/0002-Include-libwebp-when-WEBP-is-enabled.patch b/package/motion/0002-Include-libwebp-when-WEBP-is-enabled.patch
> new file mode 100644
> index 0000000000..a1536a7d2f
> --- /dev/null
> +++ b/package/motion/0002-Include-libwebp-when-WEBP-is-enabled.patch
> @@ -0,0 +1,26 @@
> +From 40ecd71ff361442f1579089481619dd7cae90ffd Mon Sep 17 00:00:00 2001
> +From: Piotr Mionskowski <piotr.mionskowski@gmail.com>
> +Date: Sun, 9 Jul 2023 01:44:49 +0200
> +Subject: [PATCH] Include libwebp when WEBP is enabled
> +
> +Upstream: https://github.com/Motion-Project/motion/commit/40ecd71ff361442f1579089481619dd7cae90ffd
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +---
> + configure.ac | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index ce588f65..ee45ac37 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -191,8 +191,8 @@ AS_IF([test "${WEBP}" = "yes" ], [
> + AS_IF([pkg-config libwebpmux ], [
> + AC_MSG_RESULT(yes)
> + AC_DEFINE([HAVE_WEBP], [1], [Define to 1 if WEBP is around])
> +- TEMP_CFLAGS="$TEMP_CFLAGS "`pkg-config --cflags libwebpmux`
> +- TEMP_LIBS="$TEMP_LIBS "`pkg-config --libs libwebpmux`
> ++ TEMP_CFLAGS="$TEMP_CFLAGS "`pkg-config --cflags libwebpmux libwebp`
> ++ TEMP_LIBS="$TEMP_LIBS "`pkg-config --libs libwebpmux libwebp`
> + ],[
> + AC_MSG_RESULT(no)
> + ]
> --
> 2.42.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-11-28 16:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-27 21:27 [Buildroot] [PATCH 1/1] package/motion: fix webp build Fabrice Fontaine
2023-11-28 16:12 ` Yann E. MORIN [this message]
2023-11-30 22: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=20231128161217.GF3177259@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
/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