Error in newlib build for qnx - unknown type 'wint_t'
pcwh
pcwh@proton.me
Tue Apr 8 20:13:25 GMT 2025
Hello,
I am trying to build newlib-4.5.0.20241231 for qnx but am encountering
the following error when I run make:
In file included from /root/newlib/newlib/libc/include/sys/reent.h:16,
from /root/newlib/newlib/libc/include/math.h:5,
from ../../../newlib/newlib/libm/common/fdlibm.h:15,
from ../../../newlib/newlib/libm/math/k_standard.c:15:
/root/newlib/newlib/libc/include/sys/_types.h:167:5: error: unknown type name 'wint_t'
My configure command looks something like:
../newlib/configure --target=x86_64-pc-nto-qnx8.0.0 --prefix=/opt/qnx/qnx800/host/linux/x86_64
Am I correct in assuming that if qnx is already supported, that I do not have to make modifications to the newlib source? I have the same problem if I try to build for qnx 7.1.0 or qnx 8.0.0. What am I missing?
Thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/newlib/attachments/20250408/53acbe11/attachment.htm>
More information about the Newlib
mailing list