This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320c5517的fft函数为啥无法识别?

<Linking>
warning: creating output section ".cio" without a SECTIONS specification
warning: creating output section ".const" without a SECTIONS specification
warning: creating output section "data_br_buf" without a SECTIONS
specification
warning: creating output section "scratch_buf" without a SECTIONS
specification

undefined first referenced
symbol in file
--------- ----------------
_hwafft_512pts ./configuration.obj

error: unresolved symbols remain
error: errors encountered during linking; "led.out" not built

>> Compilation failure
makefile:139: recipe for target 'led.out' failed
gmake: *** [led.out] Error 1
gmake: Target 'all' not remade because of errors.

Description Resource Path Location Type
unresolved symbols remain led C/C++ Problem

Description Resource Path Location Type
unresolved symbol _hwafft_512pts, first referenced in ./configuration.obj led C/C++ Problem

Description Resource Path Location Type
gmake: Target 'all' not remade because of errors. led C/C++ Problem

Description Resource Path Location Type
gmake: *** [led.out] Error 1 led C/C++ Problem

Description Resource Path Location Type
errors encountered during linking; "led.out" not built led C/C++ Problem

我一使用5517自带类似Uint16 hwafft_8pts()的函数,就会出现错误,添加rts55.lib库,这个函数不报错了,但是momery mode又报错?现在用的rts55x.lib.

同时,想问一下,C5517开发板的例程在哪找?

  • hualong feng 说:
    <Linking>
    warning: creating output section ".cio" without a SECTIONS specification
    warning: creating output section ".const" without a SECTIONS specification
    warning: creating output section "data_br_buf" without a SECTIONS
    specification
    warning: creating output section "scratch_buf" without a SECTIONS
    specification

    这是提示你的cmd文件没给这些section分配memory.

    hualong feng 说:
    undefined first referenced
    symbol in file
    --------- ----------------
    _hwafft_512pts ./configuration.obj

    这是提示没有找到这个函数。

    hualong feng 说:
    现在用的rts55x.lib.

    rts库在工程属性里用automatic自动选择就好了。没必要手动选。

    hualong feng 说:
    ,C5517开发板的例程在哪找?

    一个是CSL库,一个是开发板厂家网站:http://support.spectrumdigital.com/boards/evm5517/revf/

  • rts55.lib对应small memoy model,rts55x.lib对应large  memoy model,