All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] util-linux compile problems
Date: Mon, 08 Aug 2011 20:05:20 +0200	[thread overview]
Message-ID: <87fwlblqxr.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1312804690-21977-1-git-send-email-s.neumann@raumfeld.com> (Sven Neumann's message of "Mon, 8 Aug 2011 13:58:08 +0200")

>>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:

 Sven> Hi,
 Sven> after updating buildroot we are getting compile errors from building
 Sven> util-linux. First the linker was complaining that it couldn't find
 Sven> libintl_gettext and related symbols. I was able to fix that by
 Sven> passing --disable-nls to the configure script (patch follows).
 Sven> Now I am getting errors all over the place because
 Sven> program_invocation_short_name is not defined. This is correct
 Sven> and there's a configure check to test for this. Based on this check
 Sven> a fallback is provided by include/c.h. However this file is not
 Sven> included from all places that use program_invocation_short_name.

 Sven> Now I wonder if this would best be fixed by patching all affected
 Sven> source files in util-linux or if UCLIBC_HAS_PROGRAM_INVOCATION_NAME
 Sven> should be selected when util-linux is selected.

We got rid of the BR2_PROGRAM_INVOCATION option back on the 27/7, as the
dependencies got quite messy and it only adds ~100 bytes to uClibc, so
check your uclibc .config.

We already pass --disable-nls unless you have locales enabled, so
perhaps it needs similar handling as libglib2 for uClibc (select
LIBINTIL if BR2_NEEDS_GETTEXT). Thomas also mentioned something about
that, but I haven't done a locale build lately to test. Will do so now.

-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2011-08-08 18:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08 11:58 [Buildroot] util-linux compile problems Sven Neumann
2011-08-08 11:58 ` [Buildroot] [PATCH 1/2] util-linux: fix BR2_PACKAGE_UTIL_LINUX_UUIDD option Sven Neumann
2011-08-08 18:06   ` Peter Korsgaard
2011-08-08 11:58 ` [Buildroot] [PATCH 2/2] util-linux: disable NLS Sven Neumann
2011-08-08 12:13 ` [Buildroot] util-linux compile problems Yegor Yefremov
2011-08-08 12:24   ` Sven Neumann
2011-08-08 18:05 ` Peter Korsgaard [this message]
2011-08-08 19:16   ` Peter Korsgaard
2011-08-09  9:50     ` Sven Neumann
2011-08-09 14:18       ` Peter Korsgaard
2011-08-11  7:56         ` Sven Neumann
2011-08-12  8:28           ` 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=87fwlblqxr.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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 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.