Missing header kernel.h

I am just starting to program with Photon GUI and I keep running into a
header file named “kernel.h”. Where is this file? It’s suppose to be in
sys/, but it’s not. I can’t find it anywhere on the HD or the net.
I am trying to compile GNU plot but I need this file to do so. Does anyone
know where I can get it, or what I can replace it with?

Thanx,
Sylvain

Sylvain Simard <s_simard@hotmail.com> wrote:

I am just starting to program with Photon GUI and I keep running into a
header file named “kernel.h”. Where is this file? It’s suppose to be in
sys/, but it’s not. I can’t find it anywhere on the HD or the net.
I am trying to compile GNU plot but I need this file to do so. Does anyone
know where I can get it, or what I can replace it with?

<sys/kernel.h> is a QNX 4 header file.

Can you give some more details about exactly what your system configuration
is, what you’re trying to compile, and in what environment.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

David,
I’m trying to compile a few things under QNX RTP 6.1, for example, GNU plot
which has a photon terminal.
If <sys/kernel.h> is a QNX 4 file, how do I port the instructions to QNX
6.1?
Is there a replacement library I can include in my compiling?
My system is Intel PII/350, compiling with qcc/x86.
Thanks in advance,
Sylvain


“David Gibbs” <dagibbs@qnx.com> a écrit dans le message de news:
a4ug61$dtq$2@nntp.qnx.com

Sylvain Simard <> s_simard@hotmail.com> > wrote:
I am just starting to program with Photon GUI and I keep running into a
header file named “kernel.h”. Where is this file? It’s suppose to be in
sys/, but it’s not. I can’t find it anywhere on the HD or the net.
I am trying to compile GNU plot but I need this file to do so. Does
anyone
know where I can get it, or what I can replace it with?

sys/kernel.h> is a QNX 4 header file.

Can you give some more details about exactly what your system
configuration
is, what you’re trying to compile, and in what environment.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Sylvain Simard <s_simard@hotmail.com> wrote:

David,
I’m trying to compile a few things under QNX RTP 6.1, for example, GNU plot
which has a photon terminal.
If <sys/kernel.h> is a QNX 4 file, how do I port the instructions to QNX
6.1?

<sys/kernel.h> defines things like Send/Receive/Reply and other
kernel calls for QNX4.

The closest QNX6 equivalent would be <sys/neutrino.h>

Both define stuff that should be in the standard libraries…in fact
stuff that must be in the standard libraries. (Or, that gets done
as inline assembly, but you don’t need any special link stuff for
the changeover.)

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.