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.

[参考译文] AM6421:我使用 Ne10 创建了一个 FFT、但无法链接库。

Guru**** 2419530 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1502255/am6421-i-created-an-fft-using-ne10-but-cannot-link-the-library

器件型号:AM6421


工具/软件:

大家好!

在 CCS 中‘A53 内核创建并编译“Hello_world"。“。
我使用 NE10 创建了一个 FFT、无法链接静态库。
如何链接它们?

1.在 WSL2 上使用 Ubuntu 24.02LTS 构建 NE10
・安装 nix 平台、cmake、gcc 和 g++。
    ・dl Git 的 NE10 克隆。
・执行 cmake→根据文档制作。
・创建库 libNE10.a。
‘在 CCS 中创建“Hello_world"。“。  
3.将‘libNe10.a’和 NE10 的 inc 文件夹粘贴到项目中。
‘链接器库中的“Register"从“从工程属性中注册“libNe10.a"。“。
5、根据 NE10 样本创建 FFT 部分。
6.编译错误

此致、

ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好!

    我尝试在 VartualBox 上的 Ubuntu 上运行它,但我仍然收到一个错误。

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    我无法读取控制台上的完整错误日志。

    请复制完整的错误日志并将其粘贴到此处。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tushar:

    这是错误日志。

    [0]**** Build of configuration Debug for project hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64 **** 
    [1]/home/user01/ti/ccs2011/ccs/utils/bin/gmake -k -j 3 all -O
    [2]Building target: "hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out"
    [3]Invoking: GNU Linker
    [4]"/home/user01/ti/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc-10.3.1" -DSOC_AM64X -D_DEBUG_=1 -Og -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -Werror -mabi=lp64 -mcmodel=large -mstrict-align -mfix-cortex-a53-835769 -mfix-cortex-a53-843419 -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-unused-but-set-variable -mcpu=cortex-a53+fp+simd -Wl,-Map,"hello_world.Debug.map" -static -Wl,--gc-sections -L"/home/user01/ti/mcu_plus_sdk_am64x_10_01_00_32/source/kernel/nortos/lib" -L"/home/user01/ti/mcu_plus_sdk_am64x_10_01_00_32/source/drivers/lib" -L"/home/user01/ti/mcu_plus_sdk_am64x_10_01_00_32/source/board/lib" -L"/lib" -L"/home/user01/ti/Ne10/build/modules" -Wl,--build-id=none -o"hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./hello_world.o" "./main.o" -Wl,-T"../linker.cmd" -Wl,--start-group -l:libNE10.a -lstdc++ -lgcc -lm -lrdimon -l:nortos.am64x.a53.gcc-aarch64.debug.lib -l:drivers.am64x.a53.gcc-aarch64.debug.lib -lc -Wl,--end-group
    [5]makefile:154: recipe for target 'hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out' failed
    [6]/home/user01/ti/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: cannot find -lrdimon
    [7]collect2: Error: ld terminated with status 1
    [8]gmake[1]: *** [hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out] Error 1
    [9]makefile:150: recipe for target 'all' failed
    [10]gmake: *** [all] Error 2
    [11]**** Build Finished ****

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    请检查 工程属性中的链接器选项、并确保已有链接器选项 rdimon 标记已列出。

    请参阅下图。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tushar:

    感谢您的答复。

    Rdimon 位于库中

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    看起来您没有使用 SDK 文档中建议的编译器。

    请使用 SDK 文档中提到的工具的确切版本。 请参阅 sdk_download。

    请使用 GGC AARCH v 09.02-2019.12。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    您的代码似乎包含太多未被引用或未定义的符号。 请正确检查代码并定义使用的所有符号。

    有关从共享日志中提取的未定义符号、请参阅以下错误日志。

    [88]NE10_init.c:(.text+0xa0): undefined reference to `__ctype_tolower_loc'
    [89]NE10_init.c:(.text+0xa0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__ctype_tolower_loc'
    [90]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/n564/ti/Ne10/build/modules/libNE10.a(NE10_boxfilter.c.o): in function `ne10_img_boxfilter_rgba8888_c':
    [91]NE10_boxfilter.c:(.text+0x9e0): undefined reference to `stderr'
    [92]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.c:(.text+0x9e4): undefined reference to `stderr'
    [93]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.c:(.text+0xa18): undefined reference to `__fprintf_chk'
    [94]NE10_boxfilter.c:(.text+0xa18): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [95]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/n564/ti/Ne10/build/modules/libNE10.a(NE10_boxfilter.neon.c.o): in function `ne10_img_boxfilter_col_neon':
    [96]NE10_boxfilter.neon.c:(.text+0x5c4): undefined reference to `stderr'
    [97]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x5c8): undefined reference to `stderr'
    [98]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x5f8): undefined reference to `__fprintf_chk'
    [99]NE10_boxfilter.neon.c:(.text+0x5f8): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [100]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/n564/ti/Ne10/build/modules/libNE10.a(NE10_boxfilter.neon.c.o): in function `ne10_img_boxfilter_rgba8888_neon':
    [101]NE10_boxfilter.neon.c:(.text+0x780): undefined reference to `stderr'
    [102]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x784): undefined reference to `stderr'
    [103]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x7b8): undefined reference to `__fprintf_chk'
    [104]NE10_boxfilter.neon.c:(.text+0x7b8): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [105]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: linker stubs: file class ELFCLASSNONE incompatible with ELFCLASS64
    [106]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: final link failed: file in wrong format
    [107]collect2: error: ld returned 1 exit status
    [108]makefile:150: recipe for target 'all' failed
    [109]gmake[1]: *** [hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out] Error 1
    [110]gmake: *** [all] Error 2
    [111]**** Build Finished ****

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tushar:

    感谢您的答复。

    未定义的符号、但它们是在等标准库中定义的 和 。
    我检查了源文件并指示包含上述标准库。

    链接 Ne10 库时出现 Undefind(未定义)。
    由于我没有对 Ne10 源等进行任何更改、因此这可能是 CCS 设置或创建 Ne10 时出现的问题。

    Ne10 库文件是使用 DL 从以下网站创建的、并遵循 DL 文件中的文档进行操作。

    请按照此库中的步骤操作。

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1496847/am6411-is-it-possible-to-operate-the-complex-fft-with-2048-or-4096-pt/5750028 

    GitHub - projectNe10/Ne10:适用于 ARMRegistered架构的开放式优化软件库工程

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    您是否已将此库添加到项目配置中?

    链接器可能抛出错误、因为找不到库且无法链接符号。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Thakur:

    这是上次未显示的链接器库。

    我需要采取哪些具体步骤进行调试?

    您还想了解其他信息吗?

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    从上面的屏幕截图中、似乎您用于查找 Ne10 库的路径不正确。

    请使用 ${PROJECT_ROOT}/Ne10/inc 而不是  ${PROJECT_ROOT}/Ne10/ 库搜索路径中

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar

    已确认相同的错误。

    [0]**** Build of configuration Debug for project hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64 ****
    [1]/home/n564/ti/ccs2011/ccs/utils/bin/gmake -k -j 3 all -O 
     
    [2]Building target: "hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out"
    [3]Invoking: GNU Linker
    [4]"/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/aarch64-none-elf-gcc-9.2.1" -DSOC_AM64X -D_DEBUG_=1 -Ofast -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -Werror -mcmodel=large -mstrict-align -mfix-cortex-a53-835769 -mfix-cortex-a53-843419 -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-unused-but-set-variable -mcpu=cortex-a53+fp+simd -Wl,-Map,"hello_world.Debug.map" -static -Wl,--gc-sections -L"/home/n564/ti/mcu_plus_sdk_am64x_10_01_00_32/source/kernel/nortos/lib" -L"/home/n564/ti/mcu_plus_sdk_am64x_10_01_00_32/source/drivers/lib" -L"/home/n564/ti/mcu_plus_sdk_am64x_10_01_00_32/source/board/lib" -L"/lib" -L"/home/n564/workspace_ccstheia/Test_20250430/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10" -L"/home/n564/workspace_ccstheia/Test_20250430/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10/inc" -Wl,--build-id=none -o"hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./hello_world.o" "./main.o" -Wl,-T"../linker.cmd"  -Wl,--start-group -lstdc++ -lgcc -lm -lrdimon -l:nortos.am64x.a53.gcc-aarch64.debug.lib -l:drivers.am64x.a53.gcc-aarch64.debug.lib -lc -l:libNE10.a -Wl,--end-group   ../Ne10/libNE10.a 
    [5]makefile:156: recipe for target 'hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out' failed
    [6]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: can not size stub section: invalid operation
    [7]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/n564/workspace_ccstheia/Test_20250430/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10/libNE10.a(NE10_init.c.o): in function `ne10_init':
    [8]NE10_init.c:(.text+0xa0): undefined reference to `__ctype_tolower_loc'
    [9]NE10_init.c:(.text+0xa0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__ctype_tolower_loc'
    [10]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x148): undefined reference to `stderr'
    [11]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x14c): undefined reference to `stderr'
    [12]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x174): undefined reference to `stderr'
    [13]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x178): undefined reference to `stderr'
    [14]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x1a0): undefined reference to `stderr'
    [15]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/n564/workspace_ccstheia/Test_20250430/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10/libNE10.a(NE10_init.c.o):NE10_init.c:(.text+0x1a4): more undefined references to `stderr' follow
    [16]makefile:152: recipe for target 'all' failed
    [17]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/n564/workspace_ccstheia/Test_20250430/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10/libNE10.a(NE10_boxfilter.c.o): in function `ne10_img_boxfilter_rgba8888_c':
    [18]NE10_boxfilter.c:(.text+0xa18): undefined reference to `__fprintf_chk'
    [19]NE10_boxfilter.c:(.text+0xa18): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [20]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/n564/workspace_ccstheia/Test_20250430/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10/libNE10.a(NE10_boxfilter.neon.c.o): in function `ne10_img_boxfilter_col_neon':
    [21]NE10_boxfilter.neon.c:(.text+0x5c4): undefined reference to `stderr'
    [22]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x5c8): undefined reference to `stderr'
    [23]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x5f8): undefined reference to `__fprintf_chk'
    [24]NE10_boxfilter.neon.c:(.text+0x5f8): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [25]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/n564/workspace_ccstheia/Test_20250430/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10/libNE10.a(NE10_boxfilter.neon.c.o): in function `ne10_img_boxfilter_rgba8888_neon':
    [26]NE10_boxfilter.neon.c:(.text+0x780): undefined reference to `stderr'
    [27]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x784): undefined reference to `stderr'
    [28]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x7b8): undefined reference to `__fprintf_chk'
    [29]NE10_boxfilter.neon.c:(.text+0x7b8): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [30]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: linker stubs: file class ELFCLASSNONE incompatible with ELFCLASS64
    [31]/home/n564/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: final link failed: file in wrong format
    [32]collect2: error: ld returned 1 exit status
    [33]gmake[1]: *** [hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out] Error 1
    [34]gmake: *** [all] Error 2
    [35]**** Build Finished ****
    

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    您能否说明以下函数定义的位置?

    __fprintf_chk、 stderr。

    您是否包含了 stdio.h 库吗?

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar

    在 Ne10 库侧定义。
    NE10_init.c
    NE10_boxfilter.neon.c

    您是否包含了 stdio.h 代码中的 lib?

    是、包含在内。

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    请提供示例代码来复制我们最终出现的问题、以便进一步调试。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tushar:

    我已通过私人邮件向您发送了项目文件、请检查。

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    我已经检查了项目、似乎大多数错误都是从生成的  NE10_init.c

    您能否请检查是否存在 stdlib.h file 包含在中 ne10_init.c 文件?

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tushar:

    stdlib.h 文件未包含在 Ne10_init.c 中、因此添加了该文件。
    但是、似乎会出现相同的错误。

    [6]Building target: "hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out"
    [7]Invoking: GNU Linker
    [8]"/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/aarch64-none-elf-gcc-9.2.1" -DSOC_AM64X -D_DEBUG_=1 -Og -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -Werror -mcmodel=large -mstrict-align -mfix-cortex-a53-835769 -mfix-cortex-a53-843419 -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-unused-but-set-variable -mcpu=cortex-a53+fp+simd -Wl,-Map,"hello_world.Debug.map" -static -Wl,--gc-sections -L"/home/nireco/ti/mcu_plus_sdk_am64x_10_01_00_32/source/kernel/nortos/lib" -L"/home/nireco/ti/mcu_plus_sdk_am64x_10_01_00_32/source/drivers/lib" -L"/home/nireco/ti/mcu_plus_sdk_am64x_10_01_00_32/source/board/lib" -L"/lib" -L"/home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc" -Wl,--build-id=none -o"hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./hello_world.o" "./main.o" -Wl,-T"../linker.cmd"  -Wl,--start-group -lstdc++ -lgcc -lm -lrdimon -l:nortos.am64x.a53.gcc-aarch64.debug.lib -l:drivers.am64x.a53.gcc-aarch64.debug.lib -lc -l:libNE10.a -Wl,--end-group   ../Ne10_inc/libNE10.a 
    [9]makefile:156: recipe for target 'hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out' failed
    [10]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: can not size stub section: invalid operation
    [11]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc/libNE10.a(NE10_init.c.o): in function `ne10_init':
    [12]NE10_init.c:(.text+0xa0): undefined reference to `__ctype_tolower_loc'
    [13]NE10_init.c:(.text+0xa0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__ctype_tolower_loc'
    [14]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x148): undefined reference to `stderr'
    [15]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x14c): undefined reference to `stderr'
    [16]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x174): undefined reference to `stderr'
    [17]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x178): undefined reference to `stderr'
    [18]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x1a0): undefined reference to `stderr'
    [19]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc/libNE10.a(NE10_init.c.o):NE10_init.c:(.text+0x1a4): more undefined references to `stderr' follow
    [20]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc/libNE10.a(NE10_boxfilter.c.o): in function `ne10_img_boxfilter_rgba8888_c':
    [21]NE10_boxfilter.c:(.text+0xa18): undefined reference to `__fprintf_chk'
    [22]NE10_boxfilter.c:(.text+0xa18): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [23]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc/libNE10.a(NE10_boxfilter.neon.c.o): in function `ne10_img_boxfilter_col_neon':
    [24]NE10_boxfilter.neon.c:(.text+0x5c4): undefined reference to `stderr'
    [25]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x5c8): undefined reference to `stderr'
    [26]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x5f8): undefined reference to `__fprintf_chk'
    [27]NE10_boxfilter.neon.c:(.text+0x5f8): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [28]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc/libNE10.a(NE10_boxfilter.neon.c.o): in function `ne10_img_boxfilter_rgba8888_neon':
    [29]NE10_boxfilter.neon.c:(.text+0x780): undefined reference to `stderr'
    [30]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x784): undefined reference to `stderr'
    [31]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x7b8): undefined reference to `__fprintf_chk'
    [32]NE10_boxfilter.neon.c:(.text+0x7b8): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [33]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: linker stubs: file class ELFCLASSNONE incompatible with ELFCLASS64
    [34]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: final link failed: file in wrong format
    [35]collect2: error: ld returned 1 exit status
    [36]gmake[1]: *** [hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out] Error 1
    [37]makefile:152: recipe for target 'all' failed
    [38]gmake: *** [all] Error 2
    [39]**** Build Finished
    

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    但是、似乎发生了相同的错误。

    现在、错误消息并非来自同一 Ne10_init.c 文件。

    似乎您没有在 Ne10.a 库的源文件中包含所需的文件。

    类型  _ctype_tolower_loc  在中进行定义 ctype.h 该文件未包含在中 ne10_init.c 添加到工程。

    类似地、符号  __fprintf_chk  在中进行定义 libc.h 该文件未包含  NE10_boxfilter.c In file。

    请仔细阅读错误消息、并在源文件中包含所有必要的文件。

    然后、您将能够构建无错误的示例。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    我加载了头文件、但收到错误。
    Libc.h 在 Ubuntu 中不是标准的、因此我必须读取 libc.h 读取的所有头文件。

    使用 TI 上的 NE10 进行 FFT 处理所需的环境是什么?
    PC OS、CCS 和其他版本、CCS 设置、创建工程时所做的选择(选择电路板或器件,内核,编译器,关键字,类别)。

    如果你不介意,你能给我发送项目文件,以便我可以让 Ne10 立即工作吗?

    [0]**** Build of configuration Debug for project hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64 **** [1]/home/nireco/ti/ccs2011/ccs/utils/bin/gmake -k -j 3 all -O 
     
    [2]Building target: "hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out"
    [3]Invoking: GNU Linker
    [4]"/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/aarch64-none-elf-gcc-9.2.1" -DSOC_AM64X -D_DEBUG_=1 -Og -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -Werror -mcmodel=large -mstrict-align -mfix-cortex-a53-835769 -mfix-cortex-a53-843419 -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-unused-but-set-variable -mcpu=cortex-a53+fp+simd -Wl,-Map,"hello_world.Debug.map" -static -Wl,--gc-sections -L"/home/nireco/ti/mcu_plus_sdk_am64x_10_01_00_32/source/kernel/nortos/lib" -L"/home/nireco/ti/mcu_plus_sdk_am64x_10_01_00_32/source/drivers/lib" -L"/home/nireco/ti/mcu_plus_sdk_am64x_10_01_00_32/source/board/lib" -L"/lib" -L"/home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc" -L"/usr/bin" -Wl,--build-id=none -o"hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./hello_world.o" "./main.o" -Wl,-T"../linker.cmd"  -Wl,--start-group -lstdc++ -lgcc -lm -lrdimon -l:nortos.am64x.a53.gcc-aarch64.debug.lib -l:drivers.am64x.a53.gcc-aarch64.debug.lib -lc -l:libNE10.a -Wl,--end-group   ../Ne10_inc/libNE10.a 
    [5]makefile:156: recipe for target 'hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out' failed
    [6]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: can not size stub section: invalid operation
    [7]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc/libNE10.a(NE10_init.c.o): in function `ne10_init':
    [8]NE10_init.c:(.text+0xa0): undefined reference to `__ctype_tolower_loc'
    [9]NE10_init.c:(.text+0xa0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__ctype_tolower_loc'
    [10]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x148): undefined reference to `stderr'
    [11]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x14c): undefined reference to `stderr'
    [12]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x174): undefined reference to `stderr'
    [13]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x178): undefined reference to `stderr'
    [14]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_init.c:(.text+0x1a0): undefined reference to `stderr'
    [15]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc/libNE10.a(NE10_init.c.o):NE10_init.c:(.text+0x1a4): more undefined references to `stderr' follow
    [16]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc/libNE10.a(NE10_boxfilter.c.o): in function `ne10_img_boxfilter_rgba8888_c':
    [17]NE10_boxfilter.c:(.text+0xa18): undefined reference to `__fprintf_chk'
    [18]NE10_boxfilter.c:(.text+0xa18): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [19]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc/libNE10.a(NE10_boxfilter.neon.c.o): in function `ne10_img_boxfilter_col_neon':
    [20]NE10_boxfilter.neon.c:(.text+0x5c4): undefined reference to `stderr'
    [21]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x5c8): undefined reference to `stderr'
    [22]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x5f8): undefined reference to `__fprintf_chk'
    [23]NE10_boxfilter.neon.c:(.text+0x5f8): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [24]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: /home/nireco/workspace_ccstheia/20250509/hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64/Ne10_inc/libNE10.a(NE10_boxfilter.neon.c.o): in function `ne10_img_boxfilter_rgba8888_neon':
    [25]NE10_boxfilter.neon.c:(.text+0x780): undefined reference to `stderr'
    [26]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x784): undefined reference to `stderr'
    [27]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: NE10_boxfilter.neon.c:(.text+0x7b8): undefined reference to `__fprintf_chk'
    [28]NE10_boxfilter.neon.c:(.text+0x7b8): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `__fprintf_chk'
    [29]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: linker stubs: file class ELFCLASSNONE incompatible with ELFCLASS64
    [30]/home/nireco/ti/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/../lib/gcc/aarch64-none-elf/9.2.1/../../../../aarch64-none-elf/bin/ld: final link failed: file in wrong format
    [31]collect2: error: ld returned 1 exit status
    [32]makefile:152: recipe for target 'all' failed
    [33]gmake[1]: *** [hello_world_am64x-sk_a53ss0-0_nortos_gcc-aarch64.out] Error 1
    [34]gmake: *** [all] Error 2
    [35]**** Build Finished ****
    

    最棒的酒店

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    我没有具有 FFT 和 Ne10 库的项目。

    由于未包含头文件、我仍然可以看到出现错误。

    请包含 ctype.h 中的文件 NE10_init.c 定义 _ctype_tolower_loc 符号。

    同样、根据下表包含文件。

    头文件 源文件
    ctype.h、stdio.h NE10_init.c
    libc.h NE10_boxfilter.c
    stdio.h、libc.h NE10_boxfilter.neon.c

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    客户声称他们已将 ctype.h 文件包含在 NE10_init.c 中

    我正在准备屏幕截图以证明我已将其包括在内。

    您是否可以调试我之前发送给私人消息的项目文件?

    下面的 E2E 介绍了 AM64 FFT。
    TI 检查 FFT 性能时的开发环境及其版本是什么?

    (1) AM6411:是否可以使用 2048 或 4096 点的复数 FFT? -处理器论坛 — 处理器- TI E2E 支持论坛(1) AM6411:是否可以使用 2048 或 4096 点的复杂 FFT? -处理器论坛 — 处理器- TI E2E 支持论坛

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    您能调试我之前发送给私人邮件的项目文件吗?

    工程只有库的头文件。 您能否同时向我发送源文件、因为错误来自源文件?

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好、Thakur。

    感谢你的帮助。

    我们已向您发送最新的源文件、请检查它们。

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    我收到了源代码、但无法构建库。 您能否分享构建它的步骤?

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    开发环境如下所示。

    [quote userid=“584182" url="“ url="~“~/support/processors-group/processors/f/processors-forum/1502255/am6421-i-created-an-fft-using-ne10-but-cannot-link-the-library 在 WSL2 上使用 Ubuntu 24.02LTS 构建 NE10
    ・安装 nix 平台、cmake、gcc 和 g++。
        ・dl Git 的 NE10 克隆。
    ・执行 cmake→根据文档制作。
    ・创建库 libNE10.a。
    ‘在 CCS 中创建“Hello_world"。“。  
    3.将‘libNe10.a’和 NE10 的 inc 文件夹粘贴到项目中。
    ‘链接器库中的“Register"从“从工程属性中注册“libNe10.a"。“。
    5、根据 NE10 样本创建 FFT 部分。
    6.编译错误

    构建方法使用 Github。
    请参阅以下 URL。

    https://github.com/projectNe10/Ne10

    (6) AM6411:是否可以使用 2048 或 4096 点的复数 FFT? -处理器论坛 — 处理器- TI E2E 支持论坛

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    如果您在构建 Ne10 时遇到困难、您能告诉我们在计算 FFT 数据时所处的环境吗?


    我们为环境做准备。
    PC 操作系统、CCS 版本等、CCS 设置、创建工程时所做的选择。 (选择主板或设备,内核,编译器,关键字,类别)

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    如果您在构建 Ne10 时遇到困难、能否告诉我们计算 FFT 数据时所处的环境?

    我不知道以上细节。 我将在内部进行检查、并告知您。

    但我的猜测是你所面临的问题不是因为环境设置。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tushar:

    感谢您的答复。

    我们遵循了 Git 集线器上的指令,但无法构建。
    如果您能检查 Git 集线器并向我们提供项目文件,那将会非常有帮助。

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tushar:

    您能从 Sitara 团队接收信息吗?

    我不知道如果我已包含所有文件但未定义文件、为什么会出现错误。

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    我仍在检查此问题。 您是否还在包括所有丢失的文件后重建了 Ne10 库?

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    客户表示他们已将所有这些都包括在内。
    至少,我们已经实施了 Tushar 指出的要点。
    但是、我和我的客户都不熟悉 Ne10 和 CCS、我们也没有取得进展。

    感谢你的帮助。

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    你的进展如何。
    很抱歉在繁忙时间打扰您

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    对延迟深表歉意。 我忙于处理其他升级问题。 您可以在周一 EOD 之前收到回复。

    感谢您的耐心。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    你的进展如何。
    很抱歉在繁忙时间打扰您

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    你的进展如何。
    很抱歉在繁忙时间打扰您

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    感谢您的耐心和对延迟的道歉。

    我能够使用 GCC Linux 编译器在 WSL 上构建库、但使用 AArch64 交叉编译器则无法构建库。 我还能弄清楚这一点。

    同时、我还在内部与团队核实用于基准测试的环境设置、并将很快为您提供最新信息。  

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    感谢你的帮助。

    如果您可以使用 AArch64 交叉编译器来构建它、您能给我发送这个文件吗?
    非常感谢您检查开发环境。

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    感谢您的耐心。

    我在内部进行了检查、发现 Ne10 库是在运行 Linux 的 A53 内核的 EVM 本身上构建的。

    对于 MCU+SDK、没有有关如何使用交叉编译器构建 Ne10 库的文档。 我仍在检查、如果我找到文档或能够构建文档、将对您进行更新。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar

    感谢您的答复。

    我在内部进行了检查、发现 Ne10 库是在 EVM 本身上构建的、在 A53 内核上运行 Linux。

    是的、这种环境是我们的理想。

    对于 MCU+SDK、没有有关如何使用交叉编译器构建 Ne10 库的文档。 我仍在检查、如果找到文档或能够构建文档、我将更新您。

    这是否意味着需要 MCU+SDK 来构建具有 AArch64 交叉编译器的 Ne10?

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    这是否意味着使用 AArch64 交叉编译器构建 Ne10 需要 MCU+SDK?

    是的、Linux 使用自己的原生 AArch64-non-linux-GNU 编译器来构建 Ne10 库。 在 MCU+SDK 应用中、我们使用交叉编译器 aarch64-non-elf 进行编译、这与使用本机 Linux 编译器构建的库不兼容。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tushar:

    感谢你的帮助。

    如果我找到文档或能够构建文档、我仍在检查并将更新您。

    我期待收到您的答复。

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    你的进展如何。
    很抱歉在繁忙时间打扰您

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    你的进展如何。
    很抱歉在繁忙时间打扰您

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ito:

    对延迟深表歉意。 针对运行 Linux 的 A53 内核进行 FFT 基准测试的成员正在休假。  

    他今天会回来,我将与他检查的步骤来构建它与交叉编译器。 我仍然无法构建 Ne10 库。

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Tushar。

    你的进展如何。
    很抱歉在繁忙时间打扰您

    此致、

    ITO

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    对延迟深表歉意。 我已经在内部与构建此库以支持本机 Linux 编译器的人员进行了检查。

    他也没有尝试使用交叉编译器构建库。 我也检查了 Git 的构建步骤。 它没有详细说明如何使用 Cross 编译器构建库。

    可能会出现您遇到的构建问题、因为对于 RTOS 示例、我们使用交叉编译器、而库是使用原生 Linux 编译器构建的。

    目前、我无法使用交叉编译器构建此代码、也不知道如何在不再次构建库的情况下进一步进行。

    客户是否尝试过使用交叉编译器构建库?

    此致、

    Tushar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Tushar:

    客户无法使用交叉编译器构建库。
    运行 FFT 基准测试的人员如何使用本机 Linux 编译器构建 FFT 基准测试?
    使用交叉编译器进行构建真的不切实际吗?
    是否可以在内部验证解决方案?
    如果没有、我们必须尽快向客户报告。

    此致、

    ITO