DSPRelated.com
Forums

undefined symbols

Started by adityakothari February 21, 2005
hi all

i get thses " Undefined Symbols " in the "Not Yet Placed " branch of the
visual linker for CCS 2.20 (simulating TMS320C6713) which i am not able to
understand.
can plese any body help me on fixing it


adityakothari wrote:

> hi all > > i get thses " Undefined Symbols " in the "Not Yet Placed " branch of the > visual linker for CCS 2.20 (simulating TMS320C6713) which i am not able to > understand. > can plese any body help me on fixing it > >
This is an issue you'll get with any tool chain, so it may be a good question for comp.arch.embedded, or a "basic" group if there is one. You get an "undefined symbols" error from a linker if there is someplace in your code where you have used a symbol (a function or a variable) without defining it. In the case of a variable this means that you're doing something like: extern foo; ... foo = bar; In the case of a function in C all you need to do is misspell a function: int foo(int bar) {return -bar;} ralph = fuu(34); Usually your linker will tell you _which_ symbols are missing; look, and do a search through your source code for the offending symbol. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com