Hello everybody,
I am very new to qnx4.25 and have installed very recently.When i
compile a c program i am getting an error.
The program name is hello.c
if i do
wcc hello.c
i am getting the following error
/usr/watcom/10.6/bin/wcc386 -zq -ms -4r
-i=/usr/watcom/10.6/usr/include -i=/usr/
include hello.c
/usr/watcom/10.6/bin/wlink op quiet form qnx flat na hello op priv=3
op c libp /u
sr/watcom/10.6/usr/lib:/usr/lib:. f //ravi.o op offset=40k op st=32k
Error(2008): cannot open //hello.o : No such file or directory
cc: /usr/watcom/10.6/bin/wlink exited 1
And also if i include header file #include<stdio.h>
it is giving File not found
pls help me out with this
Hello
First, if you are a new user to QNX why don’t you start off wuth QNX 6? It
is better in so amny ways. Unless you need to work on an existing QNX 4
application. QNX 4 is also better on very memory constrained systems.
To help you with your problem, let me suggest this. Do not invoke the wcc
compiler directly. The required command line gets very complicated.
Instead invoke the cc utility. It will look at several system parameters
and correctly load wcc and wlink.
Good luck. Report back here how it went.
“Santha” <srinivasmani2000@rediffmail-dot-com.no-spam.invalid> wrote in
message news:dbsljk$nbb$1@inn.qnx.com…
Hello everybody,
I am very new to qnx4.25 and have installed very recently.When i
compile a c program i am getting an error.
The program name is hello.c
if i do
wcc hello.c
i am getting the following error
/usr/watcom/10.6/bin/wcc386 -zq -ms -4r
-i=/usr/watcom/10.6/usr/include -i=/usr/
include hello.c
/usr/watcom/10.6/bin/wlink op quiet form qnx flat na hello op priv=3
op c libp /u
sr/watcom/10.6/usr/lib:/usr/lib:. f //ravi.o op offset=40k op st=32k
Error(2008): cannot open //hello.o : No such file or directory
cc: /usr/watcom/10.6/bin/wlink exited 1
And also if i include header file #include<stdio.h
it is giving File not found
pls help me out with this
Santha <srinivasmani2000@rediffmail-dot-com.no-spam.invalid> wrote:
Hello everybody,
I am very new to qnx4.25 and have installed very recently.When i
compile a c program i am getting an error.
The program name is hello.c
if i do
wcc hello.c
i am getting the following error
/usr/watcom/10.6/bin/wcc386 -zq -ms -4r
-i=/usr/watcom/10.6/usr/include -i=/usr/
include hello.c
/usr/watcom/10.6/bin/wlink op quiet form qnx flat na hello op priv=3
op c libp /u
sr/watcom/10.6/usr/lib:/usr/lib:. f //ravi.o op offset=40k op st=32k
Error(2008): cannot open //hello.o : No such file or directory
cc: /usr/watcom/10.6/bin/wlink exited 1
And also if i include header file #include<stdio.h
it is giving File not found
pls help me out with this