espressif / esp-va-sdk

Espressif's Voice Assistant SDK: Alexa, Google Voice Assistant, Google DialogFlow
Other
291 stars 82 forks source link

issue while compiling #94

Closed manmohan777 closed 4 years ago

manmohan777 commented 4 years ago

I am getting the following error while executing "idf.py flash monitor" command

xtensa-esp32-elf-gcc.exe: error: unrecognized command line option '-mfix-esp32-psram-cache-strategy=memw' ;

my xtensa-esp32-elf-gcc version is 8.2.0.

vikramdattu commented 4 years ago

Only 5.2 based toolchain + IDF 3.2 is supported currently.

Please follow this: https://github.com/espressif/esp-va-sdk/blob/master/README-Getting-Started.md

manmohan777 commented 4 years ago

thank you for your reply. by upgrading the toolchain I solved that issue but now I am getting a new error.

undefined reference to 'audio_stream_init' collect2.exe: error: Id returned 1 exit status

vikramdattu commented 4 years ago

Could you please try clean build? Remove build/ folder and try again. Old files might be messing around.

manmohan777 commented 4 years ago

already done that still getting the same error.

manmohan777 commented 4 years ago

I also cloned the project again but still getting the same error

chiragatal commented 4 years ago

@manmohan777 Which example are you trying to build?

manmohan777 commented 4 years ago

esp-va-sdk\examples\amazon_aia

manmohan777 commented 4 years ago

I don't know how now the error has changed. now its saying undefined reference to 'exit' undefined reference to 'logf' undefined reference to 'round' undefined reference to 'ceilf' undefined reference to 'log10f' undefined reference to 'sinf'

chiragatal commented 4 years ago

Regarding the toolchain and IDF version to be used, please use the one mentioned in the Readme instead of the one @vikramdattu mentioned above. For AIA, toolchain version esp-2019r2 or esp-2020r1 (both of which is based on 8.2.0) can be used and the IDF branch release/v4.0.

Regarding your earlier issue which you were getting with this toolchain, can you send the full logs? Also can you send you cmake version and try with the latest version again?

manmohan777 commented 4 years ago

my toolchain version is esp-2020r1 and my cmake version is 3.17.2

manmohan777 commented 4 years ago

C:\Users\himraw\Documents\alxaDev\esp-va-sdk\examples\amazon_aia>idf.py flash monitor Checking Python dependencies... Python requirements from C:\Users\himraw\Documents\alxaDev\esp-idf\requirements.txt are satisfied. Adding flash's dependency "all" to list of actions Executing action: all (aliases: build) Running cmake in directory c:\users\himraw\documents\alxadev\esp-va-sdk\examples\amazon_aia\build Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized -DWARN_UNINITIALIZED=1 -DCCACHE_ENABLE=0 c:\users\himraw\documents\alxadev\esp-va-sdk\examples\amazon_aia"... Warn about uninitialized values. -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.26.2.windows.1") -- Component directory C:/Users/himraw/Documents/alxaDev/esp-idf/components/aws_iot does not contain a CMakeLists.txt file. No component will be added -- Component directory C:/Users/himraw/Documents/alxaDev/esp-idf/components/cbor does not contain a CMakeLists.txt file. No component will be added -- Component directory C:/Users/himraw/Documents/alxaDev/esp-idf/components/micro-ecc does not contain a CMakeLists.txt file. No component will be added -- Component directory C:/Users/himraw/Documents/alxaDev/esp-idf/components/tinyusb does not contain a CMakeLists.txt file. No component will be added -- mconf-idf version mconf-v4.6.0.0-idf-20190628-win32 -- IDF_TARGET not set, using default target: esp32 -- The C compiler identification is GNU 8.2.0 -- The CXX compiler identification is GNU 8.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- Check for working CXX compiler: C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Project version: 212ac08 -- Building ESP-IDF components for target esp32 Loading defaults file C:/Users/himraw/Documents/alxaDev/esp-va-sdk/examples/amazon_aia/sdkconfig.defaults... CMake Warning at C:/Users/himraw/Documents/alxaDev/esp-idf/tools/cmake/crosstool_version_check.cmake:28 (message): Xtensa toolchain C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe crosstool-ng version esp-2020r1 doesn't match supported version esp-2019r2. Check Getting Started documentation or proceed at own risk. Call Stack (most recent call first): C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/project_include.cmake:21 (crosstool_version_check) C:/Users/himraw/Documents/alxaDev/esp-idf/tools/cmake/build.cmake:305 (include) C:/Users/himraw/Documents/alxaDev/esp-idf/tools/cmake/build.cmake:458 (__build_process_project_includes) C:/Users/himraw/Documents/alxaDev/esp-idf/tools/cmake/project.cmake:348 (idf_build_process) CMakeLists.txt:75 (project)

-- Found PythonInterp: C:/Users/himraw/AppData/Local/Programs/Python/Python38/python.exe (found version "3.8.3") -- Could NOT find Perl (missing: PERL_EXECUTABLE) -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-va-sdk/examples/amazon_aia/build/esp-idf/esp32/esp32_out.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/ld/esp32.extram.bss.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/ld/esp32.project.ld.in -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/ld/esp32.peripherals.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld -- Components: app_trace app_update asio audio_board_vaquita_dspg audio_hal audio_pipeline basic_player bootloader bootloader_support bt coap codec_es8311 codecs console cxx dbmd5-ipc driver efuse esp-aws-iot esp-downmix esp-tls esp32 esp_adc_cal esp_common esp_eth esp_event esp_gdbstub esp_http_client esp_http_server esp_httpd_ota esp_https_ota esp_https_server esp_local_ctrl esp_ringbuf esp_rom esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos heap httpc idf_test jsmn json json_parser libsodium log lwip main mbedtls mdns media_hal misc mqtt multipart_parser neo_pixel_led newlib nghttp nvs_flash openssl partition_table protobuf-c protocomm pthread sdmmc sh2lib soc speech_recog spi_flash spiffs ssdp streams sys_playback tcp_transport tcpip_adapter ulp ulp_adc unity utils uuid-gen va_dsp vfs voice_assistant wear_levelling wifi_provisioning wpa_supplicant xtensa -- Component paths: C:/Users/himraw/Documents/alxaDev/esp-idf/components/app_trace C:/Users/himraw/Documents/alxaDev/esp-idf/components/app_update C:/Users/himraw/Documents/alxaDev/esp-idf/components/asio C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/audio_board/audio_board_vaquita_dspg/audio_board_vaquita_dspg C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/audio_hal C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/audio_pipeline C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/basic_player C:/Users/himraw/Documents/alxaDev/esp-idf/components/bootloader C:/Users/himraw/Documents/alxaDev/esp-idf/components/bootloader_support C:/Users/himraw/Documents/alxaDev/esp-idf/components/bt C:/Users/himraw/Documents/alxaDev/esp-idf/components/coap C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/esp_codec/es8311/components/codec_es8311 C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/codecs C:/Users/himraw/Documents/alxaDev/esp-idf/components/console C:/Users/himraw/Documents/alxaDev/esp-idf/components/cxx C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/dsp_driver/dspg_driver/components/dbmd5-ipc C:/Users/himraw/Documents/alxaDev/esp-idf/components/driver C:/Users/himraw/Documents/alxaDev/esp-idf/components/efuse C:/Users/himraw/Documents/alxaDev/esp-aws-iot C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/esp-downmix C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp-tls C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32 C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_adc_cal C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_common C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_eth C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_event C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_gdbstub C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_http_client C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_http_server C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/esp_httpd_ota C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_https_ota C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_https_server C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_local_ctrl C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_ringbuf C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_rom C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_websocket_client C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_wifi C:/Users/himraw/Documents/alxaDev/esp-idf/components/espcoredump C:/Users/himraw/Documents/alxaDev/esp-idf/components/esptool_py C:/Users/himraw/Documents/alxaDev/esp-idf/components/expat C:/Users/himraw/Documents/alxaDev/esp-idf/components/fatfs C:/Users/himraw/Documents/alxaDev/esp-idf/components/freemodbus C:/Users/himraw/Documents/alxaDev/esp-idf/components/freertos C:/Users/himraw/Documents/alxaDev/esp-idf/components/heap C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/httpc C:/Users/himraw/Documents/alxaDev/esp-idf/components/idf_test C:/Users/himraw/Documents/alxaDev/esp-idf/components/jsmn C:/Users/himraw/Documents/alxaDev/esp-idf/components/json C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/json_parser C:/Users/himraw/Documents/alxaDev/esp-idf/components/libsodium C:/Users/himraw/Documents/alxaDev/esp-idf/components/log C:/Users/himraw/Documents/alxaDev/esp-idf/components/lwip C:/Users/himraw/Documents/alxaDev/esp-va-sdk/examples/amazon_aia/main C:/Users/himraw/Documents/alxaDev/esp-idf/components/mbedtls C:/Users/himraw/Documents/alxaDev/esp-idf/components/mdns C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/media_hal C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc C:/Users/himraw/Documents/alxaDev/esp-idf/components/mqtt C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/multipart_parser C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/led_driver/neo_pixel_led C:/Users/himraw/Documents/alxaDev/esp-idf/components/newlib C:/Users/himraw/Documents/alxaDev/esp-idf/components/nghttp C:/Users/himraw/Documents/alxaDev/esp-idf/components/nvs_flash C:/Users/himraw/Documents/alxaDev/esp-idf/components/openssl C:/Users/himraw/Documents/alxaDev/esp-idf/components/partition_table C:/Users/himraw/Documents/alxaDev/esp-idf/components/protobuf-c C:/Users/himraw/Documents/alxaDev/esp-idf/components/protocomm C:/Users/himraw/Documents/alxaDev/esp-idf/components/pthread C:/Users/himraw/Documents/alxaDev/esp-idf/components/sdmmc C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/sh2lib C:/Users/himraw/Documents/alxaDev/esp-idf/components/soc C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog C:/Users/himraw/Documents/alxaDev/esp-idf/components/spi_flash C:/Users/himraw/Documents/alxaDev/esp-idf/components/spiffs C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/ssdp C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/sys_playback C:/Users/himraw/Documents/alxaDev/esp-idf/components/tcp_transport C:/Users/himraw/Documents/alxaDev/esp-idf/components/tcpip_adapter C:/Users/himraw/Documents/alxaDev/esp-idf/components/ulp C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/ulp_adc C:/Users/himraw/Documents/alxaDev/esp-idf/components/unity C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/utils C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/uuid-gen C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/dsp_driver/dspg_driver/components/va_dsp C:/Users/himraw/Documents/alxaDev/esp-idf/components/vfs C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/voice_assistant C:/Users/himraw/Documents/alxaDev/esp-idf/components/wear_levelling C:/Users/himraw/Documents/alxaDev/esp-idf/components/wifi_provisioning C:/Users/himraw/Documents/alxaDev/esp-idf/components/wpa_supplicant C:/Users/himraw/Documents/alxaDev/esp-idf/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/examples/amazon_aia/build Running ninja in directory c:\users\himraw\documents\alxadev\esp-va-sdk\examples\amazon_aia\build Executing "ninja all"... [351/1161] cmd.exe /C "cd /D C:\Users\himraw\Documents\alx...*****" Partition table binary generated. Contents:


Espressif ESP32 Partition Table

Name, Type, SubType, Offset, Size, Flags

nvs,data,nvs,0x9000,24K, phy_init,data,phy,0xf000,4K, fctry,data,nvs,0x10000,24K, otadata,data,ota,0x16000,8K, ota_0,app,ota_0,0x20000,4032K, ota_1,app,ota_1,0x410000,4032K,


[471/1161] Performing configure step for 'bootloader' Warn about uninitialized values. -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.26.2.windows.1") -- Component directory C:/Users/himraw/Documents/alxaDev/esp-idf/components/aws_iot does not contain a CMakeLists.txt file. No component will be added -- Component directory C:/Users/himraw/Documents/alxaDev/esp-idf/components/cbor does not contain a CMakeLists.txt file. No component will be added -- Component directory C:/Users/himraw/Documents/alxaDev/esp-idf/components/micro-ecc does not contain a CMakeLists.txt file. No component will be added -- Component directory C:/Users/himraw/Documents/alxaDev/esp-idf/components/tinyusb does not contain a CMakeLists.txt file. No component will be added -- mconf-idf version mconf-v4.6.0.0-idf-20190628-win32 -- The C compiler identification is GNU 8.2.0 -- The CXX compiler identification is GNU 8.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- Check for working C compiler: C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- Check for working CXX compiler: C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Project version: v4.0.1 -- Building ESP-IDF components for target esp32 CMake Warning at C:/Users/himraw/Documents/alxaDev/esp-idf/tools/cmake/crosstool_version_check.cmake:28 (message): Xtensa toolchain C:/Program Files/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe crosstool-ng version esp-2020r1 doesn't match supported version esp-2019r2. Check Getting Started documentation or proceed at own risk. Call Stack (most recent call first): C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/project_include.cmake:21 (crosstool_version_check) C:/Users/himraw/Documents/alxaDev/esp-idf/tools/cmake/build.cmake:305 (include) C:/Users/himraw/Documents/alxaDev/esp-idf/tools/cmake/build.cmake:458 (__build_process_project_includes) C:/Users/himraw/Documents/alxaDev/esp-idf/tools/cmake/project.cmake:348 (idf_build_process) CMakeLists.txt:27 (project)

-- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/ld/esp32.peripherals.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/bootloader/subproject/main/esp32.bootloader.ld -- Adding linker script C:/Users/himraw/Documents/alxaDev/esp-idf/components/bootloader/subproject/main/esp32.bootloader.rom.ld -- Components: bootloader bootloader_support efuse esp32 esp_common esp_rom esptool_py log main micro-ecc partition_table soc spi_flash xtensa -- Component paths: C:/Users/himraw/Documents/alxaDev/esp-idf/components/bootloader C:/Users/himraw/Documents/alxaDev/esp-idf/components/bootloader_support C:/Users/himraw/Documents/alxaDev/esp-idf/components/efuse C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32 C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_common C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_rom C:/Users/himraw/Documents/alxaDev/esp-idf/components/esptool_py C:/Users/himraw/Documents/alxaDev/esp-idf/components/log C:/Users/himraw/Documents/alxaDev/esp-idf/components/bootloader/subproject/main C:/Users/himraw/Documents/alxaDev/esp-idf/components/bootloader/subproject/components/micro-ecc C:/Users/himraw/Documents/alxaDev/esp-idf/components/partition_table C:/Users/himraw/Documents/alxaDev/esp-idf/components/soc C:/Users/himraw/Documents/alxaDev/esp-idf/components/spi_flash C:/Users/himraw/Documents/alxaDev/esp-idf/components/xtensa -- Configuring done -- Generating done -- Build files have been written to: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/examples/amazon_aia/build/bootloader [523/1161] Performing build step for 'bootloader' [1/62] Generating project_elf_src.c [2/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/gpio_periph.c.obj [3/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/rtc_periph.c.obj [4/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/cpu_util.c.obj [5/62] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src.c.obj [6/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/rtc_clk_init.c.obj [7/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/rtc_pm.c.obj [8/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/rtc_clk.c.obj [9/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/soc_memory_layout.c.obj [10/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/rtc_time.c.obj [11/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/rtc_init.c.obj [12/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/rtc_sleep.c.obj [13/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/sdmmc_periph.c.obj [14/62] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj [15/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/spi_periph.c.obj [16/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/src/lldesc.c.obj [17/62] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/memory_layout_utils.c.obj [18/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/esp32/rtc_wdt.c.obj [19/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/src/soc_include_legacy_warn.c.obj [20/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/src/hal/spi_slave_hal.c.obj [21/62] Building ASM object esp-idf/xtensa/CMakeFiles/idf_xtensa.dir/debug_helpers_asm.S.obj [22/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/src/hal/spi_hal.c.obj [23/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/src/hal/spi_hal_iram.c.obj [24/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/src/hal/spi_flash_hal.c.obj [25/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/src/hal/spi_slave_hal_iram.c.obj [26/62] Building C object esp-idf/soc/CMakeFiles/idf_soc.dir/src/hal/spi_flash_hal_iram.c.obj [27/62] Building C object esp-idf/xtensa/CMakeFiles/idf_xtensa.dir/eri.c.obj [28/62] Building C object esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/trax.c.obj [29/62] Building C object esp-idf/xtensa/CMakeFiles/idf_xtensa.dir/debug_helpers.c.obj [30/62] Building C object esp-idf/log/CMakeFiles/idf_log.dir/log.c.obj [31/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_clock.c.obj [32/62] Building C object esp-idf/spi_flash/CMakeFiles/idf_spi_flash.dir/spi_flash_rom_patch.c.obj [33/62] Building C object esp-idf/efuse/CMakeFiles/idf_efuse.dir/src/esp_efuse_fields.c.obj [34/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_common.c.obj [35/62] Building C object esp-idf/efuse/CMakeFiles/idf_efuse.dir/esp32/esp_efuse_table.c.obj [36/62] Linking C static library esp-idf\log\liblog.a [37/62] Building C object esp-idf/efuse/CMakeFiles/idf_efuse.dir/src/esp_efuse_api.c.obj [38/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/flash_partitions.c.obj [39/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/flash_qio_mode.c.obj [40/62] Building C object esp-idf/efuse/CMakeFiles/idf_efuse.dir/src/esp_efuse_utility.c.obj [41/62] Linking C static library esp-idf\xtensa\libxtensa.a [42/62] Building C object esp-idf/micro-ecc/CMakeFiles/idf_micro-ecc.dir/micro-ecc/uECC.c.obj [43/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj [44/62] Linking C static library esp-idf\soc\libsoc.a [45/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_init.c.obj [46/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_flash.c.obj [47/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/esp32/flash_encrypt.c.obj [48/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_utility.c.obj [49/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/flash_encrypt.c.obj [50/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_flash_config.c.obj [51/62] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a [52/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/bootloader_random.c.obj [53/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/esp_image_format.c.obj [54/62] Building C object esp-idf/bootloader_support/CMakeFiles/idf_bootloader_support.dir/src/esp32/secure_boot_signatures.c.obj [55/62] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/secure_boot.c.obj [56/62] Building C object esp-idf/main/CMakeFiles/idf_main.dir/bootloader_start.c.obj [57/62] Linking C static library esp-idf\bootloader_support\libbootloader_support.a [58/62] Linking C static library esp-idf\efuse\libefuse.a [59/62] Linking C static library esp-idf\spi_flash\libspi_flash.a [60/62] Linking C static library esp-idf\main\libmain.a [61/62] Linking C executable bootloader.elf [62/62] Generating binary image from built executable esptool.py v2.8 Generated C:/Users/himraw/Documents/alxaDev/esp-va-sdk/examples/amazon_aia/build/bootloader/bootloader.bin [1057/1161] Building C object esp-idf/httpc/CMakeFiles/idf_httpc.dir/httpc.c.obj C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/httpc/httpc.c: In function 'http_connection_new': C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/httpc/httpc.c:156:5: warning: 'esp_tls_conn_new' is deprecated [-Wdeprecated-declarations] tls = esp_tls_conn_new(&url[u->field_data[UF_HOST].off], u->field_data[UF_HOST].len, ^~~ In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/httpc/httpc.h:18, from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/httpc/httpc.c:20: C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp-tls/esp_tls.h:259:12: note: declared here esp_tls_t esp_tls_conn_new(const char hostname, int hostlen, int port, const esp_tls_cfg_t *cfg) attribute__ ((deprecated)); ^~~~ C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/httpc/httpc.c: In function 'http_connection_new_async': C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/httpc/httpc.c:224:18: warning: this statement may fall through [-Wimplicit-fallthrough=] h->state = ESP_HTTP_TLS_CONNECT;


C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/httpc/httpc.c:226:5: note: here
     case ESP_HTTP_TLS_CONNECT:
     ^~~~
[1061/1161] Building C object esp-idf/streams/CMakeFiles/__idf_streams.dir/http_stream/http_playlist.c.obj
In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playlist.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_hls.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playback_stream.h:37,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playlist.c:34:
C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
[1065/1161] Building C object esp-idf/streams/CMakeFiles/__idf_streams.dir/http_stream/http_playback_stream.c.obj
In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playlist.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_hls.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playback_stream.h:37,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playback_stream.c:28:
C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
[1066/1161] Building C object esp-idf/streams/CMakeFiles/__idf_streams.dir/http_stream/http_hls.c.obj
In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playlist.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_hls.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_hls.c:27:
C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
[1089/1161] Building C object esp-idf/esp_httpd_ota/CMakeFiles/__idf_esp_httpd_ota.dir/src/esp_httpd_ota.c.obj
In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/esp_httpd_ota/include/esp_httpd_ota.h:7,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/esp_httpd_ota/src/esp_httpd_ota.c:6:
C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp_http_server/include/http_server.h:1:2: warning: #warning http_server.h has been renamed to esp_http_server.h, please update include directives [-Wcpp]
 #warning http_server.h has been renamed to esp_http_server.h, please update include directives
  ^~~~~~~
[1093/1161] Building C object esp-idf/basic_player/CMakeFiles/__idf_basic_player.dir/basic_player.c.obj
In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playlist.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_hls.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playback_stream.h:37,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/basic_player/basic_player.c:9:
C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
[1103/1161] Building C object esp-idf/utils/CMakeFiles/__idf_utils.dir/src/pls_parser.c.obj
In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/utils/src/pls_parser.c:28:
C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playlist.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/utils/include/pls_parser.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/utils/src/pls_parser.c:29:
C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
[1105/1161] Building C object esp-idf/utils/CMakeFiles/__idf_utils.dir/src/m3u8_parser.c.obj
In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/utils/src/m3u8_parser.c:28:
C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/streams/http_stream/http_playlist.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/utils/include/m3u8_parser.h:29,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/utils/src/m3u8_parser.c:29:
C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
[1112/1161] Building C object esp-idf/misc/CMakeFiles/__idf_misc.dir/va_mem_utils.c.obj
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc/va_mem_utils.c:31:20: warning: 'TAG' defined but not used [-Wunused-variable]
 static const char *TAG = "[va_mem_utils]";
                    ^~~
[1114/1161] Building C object esp-idf/misc/CMakeFiles/__idf_misc.dir/va_nvs_utils.c.obj
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc/va_nvs_utils.c: In function 'nvs_task':
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc/va_nvs_utils.c:87:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
             err = nvs_set_i8(handle, params->key, (int8_t)params->val_buf);
                                                   ^
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc/va_nvs_utils.c:89:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
             err = nvs_set_u16(handle, params->key, (uint16_t)params->val_buf);
                                                    ^
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc/va_nvs_utils.c: In function 'va_nvs_set_i8':
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc/va_nvs_utils.c:235:56: warning: initialization of 'void *' from 'int8_t' {aka 'signed char'} makes pointer from integer without a cast [-Wint-conversion]
     struct nvs_ops_params tp = {VA_NVS_NAMESPACE, key, val_buf, NULL, SET, I8, xTaskGetCurrentTaskHandle()};
                                                        ^~~~~~~
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc/va_nvs_utils.c:235:56: note: (near initialization for 'tp.val_buf')
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc/va_nvs_utils.c: In function 'va_nvs_set_u16':
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc/va_nvs_utils.c:287:56: warning: initialization of 'void *' from 'uint16_t' {aka 'short unsigned int'} makes pointer from integer without a cast [-Wint-conversion]
     struct nvs_ops_params tp = {VA_NVS_NAMESPACE, key, val_buf, NULL, SET, U16, xTaskGetCurrentTaskHandle()};
                                                        ^~~~~~~
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/misc/va_nvs_utils.c:287:56: note: (near initialization for 'tp.val_buf')
[1118/1161] Building C object esp-idf/audio_pipeline/CMakeFiles/__idf_audio_pipeline.dir/audio_pipeline.c.obj
In file included from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/audio_pipeline/audio_pipeline.h:31,
                 from C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/audio_pipeline/audio_pipeline.c:24:
C:/Users/himraw/Documents/alxaDev/esp-idf/components/esp32/include/rom/queue.h:1:2: warning: #warning rom/queue.h is deprecated, please use sys/queue.h instead [-Wcpp]
 #warning rom/queue.h is deprecated, please use sys/queue.h instead
  ^~~~~~~
[1140/1161] Building C object esp-idf/codec_es8311/CMakeFiles/__idf_codec_es8311.dir/media_hal_codec_init.c.obj
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/esp_codec/es8311/components/codec_es8311/media_hal_codec_init.c: In function 'media_hal_func_init':
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/esp_codec/es8311/components/codec_es8311/media_hal_codec_init.c:41:39: warning: assignment to 'esp_err_t (*)(media_hal_config_t *)' {aka 'int (*)(struct <anonymous> *)'} from incompatible pointer type 'esp_err_t (*)(media_hal_op_mode_t,  media_hal_adc_input_t,  media_hal_dac_output_t,  int)' {aka 'int (*)(enum <anonymous>,  enum <anonymous>,  enum <anonymous>,  int)'} [-Wincompatible-pointer-types]
     media_hal->audio_codec_initialize = es8311_init;
                                       ^
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/esp_codec/es8311/components/codec_es8311/media_hal_codec_init.c:42:41: warning: assignment to 'esp_err_t (*)(int)' {aka 'int (*)(int)'} from incompatible pointer type 'esp_err_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types]
     media_hal->audio_codec_deinitialize = es8311_deinit;
                                         ^
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/esp_codec/es8311/components/codec_es8311/media_hal_codec_init.c:46:43: warning: assignment to 'esp_err_t (*)(uint8_t)' {aka 'int (*)(unsigned char)'} from incompatible pointer type 'int (*)(int)' [-Wincompatible-pointer-types]
     media_hal->audio_codec_control_volume = es8311_set_volume;
                                           ^
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/esp_codec/es8311/components/codec_es8311/media_hal_codec_init.c:47:39: warning: assignment to 'esp_err_t (*)(uint8_t *)' {aka 'int (*)(unsigned char *)'} from incompatible pointer type 'int (*)(int *)' [-Wincompatible-pointer-types]
     media_hal->audio_codec_get_volume = es8311_get_volume;
                                       ^
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/board_support_pkgs/esp32_vaquita_dspg/esp_codec/es8311/components/codec_es8311/media_hal_codec_init.c:48:37: warning: assignment to 'esp_err_t (*)(_Bool)' {aka 'int (*)(_Bool)'} from incompatible pointer type 'int (*)(int)' [-Wincompatible-pointer-types]
     media_hal->audio_codec_set_mute = es8311_set_mute;
                                     ^
[1160/1161] Linking CXX executable aia.elf
FAILED: aia.elf
cmd.exe /C "cd . && C:\PROGRA~1\XTENSA~1\bin\XT1FE9~1.EXE  -mlongcalls -Wno-frame-address  -nostdlib @CMakeFiles\aia.elf.rsp  -o aia.elf  && cd ."
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj):(.literal.basic_player_stop+0x0): undefined reference to `audio_stream_stop'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj):(.literal.basic_player_play+0x8): undefined reference to `http_playback_stream_set_config'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj):(.literal.basic_player_play+0xc): undefined reference to `audio_stream_start'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj):(.literal.basic_player_destroy+0x0): undefined reference to `audio_stream_destroy'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj):(.literal.basic_player_destroy+0x4): undefined reference to `http_playback_stream_destroy'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj):(.literal.basic_player_create+0x4c): undefined reference to `http_playback_stream_create_reader'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj):(.literal.basic_player_create+0x50): undefined reference to `http_playback_stream_set_stack_size'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj):(.literal.basic_player_create+0x54): undefined reference to `audio_stream_init'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj): in function `basic_player_stop':
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/basic_player/basic_player.c:184: undefined reference to `audio_stream_stop'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj): in function `basic_player_play':
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/basic_player/basic_player.c:163: undefined reference to `http_playback_stream_set_config'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/basic_player/basic_player.c:162: undefined reference to `audio_stream_start'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj): in function `basic_player_destroy':
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/basic_player/basic_player.c:574: undefined reference to `audio_stream_destroy'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/basic_player/basic_player.c:575: undefined reference to `http_playback_stream_destroy'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/basic_player/libbasic_player.a(basic_player.c.obj): in function `basic_player_create':
C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/basic_player/basic_player.c:535: undefined reference to `http_playback_stream_create_reader'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/basic_player/basic_player.c:541: undefined reference to `http_playback_stream_set_stack_size'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/basic_player/basic_player.c:545: undefined reference to `audio_stream_init'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o):(.literal.csf_lifter+0x24): undefined reference to `sinf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o):(.literal.csf_get_filterbanks_HTK+0xc): undefined reference to `log10f'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o):(.literal.csf_framesig+0x0): undefined reference to `ceilf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o):(.literal.csf_magspec+0xc): undefined reference to `sqrtf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o):(.literal.csf_fbank_HTK+0xc): undefined reference to `round'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o):(.literal.csf_logfbank_HTK+0x0): undefined reference to `logf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o):(.literal.csf_mfcc_HTK+0x20): undefined reference to `cosf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o): in function `csf_lifter':
(.text.csf_lifter+0xfe): undefined reference to `sinf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o): in function `csf_get_filterbanks_HTK':
(.text.csf_get_filterbanks_HTK+0x36): undefined reference to `log10f'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: (.text.csf_get_filterbanks_HTK+0x82): undefined reference to `log10f'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: (.text.csf_get_filterbanks_HTK+0x196): undefined reference to `log10f'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o): in function `csf_framesig':
(.text.csf_framesig+0x14d): undefined reference to `ceilf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o): in function `csf_magspec':
(.text.csf_magspec+0xae): undefined reference to `sqrtf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o): in function `csf_fbank_HTK':
(.text.csf_fbank_HTK+0x5c): undefined reference to `round'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: (.text.csf_fbank_HTK+0x7a): undefined reference to `round'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o): in function `csf_logfbank_HTK':
(.text.csf_logfbank_HTK+0x77): undefined reference to `logf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(c_speech_features.o): in function `csf_mfcc_HTK':
(.text.csf_mfcc_HTK+0x8c): undefined reference to `sqrtf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: (.text.csf_mfcc_HTK+0x224): undefined reference to `logf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: (.text.csf_mfcc_HTK+0x32e): undefined reference to `cosf'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(kiss_fftr.o):(.literal.kiss_fftr+0x4): undefined reference to `exit'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libc_speech_features.a(kiss_fftr.o): in function `kiss_fftr':
(.text.kiss_fftr+0xd7): undefined reference to `exit'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libdl_lib.a(dl_lib.o):(.literal.dl_basic_conv_layer_quantised_weight+0xc): undefined reference to `ceil'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/himraw/Documents/alxaDev/esp-va-sdk/components/speech_recog/lib\libdl_lib.a(dl_lib.o): in function `dl_basic_conv_layer_quantised_weight':
(.text.dl_basic_conv_layer_quantised_weight+0x157): undefined reference to `ceil'
c:/progra~1/xtensa~1/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: (.text.dl_basic_conv_layer_quantised_weight+0x190): undefined reference to `ceil'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
manmohan777 commented 4 years ago

Adding ESP-IDF tools to PATH... Not using an unsupported version of tool xtensa-esp32-elf found in PATH: esp-2020r1-8.2.0. Not using an unsupported version of tool cmake found in PATH: 3.17.2. Not using an unsupported version of tool ninja found in PATH: 1.10.0.

chiragatal commented 4 years ago

Can you add this suggestion and try again? https://github.com/espressif/esp-va-sdk/issues/87#issuecomment-604481636

manmohan777 commented 4 years ago

Thank you so much for your help. This worked for me.