Porting problems

Hi,
I have begun porting a Linux application to QNX RTP and have run into a
snag.
Several of the code files contain #include directives such as #include
<X11/Stringdefs.h>
I read this as “look in the X11 subdirectory of a standrad search path for
the file Stringdefs.h and include it” However, when I run make I get the
error message “(filename):(line#): X11/Stringdefs.h: No such file or
directory”
The file exists though - it is in /usr/X11R6/include/X11
I have tried editing the makefile by adding /usr/X11R6/include to the
search path using both the -L option and the -idirafter option to qcc but I
get the same error. I would prefer not to have to change all the #includes
in all the files, but can’t seem to get things to work any other way.
Can anyone tell me what I am doing wrong?
Thanks

Eric F. Peterson

In article <39F6E02F.8710A915@mh-hannover.de>, kampmann.joerg@mh-hannover.de
says…

Permission bits ??

Eric Peterson schrieb:

Hi,
I have begun porting a Linux application to QNX RTP and have run into a
snag.
Several of the code files contain #include directives such as #include
X11/Stringdefs.h
I read this as “look in the X11 subdirectory of a standrad search path for
the file Stringdefs.h and include it” However, when I run make I get the
error message “(filename):(line#): X11/Stringdefs.h: No such file or
directory”
The file exists though - it is in /usr/X11R6/include/X11
I have tried editing the makefile by adding /usr/X11R6/include to the
search path using both the -L option and the -idirafter option to qcc but I
^^^

Shouldn’t this be -I ?

get the same error. I would prefer not to have to change all the #includes
in all the files, but can’t seem to get things to work any other way.
Can anyone tell me what I am doing wrong?
Thanks

Eric F. Peterson

============================================================================
Dipl.-Phys. Dr. Joerg Kampmann - Medizinische Hochschule Hannover
“Rechnergestuetzte Intensivpflege” OE 6204
D-30623 Hannover
Telefon: +49-(0)511-532-3438/3356 : Fax:+49-(0)511-532-8439
Mobilfunk (Handy E-Plus): +49-(0)177-276-3140
e-mail: > kampmann@thg.mh-hannover.de > / > kampmann@ibk-consult.de
(Private)
www: > http://www.mh-hannover.de/institut/ag_dv_intensiv/index.htm

@@@ -----------> QNX is a better RTOS (> http://www.qnx.com> ) <----------
@@@

Permission bits ??

Eric Peterson schrieb:

Hi,
I have begun porting a Linux application to QNX RTP and have run into a
snag.
Several of the code files contain #include directives such as #include
X11/Stringdefs.h
I read this as “look in the X11 subdirectory of a standrad search path for
the file Stringdefs.h and include it” However, when I run make I get the
error message “(filename):(line#): X11/Stringdefs.h: No such file or
directory”
The file exists though - it is in /usr/X11R6/include/X11
I have tried editing the makefile by adding /usr/X11R6/include to the
search path using both the -L option and the -idirafter option to qcc but I
get the same error. I would prefer not to have to change all the #includes
in all the files, but can’t seem to get things to work any other way.
Can anyone tell me what I am doing wrong?
Thanks

Eric F. Peterson

============================================================================
Dipl.-Phys. Dr. Joerg Kampmann - Medizinische Hochschule Hannover
“Rechnergestuetzte Intensivpflege” OE 6204
D-30623 Hannover
Telefon: +49-(0)511-532-3438/3356 : Fax:+49-(0)511-532-8439
Mobilfunk (Handy E-Plus): +49-(0)177-276-3140
e-mail: kampmann@thg.mh-hannover.de / kampmann@ibk-consult.de
(Private)
www: http://www.mh-hannover.de/institut/ag_dv_intensiv/index.htm

@@@ -----------> QNX is a better RTOS (http://www.qnx.com) <----------
@@@