`xlocale.h` not found when building with `musl`.
Closed this issue · 1 comments
StefanJum commented
Building with Musl fails on this line, since there is no xlocale.h
within Musl source files.
There is a xlocale.h
header file located in the origin libcxx
code, specifically as support for musl, that can be used as a replacement for the newlib's xlocale.h
. That needs to be included in the libcxx
Makefile.uk
include paths.
In file included from /media/stefan/projects/unikraft/musl-test/unikraft-musl/unikraft/plat/kvm/x86/time.c:41:
unikraft/musl-test/unikraft-musl/libs/libcxx/include/stdlib.h:1:10: fatal error: xlocale.h: No such file or directory
1 | #include <xlocale.h>