View topic - error 33, dont find libraries

error 33, dont find libraries

General Help about QNX

error 33, dont find libraries

Postby catuogno » Thu Oct 09, 2008 1:42 pm

Hello, Im new in this,, Im programing small programs in C but when I want to compile (#cc ejemplo1.c or #cc -o ejemplo1 ejemplo1.c) the terminal put this:

#ejemplo1.c:2: stlib.h: No such file or directory
cc: /usr/qnx632/host/qnx6/x86/usr/lib/gcc-lib/ntox86/2.95.3/cpp0 error 33

do the same with all libraries..

Saludos... guille.-
catuogno
New Member
 
Posts: 7
Joined: Thu Jul 27, 2006 1:40 pm
Location: San Luis, Argentina

RE: error 33, dont find libraries

Postby micro » Thu Oct 09, 2008 1:53 pm

stdlib.h
stdio.h

there is a "d" in std..

If this is just a typo, do you have a runtime or development system? May headers are missing, also try "qcc" instead of cc
micro
Senior Member
 
Posts: 458
Joined: Thu Jul 22, 2004 8:41 pm

RE: error 33, dont find libraries

Postby ysinitsky » Thu Oct 09, 2008 1:53 pm

Isn’t it stdlib (with “dâ€
ysinitsky
Senior Member
 
Posts: 164
Joined: Wed Dec 14, 2005 8:46 pm

RE: error 33, dont find libraries

Postby catuogno » Thu Oct 09, 2008 2:03 pm

in the program is stdlib.h and stdio.h....
catuogno
New Member
 
Posts: 7
Joined: Thu Jul 27, 2006 1:40 pm
Location: San Luis, Argentina

RE: error 33, dont find libraries

Postby ysinitsky » Thu Oct 09, 2008 2:14 pm

Please type
find /usr –name stdlib.h

Is stdlib.h found?
ysinitsky
Senior Member
 
Posts: 164
Joined: Wed Dec 14, 2005 8:46 pm

RE: error 33, dont find libraries

Postby catuogno » Thu Oct 09, 2008 2:31 pm

hello ysinitsky,,, all libraries are in:

/usr/include

but when I compile don find anyone!!! I also try with qcc.. and its the same.
catuogno
New Member
 
Posts: 7
Joined: Thu Jul 27, 2006 1:40 pm
Location: San Luis, Argentina

RE: error 33, dont find libraries

Postby ysinitsky » Thu Oct 09, 2008 2:44 pm

These are rather headers (not libraries).
Please try
cc –I/usr/include your_prog_name.c
Yuriy
ysinitsky
Senior Member
 
Posts: 164
Joined: Wed Dec 14, 2005 8:46 pm

RE: error 33, dont find libraries

Postby mario » Thu Oct 09, 2008 9:07 pm

If you have to do -I /usr/include then something is really broken in your installation. How and what did you install? What does qcc -V reports?

What is your version of QNX?
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: error 33, dont find libraries

Postby zera » Tue Feb 16, 2010 8:56 pm

Hello i have the same problem when i compile it doesnt find the libraries NO SUCH FILE OR DIRECTORY stdio.h or signal.h my version is qnx 6.4.0
zera
New Member
 
Posts: 2
Joined: Tue Feb 16, 2010 7:42 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 2 guests