2748 views|2 replies

3

Posts

0

Resources
The OP

Problems with inserting TSK when building CCSV5 DSPBIOS [Copy link]

I am new to this field and I am not familiar with it. Today I encountered a problem with TSK insertion and I cannot solve it. Please help me. Thank you very much! I built a DSPBIOS environment based on TMS320C6455 through the hello routine and wanted to insert the TSK thread. However, every time I modify the TSK function, an error will be reported. The error content is as follows


undefined first referenced
  symbol       in file     
--------- ----------------
_F1       ./hellocfg.obj  

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "tsktest1.out" not built

>> Compilation failure
gmake: *** [tsktest1.out] Error 1
gmake: Target `all' not remade because of errors.

其中 _F1   是我修改的TSK function的名称。



捕获.PNG (121.86 KB, downloads: 1)

捕获.PNG
This post is from DSP and ARM Processors

3

Posts

0

Resources
2
问题的advice

Typical message

undefined first referenced
  symbol       in file     
--------- ----------------
myfunc    example.obj     

error #10234-D: unresolved symbols remain
What it means
The linker has encountered a symbol (function or variable) for which it cannot find the definition.

Why is it happening
The linker takes the object files produced by the compiler and combines them into a single executable program. A key part of this process is mapping symbol references to their definitions. For example, a function myfunc() could be defined in file A and used in file B. The linker connects the reference to the definition. This error indicates that the linker was unable to find the definition; an object file or library containing the definition for the symbol was not provided to the linker.

Remedy
The first step is to determine why the symbol is undefined. If the function or variable is something you expected to create as part of your project, ensure that you provide an actual definition for the symbol and that the file containing the definition is part of the project. Otherwise, the most likely scenario is that you are referencing a symbol that is provided by a library and the library is not being referenced. Make sure that required libraries are specified using the --library option in the File Search Path options.

Risks, Severity
An executable will not be created until this error is resolved.
This post is from DSP and ARM Processors

3

Posts

0

Resources
3
I checked again, if I set the Tsk name and TSK function name to be the same, there will be no error, and the uppercase and lowercase letters must also be the same... What is the problem :Cry:
This post is from DSP and ARM Processors

Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>
    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list