On 9/12/20 3:22 PM, Tim Tassonis via lfs-dev wrote:
Hi all
When trying to build chapter 6.2 m4, I get
CC gl_avltree_oset.o
CC binary-io.o
CC c-ctype.o
CC c-stack.o
CC c-strcasecmp.o
CC c-strncasecmp.o
CC clean-temp.o
In file included from /lfs/usr/include/stdlib.h:1018,
from ./stdlib.h:36,
from clean-temp.c:29:
/lfs/usr/include/bits/stdlib.h: In function 'wctomb':
/lfs/usr/include/bits/stdlib.h:91:3: error: #error "Assumed value of
MB_LEN_MAX wrong"
91 | # error "Assumed value of MB_LEN_MAX wrong"
| ^~~~~
make[3]: *** [Makefile:1910: clean-temp.o] Error 1
make[3]: Leaving directory '/lfs/lgl-bld/m4-1.4.18/lib'
make[2]: *** [Makefile:1674: all] Error 2
make[2]: Leaving directory '/lfs/lgl-bld/m4-1.4.18/lib'
make[1]: *** [Makefile:1572: all-recursive] Error 1
make[1]: Leaving directory '/lfs/lgl-bld/m4-1.4.18'
make: *** [Makefile:1528: all] Error 2
Is this known, or did I do something wrong in the previous chapters?
Sorry for the noise, I just found at the bottom of the gcc:
Now that our cross-toolchain is complete, finalize the installation of
the limits.h header. For doing so, run a utility provided by the GCC
developers:
$LFS/tools/libexec/gcc/$LFS_TGT/10.2.0/install-tools/mkheaders
Going back to square one...
Bye
Tim
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page