LyraT board " FAILED: avs.elf "

marcoz
Posts: 3
Joined: Sat Nov 06, 2021 11:56 pm

LyraT board " FAILED: avs.elf "

Postby marcoz » Mon Dec 13, 2021 9:56 pm

Hi, I am a beginner in IDF esp programming, I have been using the Lyrat board with the ADF. Now I want to use the va-sdk, specifically the amazon_alexa example, but i can´t compile the code.

I have the next error, please help me.

Best regards.

I use the windows terminal.

Code: Select all

C:\esp-va-sdk\examples\amazon_alexa>idf.py build
Executing action: all (aliases: build)
Running ninja in directory c:\esp-va-sdk\examples\amazon_alexa\build
Executing "ninja all"...
[1/5] Performing build step for 'bootloader'
ninja: no work to do.
[2/3] Linking CXX executable avs.elf
FAILED: avs.elf
cmd.exe /C "cd . && C:\Users\MARCOZ.espressif\tools\xtensa-esp32-elf\esp-2021r1-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFiles\avs.elf.rsp -o avs.elf && cd ."
c:/users/marcoz/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp-va-sdk/components/esp-ssdp/lib/libesp-ssdp.a(lssdp.c.obj):(.literal.trim_spaces+0x0): undefined reference to __locale_ctype_ptr' c:/users/marcoz/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp-va-sdk/components/esp-ssdp/lib/libesp-ssdp.a(lssdp.c.obj):(.text.trim_spaces+0x20): undefined reference to __locale_ctype_ptr'
c:/users/marcoz/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp-va-sdk/components/esp-ssdp/lib/libesp-ssdp.a(lssdp.c.obj):(.text.trim_spaces+0x38): undefined reference to __locale_ctype_ptr' c:/users/marcoz/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp-va-sdk/components/esp-ssdp/lib/libesp-ssdp.a(lssdp.c.obj):(.text.trim_spaces+0x51): undefined reference to __locale_ctype_ptr'
c:/users/marcoz/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp-va-sdk/components/esp-ssdp/lib/libesp-ssdp.a(lssdp.c.obj):(.text.trim_spaces+0x6a): undefined reference to __locale_ctype_ptr' c:/users/marcoz/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp-va-sdk/components/voice_assistant/lib/libavs.a(dialog.c.obj):(.literal.dialog_sm_thread+0x30): undefined reference to xTaskNotify'
c:/users/marcoz/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/esp-va-sdk/components/voice_assistant/lib/libavs.a(dialog.c.obj):(.text.dialog_sm_thread+0xae): undefined reference to `xTaskNotify'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Steven_liou
Posts: 3
Joined: Fri Jul 22, 2022 9:44 am

Re: LyraT board " FAILED: avs.elf "

Postby Steven_liou » Fri Jul 22, 2022 9:57 am

I have the same issue. How did you fix this issue? Or other guys can help me to fix it.

Who is online

Users browsing this forum: No registered users and 94 guests