Hi everybody!
I’ve tried to compile some C code for QNX under QNX 6.0. There is an
#include <sys/kernel.h>, but I haven’t found any kernel.h under
/usr/include. I’m using gcc 2.95.2. Can anybody help me, please?
Thanks…
Jirka.
Jiri Krejcik wrote:
Hi everybody!
I’ve tried to compile some C code for QNX under QNX 6.0. There is an
#include <sys/kernel.h>, but I haven’t found any kernel.h under
/usr/include. I’m using gcc 2.95.2. Can anybody help me, please?
Thanks…
Jirka.
It looks like it is now called <sys/kercalls.h>.
At least it forces you to think about the work involved in porting any
Linux code that does kernel calls
Good Luck …
Phil Olynyk
sys/kernel.h was a QNX4 header. Under QNX6 you should include
sys/neutrino.h
Phil Olynyk <pholynyk@home.com> wrote:
Jiri Krejcik wrote:
Hi everybody!
I’ve tried to compile some C code for QNX under QNX 6.0. There is an
#include <sys/kernel.h>, but I haven’t found any kernel.h under
/usr/include. I’m using gcc 2.95.2. Can anybody help me, please?
Thanks…
Jirka.It looks like it is now called <sys/kercalls.h>.
At least it forces you to think about the work involved in porting any
Linux code that does kernel calls >Good Luck …
Phil Olynyk