[Buildroot] util-linux compile problems

Sven Neumann s.neumann at raumfeld.com
Mon Aug 8 11:58:08 UTC 2011


Hi,

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

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


Sven




More information about the buildroot mailing list