View Single Post
  #2   Spotlight this post!  
Unread 15-01-2009, 07:42
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: [Windriver] Getting error on run: Download Failed

Quote:
Originally Posted by JHale View Post
Getting further.

I no longer get the unknown error, but now I get a massive list of unresolved symbols.

Am I missing some include path?
When you download a module, vxWorks needs to connect all the unresolved references in your module.
For example, if your module calls a function named 'foo', then vxWorks must be able to find an address for 'foo'.
The function 'foo' might be part of the vxWorks kernel or it might come from other modules that have already been downloaded.
Include paths are a compile time issue -- where does the compiler look for header files.
Unresolved symbols is a link time issue (in this case dynamic linking) -- the linker is unable to find some data object or function.
Of course, with C++ name mangling, it can be tedious to figure out where the unresolved symbols are supposed to come from.
It may be that you need to statically link your module to some library.

Last edited by gvarndell : 15-01-2009 at 07:50.
Reply With Quote