I am having a liitle difficulty with QNX, and as I am new to this need a little help.

First a little background. It’s QNX 6.3.2 on x86

I have a reasonably sized program that I tend to use as a trial for a new OS, I simply build it. Most of the time it works with little or no adjustment.

However I get this:
In file included from main.c:44:
/usr/qnx632/target/qnx6/usr/include/unistd.h:135: #error _POSIX_VERSION not configured for system
make: *** [main.o] Error 1

Suggestion on a post card to … :slight_smile:


How do you build it ? Can you post the first lines (up to 44 ) of main.c?

Lines 1-38 are comments and the rest are:

40: #include <stdio.h>
41: #include <stdlib.h>
42: #include <sys/types.h>
43: #include <sys/stat.h>
44: #include <unistd.h>

What command line are you using to compile?