[Buildroot] [nano] error compiling nano

Peter Korsgaard peter at korsgaard.com
Fri Feb 26 15:43:21 UTC 2016


>>>>> "Óscar" == Óscar Gómez Fuente <oscargomezf at gmail.com> writes:

 > Hi,
 > I'm trying to compile the test editor: nano, with raspberrypi2_defconf
 > configuration and fail. It seems to be that the problem is in the source
 > file: char.c.

 > I attached you the log of the make:

 > ---
 > ...
 >      IGNORE_CALL_RESULT(mbtowc(NULL, NULL, 0));
 >      ^
 > chars.c: In function ‘wctomb_reset’:
 > chars.c:101:5: warning: implicit declaration of function ‘wctomb’
 > [-Wimplicit-function-declaration]
 >      IGNORE_CALL_RESULT(wctomb(NULL, 0));

Nano needs wide character support. It sounds like you have built a
toolchain without it, and then changed the toolchain configuration and
added nano without doing a clean rebuild.

You need to do a clean rebuild if you change toolchain options.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list