On 8/20/20 11:28 AM, John Burrell via lfs-dev wrote:
I get this result
make[3]: Entering directory '/mnt/lfs/build/m4/m4-1.4.18/lib'
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 /mnt/lfs/usr/include/stdlib.h:1018,
from ./stdlib.h:36,
from clean-temp.c:29:
/mnt/lfs/usr/include/bits/stdlib.h: In function 'wctomb':
/mnt/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 '/mnt/lfs/build/m4/m4-1.4.18/lib'
make[2]: *** [Makefile:1674: all] Error 2
Arch applies quite a substantial patch which allows it to compile. I
don't know which bit of the patch fixes the above problem I'm afraid
Something weird on your host. MB_LEN_MAX should be defined as 16. Try
to figure out where it is defined differently.
Tell us about your host.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page