Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - static library (unresolve symbols): (2 Items)
   
static library (unresolve symbols)  
Seems like a silly question but I'm having trouble to create a static library and link it into an application I've 
attached a simple example to show the problem I'm facing, namely unresolved symbols. Does anyone know what I'm missing 
here ??

Thanks
Wim
Attachment: Compressed file static linking.zip 724 bytes
RE: static library (unresolve symbols)  
Put the -ltest AFTER main.o. Also do not name the executable test, under windows and QNx there are already executable 
called test.  If you run "test" you might be running these application instead of yours depending how PATH is setup.

-----Message d'origine-----
De : Wim Hellenthal [mailto:community-noreply@qnx.com] 
Envoyé : 9 août 2010 07:49
À : general-toolchain
Objet : static library (unresolve symbols)

Seems like a silly question but I'm having trouble to create a static library and link it into an application I've 
attached a simple example to show the problem I'm facing, namely unresolved symbols. Does anyone know what I'm missing 
here ??

Thanks
Wim



_______________________________________________

General
http://community.qnx.com/sf/go/post62264