This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Linker error

hi all,

I am using XC164CS board.when i build my source code linker error occurs.How to overcome the following linker error.What is the reason for such error?.The help is not very clear to me.waiting for your reply.

Build target 'Target 1'
linking...
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: Convol
MODULE: real_T_FFT.obj (REAL_T_FFT)
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: Convol
MODULE: real_T_FFT.obj (REAL_T_FFT)
ADDRESS: 1BAAH
Target not created

Thanks in advance
Chris

Parents
  • christober,

    That's a pretty standard error you'll see when you make a mistake writing a program. You've got a variable (or maybe a function) named "Convol" that you've declared as "extern" in the module REAL_T_FFT. The compiler accepts this and compiles that file, but leave it to the linker to find out which OTHER module has the actual definition of that variable. What's happened here is that the linker says that the name "Convol" isn't actually defined in ANY module in your project and so it can't proceed.

    This could be caused by a typo, by you failing to include a library with your project, etc.

Reply
  • christober,

    That's a pretty standard error you'll see when you make a mistake writing a program. You've got a variable (or maybe a function) named "Convol" that you've declared as "extern" in the module REAL_T_FFT. The compiler accepts this and compiles that file, but leave it to the linker to find out which OTHER module has the actual definition of that variable. What's happened here is that the linker says that the name "Convol" isn't actually defined in ANY module in your project and so it can't proceed.

    This could be caused by a typo, by you failing to include a library with your project, etc.

Children