Forums

c5402 linker (I think...) problem

Started by matt...@yahoo.com December 3, 2009
Hi all,
I'm a student and I've to develop a FIR filter with Interrupt using c5402 DSK.
I use ccs 2.1.
For first I start from a perfectly working Hello World(I think you say WOW!!! :D ).
My Idea is to create an interrupt-ed Hello World and then start the implementation of the filter.
The problem is that when I create and add a .cdb file with the configuration of Timer and HWI Service Routine Manager into my project, the compilation give no errors but at linking time I reach this:



"d:\programmi\ti\c5400\cgtools\bin\cl500" -@"Custom.lkf"


undefined first referenced
symbol in file
--------- ----------------
LNK_D_fromHostMask D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
GBL_F_version D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
GBL_stackend D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
TSK_VCREATEFXN D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_TSK_init D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
TSK_VDELETEFXN D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_TSK_exit D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
LNK_F_dataPump D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
PIP_D_tabbeg D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_IDL_loop D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_KNL_queues D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_timer_isr D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
IDL_F_busy D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
IDL_F_init D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_MEM D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
RTA_F_dispatch D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_KNL_exit D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
ATRAP_H D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
CLK_F_isr54x D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
LNK_D_dataReadyMask D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_TSK_setup D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
PIP_D_tablen D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_CLK_startNOPRSC D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
GBL_F_chip54x D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
KNL_glue D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
HWI_F_dispatch D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_FXN_F_nop D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
SWI_D_rdytab D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
PRD_F_tick D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_UTL_doPutc D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_KNL_run D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
LNK_F_init D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
TRC_R_mask D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
CLK_F_isr D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_CLK_start D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
TSK_VEXITFXN D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
IDATA$B D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_HWI_dispatchTab D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
IDATA$L D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
PIP_F_start D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
SWI_F_stub D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
RTA_F_or D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_RTDX_Poll D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_GBL_cslInit D:\ETMS320C54x COFF Linker Version 3.70
Copyright (c) 1996-2001 Texas Instruments Incorporated
LETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_UTL_halt D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_UTL_doError D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_MEM_init D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
GBL_stackbeg D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_TSK_startup D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
GBL_R_sysdp D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
PRD_D_tablen D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
_UTL_doAbort D:\ELETTRONICA 3 DSP\1105\1105\blink\blink\config2cfg.obj
>> error: symbol referencing errors - blink.out not built

Build Complete,
1 Errors, 0 Warnings, 0 Remarks.



Note that currently my source code have nothing related with interrupt. It's just an hello world:

#include
#include
#include "config2cfg.h"
#include
#include

void main()
{
puts("hello world!!!");
}
Thanks for support!
Matteo.

OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x