Compiling fails just after the linux kernel has been built, if "cpupower" is selected under "Linux Kernel Tools" with the following error: CC utils/helpers/sysfs.o In file included from utils/helpers/amd.c:9:0: ./utils/helpers/helpers.h:13:21: fatal error: libintl.h: No such file or directory #include <libintl.h> ^ compilation terminated. Enabling WCHAR support under toolchain settings, and then selecting "gettext" under "Target Packages" and "Development Tools" allows the compilation to get a little further, but it still stops with the following error: CC cpupower ./utils/idle_monitor/amd_fam14h_idle.o: In function `amd_fam14h_stop': amd_fam14h_idle.c:(.text+0x3c3): undefined reference to `libintl_gettext' ./utils/idle_monitor/cpupower-monitor.o: In function `print_wrong_arg_exit': cpupower-monitor.c:(.text+0x9): undefined reference to `libintl_gettext' ./utils/idle_monitor/cpupower-monitor.o: In function `print_results': and so on. This has also been tested with buildroot-2015.11.1 using the default configuration. The kernel configuration selected was i386 (defconfig)
Joergen, I sent a patch to the list: https://patchwork.ozlabs.org/patch/660594/ Care to test it and report, please? Regards, Yann E. MORIN.
Yes! I tested the patch on 2016.05, and it works. Thank you very much. Looks like we can close this bug very quickly ;-) Is it possible to get this into the upcoming 2016.08 release? ----- Regards. Jorgen.Pihlflyckt@ajeco.fi
Fixed in commit f55adea434876cf1ee2604abe367ed1b6c555faf.