Hi Marc, > The compiler throws the following error at me: > > lib/hard-locale.c: In function 'hard_locale': > lib/hard-locale.c:29:15: error: 'SETLOCALE_NULL_MAX' undeclared (first > use in this function); did you mean 'SETLOCALE_NULL_ALL_MTSAFE'? > 29 | char locale[SETLOCALE_NULL_MAX]; > | ^~~~~~~~~~~~~~~~~~
Does the error occur always, or only with "make -j"? Are the following statements true in your build? (1) I use the module 'hard-locale'. (2) I use the module 'setlocale-null'. (3) config.status defines GNULIB_SETLOCALE_NULL to 1. (4) The file lib/setlocale_null.h exists. (5) The file lib/locale.h includes setlocale_null.h. (6) The -I options passed to GCC make sure that setlocale_null.h gets found. Bruno