Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - new to QNX: (3 Items)
   
new to QNX  
hI
all:
I just installed QNX  and started to use it
one of my module got the follwoing error(in the same project with multiple moudles):(link error)

C:/QNX650/host/win32/x86/usr/bin/qcc -Vgcc_ntoarmv7 -Wl,--no-keep-memory  -lang-c++ -lang-c++    -oC:/Users/qiurosea/
Documents/MKS/Development/QNX/MPU-APPS/ServerConfigLib/arm/o-le-v7/ServerConfigLib    ServerConfig.o   -L . -L C:/QNX650
/target/qnx6/armle-v7/lib -L C:/QNX650/target/qnx6/armle-v7/usr/lib  -Wl,--rpath-link . -Wl,--rpath-link C:/QNX650/
target/qnx6/armle-v7/lib -Wl,--rpath-link C:/QNX650/target/qnx6/armle-v7/usr/lib    -lc   -EL          
C:/QNX650/target/qnx6/armle-v7/lib/crt1.o: In function `start_7':
(.text+0xe8): undefined reference to `main'

I checked this module, there is no main and also this module includes all the function definition.
to other modules in the same project, it is ok
though I used exact same configure.
I am stuck here for two days, I would need your help.
(I checked the ctrl.o, I do not have source code for this file)
thanks
Re: new to QNX  
Hello
Did you get some solution of this issue, currently im stuck with it.
Re: new to QNX  
If you trying to create a library, you have to change you project settings to produce a library not a binary.
http://www.qnx.com/developers/docs/6.4.1/ide_en/user_guide/images/newproject_type.gif

(You can also change it in the settings)