Undefined reference error in building of AVS Alexa project from esp-va-sdk

interns
Posts: 1
Joined: Tue Sep 06, 2022 11:40 am

Undefined reference error in building of AVS Alexa project from esp-va-sdk

Postby interns » Wed Sep 07, 2022 5:12 am

I am using ESP32 LyraT v4.3 board and trying to flash amazon_alexa project from esp-va-sdk. At the end of building the project, I got error as, [ undefined reference to ' ' ] . I've checked for the file - location which was mentioned in the console with the error. The error directory is in libavs.a file in voice_assistant under components folder. The libavs.a file is declared in CMakeLists.txt in voice_assistant folder.

The error in consol is :

c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Espressif/frameworks/esp-va-sdk/components/voice_assistant/lib/libavs.a(alexa_local_config.c.obj):(.literal.alexa_local_config_stop_ssdp+0x8): undefined reference to `ssdp_destroy'

c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Espressif/frameworks/esp-va-sdk/components/voice_assistant/lib/libavs.a(alexa_local_config.c.obj):(.literal.alexa_local_config_start_ssdp$constprop$0+0x14): undefined reference to `ssdp_init'

c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Espressif/frameworks/esp-va-sdk/components/voice_assistant/lib/libavs.a(alexa_local_config.c.obj):(.literal.alexa_local_config_start_ssdp$constprop$0+0x18): undefined reference to `ssdp_add_services'

c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Espressif/frameworks/esp-va-sdk/components/voice_assistant/lib/libavs.a(alexa_local_config.c.obj):(.text.alexa_local_config_stop_ssdp+0x1c): undefined reference to `ssdp_destroy'

c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Espressif/frameworks/esp-va-sdk/components/voice_assistant/lib/libavs.a(alexa_local_config.c.obj):(.text.alexa_local_config_start_ssdp$constprop$0+0x9e): undefined reference to `ssdp_init'

c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Espressif/frameworks/esp-va-sdk/components/voice_assistant/lib/libavs.a(alexa_local_config.c.obj):(.text.alexa_local_config_start_ssdp$constprop$0+0xba): undefined reference to `ssdp_add_services'

c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Espressif/frameworks/esp-va-sdk/components/voice_assistant/lib/libavs.a(dialog.c.obj):(.literal.dialog_sm_thread+0x30): undefined reference to `xTaskNotify'

c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Espressif/frameworks/esp-va-sdk/components/voice_assistant/lib/libavs.a(dialog.c.obj):(.text.dialog_sm_thread+0xae): undefined reference to `xTaskNotify'

Please Help me to get rid out of this error.

Who is online

Users browsing this forum: No registered users and 81 guests