* [matchbox-wm][PATCH v2] configure.ac: add lib math for composite enabled builds
@ 2018-03-27 7:06 Awais Belal
2018-03-28 10:10 ` Burton, Ross
0 siblings, 1 reply; 2+ messages in thread
From: Awais Belal @ 2018-03-27 7:06 UTC (permalink / raw)
To: yocto
The composite enabled builds require lib math to be
present on the linker command line otherwise we get
ld: composite-engine.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'
during compilation.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index dce82cc..a3e384f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -248,6 +248,7 @@ dnl ------ Composite -------------------------------------------------------
if test x$enable_composite != xno; then
PKG_CHECK_MODULES(COMPO, xcomposite xfixes xdamage xrender, ,
AC_MSG_ERROR([*** Required Composite Librays not installed ***]))
+ COMPO_LIBS="$COMPO_LIBS -lm"
AC_DEFINE(USE_COMPOSITE, [1], [use bleeding enge composite code])
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [matchbox-wm][PATCH v2] configure.ac: add lib math for composite enabled builds
2018-03-27 7:06 [matchbox-wm][PATCH v2] configure.ac: add lib math for composite enabled builds Awais Belal
@ 2018-03-28 10:10 ` Burton, Ross
0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2018-03-28 10:10 UTC (permalink / raw)
To: Awais Belal; +Cc: Yocto-mailing-list
Pushed, thanks.
Ross
On 27 March 2018 at 08:06, Awais Belal <awais_belal@mentor.com> wrote:
> The composite enabled builds require lib math to be
> present on the linker command line otherwise we get
> ld: composite-engine.o: undefined reference to symbol 'exp@@GLIBC_2.2.5'
> during compilation.
>
> Signed-off-by: Awais Belal <awais_belal@mentor.com>
> ---
> configure.ac | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configure.ac b/configure.ac
> index dce82cc..a3e384f 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -248,6 +248,7 @@ dnl ------ Composite -------------------------------------------------------
> if test x$enable_composite != xno; then
> PKG_CHECK_MODULES(COMPO, xcomposite xfixes xdamage xrender, ,
> AC_MSG_ERROR([*** Required Composite Librays not installed ***]))
> + COMPO_LIBS="$COMPO_LIBS -lm"
>
> AC_DEFINE(USE_COMPOSITE, [1], [use bleeding enge composite code])
>
> --
> 2.7.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-28 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-27 7:06 [matchbox-wm][PATCH v2] configure.ac: add lib math for composite enabled builds Awais Belal
2018-03-28 10:10 ` Burton, Ross
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.