All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] lttng-babeltrace: fix build with standalone gettext
@ 2016-03-19 20:12 Max Filippov
  2016-07-01  8:15 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Max Filippov @ 2016-03-19 20:12 UTC (permalink / raw)
  To: buildroot

lttng-babeltrace can't detect that uuid_generate is provided by -luuid
because the configure test fails with the following message:
  libuuid.a(libuuid_la-randutils.o): In function `random_get_bytes':
  randutils.c:(.text+0x204): undefined reference to `libintl_gettext'

Add LIBS=-lintl to configure options in case we're building with
standalone gettext.
Fixes:
  http://autobuild.buildroot.net/results/1ab89c6e8d704bc28c9ff8b5ffda3f60e57a25b4/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
 package/lttng-babeltrace/lttng-babeltrace.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/lttng-babeltrace/lttng-babeltrace.mk b/package/lttng-babeltrace/lttng-babeltrace.mk
index 5de77fb..cf57843 100644
--- a/package/lttng-babeltrace/lttng-babeltrace.mk
+++ b/package/lttng-babeltrace/lttng-babeltrace.mk
@@ -12,5 +12,9 @@ LTTNG_BABELTRACE_LICENSE_FILES = mit-license.txt gpl-2.0.txt LICENSE
 
 LTTNG_BABELTRACE_DEPENDENCIES = popt util-linux libglib2
 
+ifeq ($(BR2_NEEDS_GETTEXT),y)
+LTTNG_BABELTRACE_CONF_OPTS += LIBS=-lintl
+endif
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] lttng-babeltrace: fix build with standalone gettext
  2016-03-19 20:12 [Buildroot] [PATCH] lttng-babeltrace: fix build with standalone gettext Max Filippov
@ 2016-07-01  8:15 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-07-01  8:15 UTC (permalink / raw)
  To: buildroot

Max,

On Sat, 19 Mar 2016 23:12:30 +0300, Max Filippov wrote:
> lttng-babeltrace can't detect that uuid_generate is provided by -luuid
> because the configure test fails with the following message:
>   libuuid.a(libuuid_la-randutils.o): In function `random_get_bytes':
>   randutils.c:(.text+0x204): undefined reference to `libintl_gettext'
> 
> Add LIBS=-lintl to configure options in case we're building with
> standalone gettext.
> Fixes:
>   http://autobuild.buildroot.net/results/1ab89c6e8d704bc28c9ff8b5ffda3f60e57a25b4/
> 
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

According to Samuel, this is already fixed by commit
ef18eedce6f8daef20de1531efffb7d429f40b9d, so I've marked your patch as
Superseded. Let me know if you still see the problem even with
ef18eedce6f8daef20de1531efffb7d429f40b9d included.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-01  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-19 20:12 [Buildroot] [PATCH] lttng-babeltrace: fix build with standalone gettext Max Filippov
2016-07-01  8:15 ` Thomas Petazzoni

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.