| Author |
Message |
|
|
|
Post subject: POSIX_VERSION error
Posted: Oct 11, 2007 - 10:09 AM
|
|
New Member
Joined: Feb 25, 2005
Posts: 2
|
|
Hi,
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 ......
Thanks,
Andrew |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: POSIX_VERSION error
Posted: Oct 11, 2007 - 12:10 PM
|
|
QNX Master
Joined: Sep 01, 2002
Posts: 2753
|
|
| How do you build it ? Can you post the first lines (up to 44 ) of main.c? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: POSIX_VERSION error
Posted: Oct 11, 2007 - 12:34 PM
|
|
New Member
Joined: Feb 25, 2005
Posts: 2
|
|
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> |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: POSIX_VERSION error
Posted: Oct 11, 2007 - 05:06 PM
|
|
QNX Master
Joined: Sep 01, 2002
Posts: 2753
|
|
| What command line are you using to compile? |
|
|
| |
|
|
|
 |
|
|
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group Credits |
|
|