Error in newlib build for qnx - unknown type 'wint_t'

pcwh <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <cHgkSdyLLr9d6Q19OpgPQMDsUZTMNyvgfBbZ4ohQeC1o1_K7HorRG7yIjFK12UYWoerXS9g95Bu60D2phi5ReJ9DRIgNSH0CQk1MnGxmjL4=@proton.me>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.