Forums » Software Development »
Linker error on DSP application with Code Composer 6
Added by Silvano Bertoldo over 10 years ago
Dear all,
we are trying to build a simple application on DSP using Code Composer 6 plus DSP/BIOS.
In the following the very simple code:
/*
* main.c
*/
#include <std.h>
#include <log.h>
#include <stdio.h>
#include "Testcfg.h"
int main(void) {
printf("hello world!");
return 0;
}
We get these errors from the linker:
undefined first referenced
symbol in file
--------- ----------------
_MSGQ_config c:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq.o674>
_POOL_config c:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<pool.o674>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "prova2.out" not built
Compilation failure
gmake: *** [prova2.out] Error 1
gmake: Target `all' not remade because of errors.
Attached you can find a file with the complete build and linker sequences and the .tcf file created with the DSP/BIOS graphical configuration tool.
Thanks in advance for your response.
Greetings.
Silvano
Test.tcf (346 Bytes) Test.tcf | |||
BuildLinkerErrors.txt (2.11 KB) BuildLinkerErrors.txt |
Replies (3)
RE: Linker error on DSP application with Code Composer 6 - Added by Greg Dias over 10 years ago
Silvano,
Have you followed our guide to building a Hello World application?
https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/DSP_Hello_World
The steps for setting up a proper build environment and building DSP apps is highlighted in that guide.
Let us know if you still have problems getting your software to build.
Greg
RE: Linker error on DSP application with Code Composer 6 - Added by Jonathan Cormier over 10 years ago
Note i found the generic c674x device under target: generic devices
DSP C674x.png (8.81 KB) DSP C674x.png | |||
DSP_C674x.png (8.81 KB) DSP_C674x.png |
RE: Linker error on DSP application with Code Composer 6 - Added by Silvano Bertoldo over 10 years ago
Thanks a lot to everybody.
It was a simple linker problem.
Silvano