[Buildroot] util-linux compile problems
Peter Korsgaard
jacmet at uclibc.org
Mon Aug 8 18:05:20 UTC 2011
>>>>> "Sven" == Sven Neumann <s.neumann at 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
More information about the buildroot
mailing list