[Buildroot] util-linux compile problems

Yegor Yefremov yegor_sub1 at visionsystems.de
Mon Aug 8 12:13:07 UTC 2011


Hi Sven,

> 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).

I've tried the 2.20-rc1 and also found this problem, that I didn't see before. I got rid of it by selecting libintl and adding it to build dependencies. Could you try this?

> 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.

Yegor



More information about the buildroot mailing list