Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Error #38

Open
hackintoshlover opened this issue Dec 12, 2022 · 1 comment
Open

Compilation Error #38

hackintoshlover opened this issue Dec 12, 2022 · 1 comment

Comments

@hackintoshlover
Copy link

Followed all the steps mentioned for setup, but getting continuous compilation error.
I am using esp-idf v4.4 on visual studio code and esp-adf version that bundles along.

Below is the console log with error when i try to compile:

Executing task: ninja

[0/1] Re-running CMake...
fatal: not a git repository (or any of the parent directories): .git
-- ccache will be used for faster recompilation
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file C:/Users/satyam/Documents/esp_voip_ac101/voip/sdkconfig
Loading defaults file C:/Users/satyam/Documents/esp_voip_ac101/voip/sdkconfig.defaults...
C:/Users/satyam/Documents/esp_voip_ac101/voip/sdkconfig.defaults:2 CONFIG_FLASHMODE_QIO was replaced with CONFIG_ESPTOOLPY_FLASHMODE_QIO
C:/Users/satyam/Documents/esp_voip_ac101/voip/sdkconfig.defaults:9 CONFIG_OPTIMIZATION_LEVEL_RELEASE was replaced with CONFIG_COMPILER_OPTIMIZATION_SIZE
C:/Users/satyam/Documents/esp_voip_ac101/voip/sdkconfig.defaults:21 CONFIG_SPIRAM_SUPPORT was replaced with CONFIG_ESP32_SPIRAM_SUPPORT
C:/Users/satyam/Documents/esp_voip_ac101/voip/sdkconfig.defaults:29 CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST was replaced with CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP
C:/Users/satyam/Documents/esp_voip_ac101/voip/sdkconfig.defaults:45 CONFIG_UDP_RECVMBOX_SIZE was replaced with CONFIG_LWIP_UDP_RECVMBOX_SIZE
C:/Users/satyam/Documents/esp_voip_ac101/voip/sdkconfig.defaults:46 CONFIG_TCPIP_TASK_STACK_SIZE was replaced with CONFIG_LWIP_TCPIP_TASK_STACK_SIZE
Loading defaults file C:/Users/satyam/Documents/esp_voip_ac101/voip/sdkconfig.defaults.esp32...
-- App "voip_app" version: 1
-- Adding linker script C:/Users/satyam/Documents/esp_voip_ac101/voip/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/esp_system/ld/esp32/sections.ld.in
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Chip is esp32, C:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs
-- Current board name is CONFIG_ESP_LYRAT_V4_3_BOARD
-- Components: adf_utils app_trace app_update asio audio_board audio_flash_tone audio_hal audio_pipeline audio_recorder audio_sal audio_stream battery_service bluetooth_service bootloader bootloader_support bt cbor clouds cmock coap console coredump_upload_service cxx display_service driver dueros_service efuse esp-adf-libs esp-sr esp-tls esp32 esp_actions esp_adc_cal esp_common esp_dispatcher esp_eth esp_event esp_event_cast esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_lcd esp_local_ctrl esp_netif esp_peripherals esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal heap idf_test ieee802154 input_key_service jsmn json libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl openthread ota_service partition_table perfmon playlist protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport tcpip_adapter tinyusb tone_partition ulp unity usb vfs wear_levelling wifi_provisioning wifi_service wpa_supplicant xtensa
-- Component paths: C:/Users/satyam/.espressif/esp-adf/components/adf_utils C:/Users/satyam/esp/esp-idf/components/app_trace C:/Users/satyam/esp/esp-idf/components/app_update C:/Users/satyam/esp/esp-idf/components/asio C:/Users/satyam/.espressif/esp-adf/components/audio_board C:/Users/satyam/Documents/esp_voip_ac101/voip/components/audio_flash_tone C:/Users/satyam/.espressif/esp-adf/components/audio_hal C:/Users/satyam/.espressif/esp-adf/components/audio_pipeline C:/Users/satyam/.espressif/esp-adf/components/audio_recorder C:/Users/satyam/.espressif/esp-adf/components/audio_sal C:/Users/satyam/.espressif/esp-adf/components/audio_stream C:/Users/satyam/.espressif/esp-adf/components/battery_service C:/Users/satyam/.espressif/esp-adf/components/bluetooth_service C:/Users/satyam/esp/esp-idf/components/bootloader C:/Users/satyam/esp/esp-idf/components/bootloader_support C:/Users/satyam/esp/esp-idf/components/bt C:/Users/satyam/esp/esp-idf/components/cbor C:/Users/satyam/.espressif/esp-adf/components/clouds C:/Users/satyam/esp/esp-idf/components/cmock C:/Users/satyam/esp/esp-idf/components/coap C:/Users/satyam/esp/esp-idf/components/console C:/Users/satyam/.espressif/esp-adf/components/coredump_upload_service C:/Users/satyam/esp/esp-idf/components/cxx C:/Users/satyam/.espressif/esp-adf/components/display_service C:/Users/satyam/esp/esp-idf/components/driver C:/Users/satyam/.espressif/esp-adf/components/dueros_service C:/Users/satyam/esp/esp-idf/components/efuse C:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs C:/Users/satyam/.espressif/esp-adf/components/esp-sr C:/Users/satyam/esp/esp-idf/components/esp-tls C:/Users/satyam/esp/esp-idf/components/esp32 C:/Users/satyam/.espressif/esp-adf/components/esp_actions C:/Users/satyam/esp/esp-idf/components/esp_adc_cal C:/Users/satyam/esp/esp-idf/components/esp_common C:/Users/satyam/.espressif/esp-adf/components/esp_dispatcher C:/Users/satyam/esp/esp-idf/components/esp_eth C:/Users/satyam/esp/esp-idf/components/esp_event C:/Users/satyam/.espressif/esp-adf/components/esp_event_cast C:/Users/satyam/esp/esp-idf/components/esp_gdbstub C:/Users/satyam/esp/esp-idf/components/esp_hid C:/Users/satyam/esp/esp-idf/components/esp_http_client C:/Users/satyam/esp/esp-idf/components/esp_http_server C:/Users/satyam/esp/esp-idf/components/esp_https_ota C:/Users/satyam/esp/esp-idf/components/esp_https_server C:/Users/satyam/esp/esp-idf/components/esp_hw_support C:/Users/satyam/esp/esp-idf/components/esp_ipc C:/Users/satyam/esp/esp-idf/components/esp_lcd C:/Users/satyam/esp/esp-idf/components/esp_local_ctrl C:/Users/satyam/esp/esp-idf/components/esp_netif C:/Users/satyam/.espressif/esp-adf/components/esp_peripherals C:/Users/satyam/esp/esp-idf/components/esp_phy C:/Users/satyam/esp/esp-idf/components/esp_pm C:/Users/satyam/esp/esp-idf/components/esp_ringbuf C:/Users/satyam/esp/esp-idf/components/esp_rom C:/Users/satyam/esp/esp-idf/components/esp_serial_slave_link C:/Users/satyam/esp/esp-idf/components/esp_system C:/Users/satyam/esp/esp-idf/components/esp_timer C:/Users/satyam/esp/esp-idf/components/esp_websocket_client C:/Users/satyam/esp/esp-idf/components/esp_wifi C:/Users/satyam/esp/esp-idf/components/espcoredump C:/Users/satyam/esp/esp-idf/components/esptool_py C:/Users/satyam/esp/esp-idf/components/expat C:/Users/satyam/esp/esp-idf/components/fatfs C:/Users/satyam/esp/esp-idf/components/freemodbus C:/Users/satyam/esp/esp-idf/components/freertos C:/Users/satyam/esp/esp-idf/components/hal C:/Users/satyam/esp/esp-idf/components/heap C:/Users/satyam/esp/esp-idf/components/idf_test C:/Users/satyam/esp/esp-idf/components/ieee802154 C:/Users/satyam/.espressif/esp-adf/components/input_key_service C:/Users/satyam/esp/esp-idf/components/jsmn C:/Users/satyam/esp/esp-idf/components/json C:/Users/satyam/esp/esp-idf/components/libsodium C:/Users/satyam/esp/esp-idf/components/log C:/Users/satyam/esp/esp-idf/components/lwip C:/Users/satyam/Documents/esp_voip_ac101/voip/main C:/Users/satyam/esp/esp-idf/components/mbedtls C:/Users/satyam/esp/esp-idf/components/mdns C:/Users/satyam/esp/esp-idf/components/mqtt C:/Users/satyam/esp/esp-idf/components/newlib C:/Users/satyam/esp/esp-idf/components/nghttp C:/Users/satyam/esp/esp-idf/components/nvs_flash C:/Users/satyam/esp/esp-idf/components/openssl C:/Users/satyam/esp/esp-idf/components/openthread C:/Users/satyam/.espressif/esp-adf/components/ota_service C:/Users/satyam/esp/esp-idf/components/partition_table C:/Users/satyam/esp/esp-idf/components/perfmon C:/Users/satyam/.espressif/esp-adf/components/playlist C:/Users/satyam/esp/esp-idf/components/protobuf-c C:/Users/satyam/esp/esp-idf/components/protocomm C:/Users/satyam/esp/esp-idf/components/pthread C:/Users/satyam/esp/esp-idf/components/sdmmc C:/Users/satyam/esp/esp-idf/components/soc C:/Users/satyam/esp/esp-idf/components/spi_flash C:/Users/satyam/esp/esp-idf/components/spiffs C:/Users/satyam/esp/esp-idf/components/tcp_transport C:/Users/satyam/esp/esp-idf/components/tcpip_adapter C:/Users/satyam/esp/esp-idf/components/tinyusb C:/Users/satyam/.espressif/esp-adf/components/tone_partition C:/Users/satyam/esp/esp-idf/components/ulp C:/Users/satyam/esp/esp-idf/components/unity C:/Users/satyam/esp/esp-idf/components/usb C:/Users/satyam/esp/esp-idf/components/vfs C:/Users/satyam/esp/esp-idf/components/wear_levelling C:/Users/satyam/esp/esp-idf/components/wifi_provisioning C:/Users/satyam/.espressif/esp-adf/components/wifi_service C:/Users/satyam/esp/esp-idf/components/wpa_supplicant C:/Users/satyam/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/satyam/Documents/esp_voip_ac101/voip/build
[143/1169] Performing build step for 'bootloader'
[0/1] Re-running CMake...
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file C:/Users/satyam/Documents/esp_voip_ac101/voip/sdkconfig
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/soc/esp32/ld/esp32.peripherals.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.api.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script C:/Users/satyam/esp/esp-idf/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp32 esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: C:/Users/satyam/esp/esp-idf/components/bootloader C:/Users/satyam/esp/esp-idf/components/bootloader_support C:/Users/satyam/esp/esp-idf/components/efuse C:/Users/satyam/esp/esp-idf/components/esp32 C:/Users/satyam/esp/esp-idf/components/esp_common C:/Users/satyam/esp/esp-idf/components/esp_hw_support C:/Users/satyam/esp/esp-idf/components/esp_rom C:/Users/satyam/esp/esp-idf/components/esp_system C:/Users/satyam/esp/esp-idf/components/esptool_py C:/Users/satyam/esp/esp-idf/components/freertos C:/Users/satyam/esp/esp-idf/components/hal C:/Users/satyam/esp/esp-idf/components/log C:/Users/satyam/esp/esp-idf/components/bootloader/subproject/main C:/Users/satyam/esp/esp-idf/components/bootloader/subproject/components/micro-ecc C:/Users/satyam/esp/esp-idf/components/newlib C:/Users/satyam/esp/esp-idf/components/partition_table C:/Users/satyam/esp/esp-idf/components/soc C:/Users/satyam/esp/esp-idf/components/spi_flash C:/Users/satyam/esp/esp-idf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/satyam/Documents/esp_voip_ac101/voip/build/bootloader
[1/1] cmd.exe /C "cd /D C:\Users\satyam\Documents\esp_voip_ac101\voip\build\bootloader\esp-idf\esptool_py && C:\Users\satyam.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/Users/satyam/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Users/satyam/Documents/esp_voip_ac101/voip/build/bootloader/bootloader.bin"
Bootloader binary size 0x6a50 bytes. 0x5b0 bytes (5%) free.
[1019/1167] Building C object esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/es8388/es8388.c.obj
FAILED: esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/es8388/es8388.c.obj
ccache C:\Users\satyam.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DADF_VER="" -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -IC:/Users/satyam/Documents/esp_voip_ac101/voip/build/config -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/ac101 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8388 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8374 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8311 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8156 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7243 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7148 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7210 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7243e -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/tas5805m -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063/api_lib -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063/example_apps -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063/firmware -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/include -IC:/Users/satyam/esp/esp-idf/components/newlib/platform_include -IC:/Users/satyam/esp/esp-idf/components/freertos/include -IC:/Users/satyam/esp/esp-idf/components/freertos/include/esp_additions/freertos -IC:/Users/satyam/esp/esp-idf/components/freertos/port/xtensa/include -IC:/Users/satyam/esp/esp-idf/components/freertos/include/esp_additions -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/include -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/include/soc -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/include/soc/esp32 -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/port/esp32/. -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/port/esp32/private_include -IC:/Users/satyam/esp/esp-idf/components/heap/include -IC:/Users/satyam/esp/esp-idf/components/log/include -IC:/Users/satyam/esp/esp-idf/components/lwip/include/apps -IC:/Users/satyam/esp/esp-idf/components/lwip/include/apps/sntp -IC:/Users/satyam/esp/esp-idf/components/lwip/lwip/src/include -IC:/Users/satyam/esp/esp-idf/components/lwip/port/esp32/include -IC:/Users/satyam/esp/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/satyam/esp/esp-idf/components/soc/include -IC:/Users/satyam/esp/esp-idf/components/soc/esp32/. -IC:/Users/satyam/esp/esp-idf/components/soc/esp32/include -IC:/Users/satyam/esp/esp-idf/components/hal/esp32/include -IC:/Users/satyam/esp/esp-idf/components/hal/include -IC:/Users/satyam/esp/esp-idf/components/hal/platform_port/include -IC:/Users/satyam/esp/esp-idf/components/esp_rom/include -IC:/Users/satyam/esp/esp-idf/components/esp_rom/include/esp32 -IC:/Users/satyam/esp/esp-idf/components/esp_rom/esp32 -IC:/Users/satyam/esp/esp-idf/components/esp_common/include -IC:/Users/satyam/esp/esp-idf/components/esp_system/include -IC:/Users/satyam/esp/esp-idf/components/esp_system/port/soc -IC:/Users/satyam/esp/esp-idf/components/esp_system/port/public_compat -IC:/Users/satyam/esp/esp-idf/components/esp32/include -IC:/Users/satyam/esp/esp-idf/components/xtensa/include -IC:/Users/satyam/esp/esp-idf/components/xtensa/esp32/include -IC:/Users/satyam/esp/esp-idf/components/driver/include -IC:/Users/satyam/esp/esp-idf/components/driver/esp32/include -IC:/Users/satyam/esp/esp-idf/components/esp_pm/include -IC:/Users/satyam/esp/esp-idf/components/esp_ringbuf/include
-IC:/Users/satyam/esp/esp-idf/components/efuse/include -IC:/Users/satyam/esp/esp-idf/components/efuse/esp32/include -IC:/Users/satyam/esp/esp-idf/components/vfs/include -IC:/Users/satyam/esp/esp-idf/components/esp_wifi/include -IC:/Users/satyam/esp/esp-idf/components/esp_event/include -IC:/Users/satyam/esp/esp-idf/components/esp_netif/include -IC:/Users/satyam/esp/esp-idf/components/esp_eth/include -IC:/Users/satyam/esp/esp-idf/components/tcpip_adapter/include -IC:/Users/satyam/esp/esp-idf/components/esp_phy/include -IC:/Users/satyam/esp/esp-idf/components/esp_phy/esp32/include -IC:/Users/satyam/esp/esp-idf/components/esp_ipc/include -IC:/Users/satyam/esp/esp-idf/components/app_trace/include -IC:/Users/satyam/esp/esp-idf/components/esp_timer/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_sal/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_board/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_board/lyrat_v4_3 -IC:/Users/satyam/esp/esp-idf/components/mbedtls/port/include -IC:/Users/satyam/esp/esp-idf/components/mbedtls/mbedtls/include -IC:/Users/satyam/esp/esp-idf/components/mbedtls/esp_crt_bundle/include -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/include -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/adc_button -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/gpio_isr -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/button -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/blufi -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/IS31FL3216 -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/aw2013 -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/tca9554 -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/driver/i2c_bus -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/sdcard -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/touch -IC:/Users/satyam/esp/esp-idf/components/esp_adc_cal/include -IC:/Users/satyam/esp/esp-idf/components/fatfs/diskio -IC:/Users/satyam/esp/esp-idf/components/fatfs/vfs -IC:/Users/satyam/esp/esp-idf/components/fatfs/src -IC:/Users/satyam/esp/esp-idf/components/wear_levelling/include -IC:/Users/satyam/esp/esp-idf/components/spi_flash/include -IC:/Users/satyam/esp/esp-idf/components/sdmmc/include -IC:/Users/satyam/esp/esp-idf/components/console -IC:/Users/satyam/.espressif/esp-adf/components/audio_pipeline/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_audio/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_codec/include/codec -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_codec/include/processing -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/media_lib_sal/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/media_lib_sal/include/port -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/recorder_engine/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/audio_misc/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_muxer/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_media_protocols/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-sr/src/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-sr/esp-tts/esp_tts_chinese/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-sr/include/esp32 -IC:/Users/satyam/esp/esp-idf/components/json/cJSON -IC:/Users/satyam/esp/esp-idf/components/spiffs/include -IC:/Users/satyam/esp/esp-idf/components/nghttp/port/include -IC:/Users/satyam/esp/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/Users/satyam/esp/esp-idf/components/esp-tls -IC:/Users/satyam/esp/esp-idf/components/esp-tls/esp-tls-crypto -IC:/Users/satyam/.espressif/esp-adf/components/display_service/include -IC:/Users/satyam/.espressif/esp-adf/components/display_service/led_indicator/include -IC:/Users/satyam/.espressif/esp-adf/components/display_service/led_bar/include -IC:/Users/satyam/.espressif/esp-adf/components/esp_dispatcher/include -IC:/Users/satyam/esp/esp-idf/components/nvs_flash/include -IC:/Users/satyam/esp/esp-idf/components/wpa_supplicant/include -IC:/Users/satyam/esp/esp-idf/components/wpa_supplicant/port/include -IC:/Users/satyam/esp/esp-idf/components/wpa_supplicant/esp_supplicant/include -IC:/Users/satyam/esp/esp-idf/components/esp_lcd/include -IC:/Users/satyam/esp/esp-idf/components/esp_lcd/interface -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw -Os -freorder-blocks -fmacro-prefix-map=C:/Users/satyam/Documents/esp_voip_ac101/voip=. -fmacro-prefix-map=C:/Users/satyam/esp/esp-idf=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.4.3-316-ge86181704a" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/es8388/es8388.c.obj -MF esp-idf\audio_hal\CMakeFiles__idf_audio_hal.dir\driver\es8388\es8388.c.obj.d -o esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/es8388/es8388.c.obj -c C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8388/es8388.c
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8388/es8388.c: In function 'es8388_init':
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8388/es8388.c:43:22: error: 'BOARD_PA_GAIN' undeclared (first use in this function)
.board_pa_gain = BOARD_PA_GAIN,
^~~~~~~~~~~~~
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8388/es8388.c:340:41: note: in expansion of macro 'ES8388_DAC_VOL_CFG_DEFAULT'
codec_dac_volume_config_t vol_cfg = ES8388_DAC_VOL_CFG_DEFAULT();
^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8388/es8388.c:43:22: note: each undeclared identifier is reported only once for each function it appears in
.board_pa_gain = BOARD_PA_GAIN,
^~~~~~~~~~~~~
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8388/es8388.c:340:41: note: in expansion of macro 'ES8388_DAC_VOL_CFG_DEFAULT'
codec_dac_volume_config_t vol_cfg = ES8388_DAC_VOL_CFG_DEFAULT();
^~~~~~~~~~~~~~~~~~~~~~~~~~
[1020/1167] Building C object esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/es8311/es8311.c.obj
FAILED: esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/es8311/es8311.c.obj
ccache C:\Users\satyam.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DADF_VER="" -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -IC:/Users/satyam/Documents/esp_voip_ac101/voip/build/config -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/ac101 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8388 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8374 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8311 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8156 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7243 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7148 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7210 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7243e -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/tas5805m -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063/api_lib -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063/example_apps -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063/firmware -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/include -IC:/Users/satyam/esp/esp-idf/components/newlib/platform_include -IC:/Users/satyam/esp/esp-idf/components/freertos/include -IC:/Users/satyam/esp/esp-idf/components/freertos/include/esp_additions/freertos -IC:/Users/satyam/esp/esp-idf/components/freertos/port/xtensa/include -IC:/Users/satyam/esp/esp-idf/components/freertos/include/esp_additions -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/include -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/include/soc -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/include/soc/esp32 -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/port/esp32/. -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/port/esp32/private_include -IC:/Users/satyam/esp/esp-idf/components/heap/include -IC:/Users/satyam/esp/esp-idf/components/log/include -IC:/Users/satyam/esp/esp-idf/components/lwip/include/apps -IC:/Users/satyam/esp/esp-idf/components/lwip/include/apps/sntp -IC:/Users/satyam/esp/esp-idf/components/lwip/lwip/src/include -IC:/Users/satyam/esp/esp-idf/components/lwip/port/esp32/include -IC:/Users/satyam/esp/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/satyam/esp/esp-idf/components/soc/include -IC:/Users/satyam/esp/esp-idf/components/soc/esp32/. -IC:/Users/satyam/esp/esp-idf/components/soc/esp32/include -IC:/Users/satyam/esp/esp-idf/components/hal/esp32/include -IC:/Users/satyam/esp/esp-idf/components/hal/include -IC:/Users/satyam/esp/esp-idf/components/hal/platform_port/include -IC:/Users/satyam/esp/esp-idf/components/esp_rom/include -IC:/Users/satyam/esp/esp-idf/components/esp_rom/include/esp32 -IC:/Users/satyam/esp/esp-idf/components/esp_rom/esp32 -IC:/Users/satyam/esp/esp-idf/components/esp_common/include -IC:/Users/satyam/esp/esp-idf/components/esp_system/include -IC:/Users/satyam/esp/esp-idf/components/esp_system/port/soc -IC:/Users/satyam/esp/esp-idf/components/esp_system/port/public_compat -IC:/Users/satyam/esp/esp-idf/components/esp32/include -IC:/Users/satyam/esp/esp-idf/components/xtensa/include -IC:/Users/satyam/esp/esp-idf/components/xtensa/esp32/include -IC:/Users/satyam/esp/esp-idf/components/driver/include -IC:/Users/satyam/esp/esp-idf/components/driver/esp32/include -IC:/Users/satyam/esp/esp-idf/components/esp_pm/include -IC:/Users/satyam/esp/esp-idf/components/esp_ringbuf/include
-IC:/Users/satyam/esp/esp-idf/components/efuse/include -IC:/Users/satyam/esp/esp-idf/components/efuse/esp32/include -IC:/Users/satyam/esp/esp-idf/components/vfs/include -IC:/Users/satyam/esp/esp-idf/components/esp_wifi/include -IC:/Users/satyam/esp/esp-idf/components/esp_event/include -IC:/Users/satyam/esp/esp-idf/components/esp_netif/include -IC:/Users/satyam/esp/esp-idf/components/esp_eth/include -IC:/Users/satyam/esp/esp-idf/components/tcpip_adapter/include -IC:/Users/satyam/esp/esp-idf/components/esp_phy/include -IC:/Users/satyam/esp/esp-idf/components/esp_phy/esp32/include -IC:/Users/satyam/esp/esp-idf/components/esp_ipc/include -IC:/Users/satyam/esp/esp-idf/components/app_trace/include -IC:/Users/satyam/esp/esp-idf/components/esp_timer/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_sal/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_board/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_board/lyrat_v4_3 -IC:/Users/satyam/esp/esp-idf/components/mbedtls/port/include -IC:/Users/satyam/esp/esp-idf/components/mbedtls/mbedtls/include -IC:/Users/satyam/esp/esp-idf/components/mbedtls/esp_crt_bundle/include -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/include -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/adc_button -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/gpio_isr -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/button -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/blufi -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/IS31FL3216 -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/aw2013 -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/tca9554 -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/driver/i2c_bus -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/sdcard -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/touch -IC:/Users/satyam/esp/esp-idf/components/esp_adc_cal/include -IC:/Users/satyam/esp/esp-idf/components/fatfs/diskio -IC:/Users/satyam/esp/esp-idf/components/fatfs/vfs -IC:/Users/satyam/esp/esp-idf/components/fatfs/src -IC:/Users/satyam/esp/esp-idf/components/wear_levelling/include -IC:/Users/satyam/esp/esp-idf/components/spi_flash/include -IC:/Users/satyam/esp/esp-idf/components/sdmmc/include -IC:/Users/satyam/esp/esp-idf/components/console -IC:/Users/satyam/.espressif/esp-adf/components/audio_pipeline/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_audio/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_codec/include/codec -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_codec/include/processing -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/media_lib_sal/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/media_lib_sal/include/port -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/recorder_engine/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/audio_misc/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_muxer/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_media_protocols/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-sr/src/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-sr/esp-tts/esp_tts_chinese/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-sr/include/esp32 -IC:/Users/satyam/esp/esp-idf/components/json/cJSON -IC:/Users/satyam/esp/esp-idf/components/spiffs/include -IC:/Users/satyam/esp/esp-idf/components/nghttp/port/include -IC:/Users/satyam/esp/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/Users/satyam/esp/esp-idf/components/esp-tls -IC:/Users/satyam/esp/esp-idf/components/esp-tls/esp-tls-crypto -IC:/Users/satyam/.espressif/esp-adf/components/display_service/include -IC:/Users/satyam/.espressif/esp-adf/components/display_service/led_indicator/include -IC:/Users/satyam/.espressif/esp-adf/components/display_service/led_bar/include -IC:/Users/satyam/.espressif/esp-adf/components/esp_dispatcher/include -IC:/Users/satyam/esp/esp-idf/components/nvs_flash/include -IC:/Users/satyam/esp/esp-idf/components/wpa_supplicant/include -IC:/Users/satyam/esp/esp-idf/components/wpa_supplicant/port/include -IC:/Users/satyam/esp/esp-idf/components/wpa_supplicant/esp_supplicant/include -IC:/Users/satyam/esp/esp-idf/components/esp_lcd/include -IC:/Users/satyam/esp/esp-idf/components/esp_lcd/interface -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw -Os -freorder-blocks -fmacro-prefix-map=C:/Users/satyam/Documents/esp_voip_ac101/voip=. -fmacro-prefix-map=C:/Users/satyam/esp/esp-idf=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.4.3-316-ge86181704a" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/es8311/es8311.c.obj -MF esp-idf\audio_hal\CMakeFiles__idf_audio_hal.dir\driver\es8311\es8311.c.obj.d -o esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/es8311/es8311.c.obj -c C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8311/es8311.c
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8311/es8311.c: In function 'es8311_codec_init':
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8311/es8311.c:59:22: error: 'BOARD_PA_GAIN' undeclared (first use in this function)
.board_pa_gain = BOARD_PA_GAIN,
^~~~~~~~~~~~~
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8311/es8311.c:501:41: note: in expansion of macro 'ES8311_DAC_VOL_CFG_DEFAULT'
codec_dac_volume_config_t vol_cfg = ES8311_DAC_VOL_CFG_DEFAULT();
^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8311/es8311.c:59:22: note: each undeclared identifier is reported only once for each function it appears in
.board_pa_gain = BOARD_PA_GAIN,
^~~~~~~~~~~~~
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8311/es8311.c:501:41: note: in expansion of macro 'ES8311_DAC_VOL_CFG_DEFAULT'
codec_dac_volume_config_t vol_cfg = ES8311_DAC_VOL_CFG_DEFAULT();
^~~~~~~~~~~~~~~~~~~~~~~~~~
[1024/1167] Building C object esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/tas5805m/tas5805m.c.obj
FAILED: esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/tas5805m/tas5805m.c.obj
ccache C:\Users\satyam.espressif\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DADF_VER="" -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -IC:/Users/satyam/Documents/esp_voip_ac101/voip/build/config -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/ac101 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8388 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8374 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8311 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es8156 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7243 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7148 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7210 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/es7243e -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/tas5805m -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063 -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063/api_lib -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063/example_apps -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/zl38063/firmware -IC:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/include -IC:/Users/satyam/esp/esp-idf/components/newlib/platform_include -IC:/Users/satyam/esp/esp-idf/components/freertos/include -IC:/Users/satyam/esp/esp-idf/components/freertos/include/esp_additions/freertos -IC:/Users/satyam/esp/esp-idf/components/freertos/port/xtensa/include -IC:/Users/satyam/esp/esp-idf/components/freertos/include/esp_additions -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/include -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/include/soc -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/include/soc/esp32 -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/port/esp32/. -IC:/Users/satyam/esp/esp-idf/components/esp_hw_support/port/esp32/private_include -IC:/Users/satyam/esp/esp-idf/components/heap/include -IC:/Users/satyam/esp/esp-idf/components/log/include -IC:/Users/satyam/esp/esp-idf/components/lwip/include/apps -IC:/Users/satyam/esp/esp-idf/components/lwip/include/apps/sntp -IC:/Users/satyam/esp/esp-idf/components/lwip/lwip/src/include -IC:/Users/satyam/esp/esp-idf/components/lwip/port/esp32/include -IC:/Users/satyam/esp/esp-idf/components/lwip/port/esp32/include/arch -IC:/Users/satyam/esp/esp-idf/components/soc/include -IC:/Users/satyam/esp/esp-idf/components/soc/esp32/. -IC:/Users/satyam/esp/esp-idf/components/soc/esp32/include -IC:/Users/satyam/esp/esp-idf/components/hal/esp32/include -IC:/Users/satyam/esp/esp-idf/components/hal/include -IC:/Users/satyam/esp/esp-idf/components/hal/platform_port/include -IC:/Users/satyam/esp/esp-idf/components/esp_rom/include -IC:/Users/satyam/esp/esp-idf/components/esp_rom/include/esp32 -IC:/Users/satyam/esp/esp-idf/components/esp_rom/esp32 -IC:/Users/satyam/esp/esp-idf/components/esp_common/include -IC:/Users/satyam/esp/esp-idf/components/esp_system/include -IC:/Users/satyam/esp/esp-idf/components/esp_system/port/soc -IC:/Users/satyam/esp/esp-idf/components/esp_system/port/public_compat -IC:/Users/satyam/esp/esp-idf/components/esp32/include -IC:/Users/satyam/esp/esp-idf/components/xtensa/include -IC:/Users/satyam/esp/esp-idf/components/xtensa/esp32/include -IC:/Users/satyam/esp/esp-idf/components/driver/include -IC:/Users/satyam/esp/esp-idf/components/driver/esp32/include -IC:/Users/satyam/esp/esp-idf/components/esp_pm/include -IC:/Users/satyam/esp/esp-idf/components/esp_ringbuf/include
-IC:/Users/satyam/esp/esp-idf/components/efuse/include -IC:/Users/satyam/esp/esp-idf/components/efuse/esp32/include -IC:/Users/satyam/esp/esp-idf/components/vfs/include -IC:/Users/satyam/esp/esp-idf/components/esp_wifi/include -IC:/Users/satyam/esp/esp-idf/components/esp_event/include -IC:/Users/satyam/esp/esp-idf/components/esp_netif/include -IC:/Users/satyam/esp/esp-idf/components/esp_eth/include -IC:/Users/satyam/esp/esp-idf/components/tcpip_adapter/include -IC:/Users/satyam/esp/esp-idf/components/esp_phy/include -IC:/Users/satyam/esp/esp-idf/components/esp_phy/esp32/include -IC:/Users/satyam/esp/esp-idf/components/esp_ipc/include -IC:/Users/satyam/esp/esp-idf/components/app_trace/include -IC:/Users/satyam/esp/esp-idf/components/esp_timer/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_sal/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_board/include -IC:/Users/satyam/.espressif/esp-adf/components/audio_board/lyrat_v4_3 -IC:/Users/satyam/esp/esp-idf/components/mbedtls/port/include -IC:/Users/satyam/esp/esp-idf/components/mbedtls/mbedtls/include -IC:/Users/satyam/esp/esp-idf/components/mbedtls/esp_crt_bundle/include -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/include -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/adc_button -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/gpio_isr -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/button -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/blufi -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/IS31FL3216 -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/aw2013 -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/tca9554 -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/driver/i2c_bus -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/sdcard -IC:/Users/satyam/.espressif/esp-adf/components/esp_peripherals/lib/touch -IC:/Users/satyam/esp/esp-idf/components/esp_adc_cal/include -IC:/Users/satyam/esp/esp-idf/components/fatfs/diskio -IC:/Users/satyam/esp/esp-idf/components/fatfs/vfs -IC:/Users/satyam/esp/esp-idf/components/fatfs/src -IC:/Users/satyam/esp/esp-idf/components/wear_levelling/include -IC:/Users/satyam/esp/esp-idf/components/spi_flash/include -IC:/Users/satyam/esp/esp-idf/components/sdmmc/include -IC:/Users/satyam/esp/esp-idf/components/console -IC:/Users/satyam/.espressif/esp-adf/components/audio_pipeline/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_audio/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_codec/include/codec -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_codec/include/processing -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/media_lib_sal/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/media_lib_sal/include/port -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/recorder_engine/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/audio_misc/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_muxer/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-adf-libs/esp_media_protocols/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-sr/src/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-sr/esp-tts/esp_tts_chinese/include -IC:/Users/satyam/.espressif/esp-adf/components/esp-sr/include/esp32 -IC:/Users/satyam/esp/esp-idf/components/json/cJSON -IC:/Users/satyam/esp/esp-idf/components/spiffs/include -IC:/Users/satyam/esp/esp-idf/components/nghttp/port/include -IC:/Users/satyam/esp/esp-idf/components/nghttp/nghttp2/lib/includes -IC:/Users/satyam/esp/esp-idf/components/esp-tls -IC:/Users/satyam/esp/esp-idf/components/esp-tls/esp-tls-crypto -IC:/Users/satyam/.espressif/esp-adf/components/display_service/include -IC:/Users/satyam/.espressif/esp-adf/components/display_service/led_indicator/include -IC:/Users/satyam/.espressif/esp-adf/components/display_service/led_bar/include -IC:/Users/satyam/.espressif/esp-adf/components/esp_dispatcher/include -IC:/Users/satyam/esp/esp-idf/components/nvs_flash/include -IC:/Users/satyam/esp/esp-idf/components/wpa_supplicant/include -IC:/Users/satyam/esp/esp-idf/components/wpa_supplicant/port/include -IC:/Users/satyam/esp/esp-idf/components/wpa_supplicant/esp_supplicant/include -IC:/Users/satyam/esp/esp-idf/components/esp_lcd/include -IC:/Users/satyam/esp/esp-idf/components/esp_lcd/interface -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw -Os -freorder-blocks -fmacro-prefix-map=C:/Users/satyam/Documents/esp_voip_ac101/voip=. -fmacro-prefix-map=C:/Users/satyam/esp/esp-idf=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.4.3-316-ge86181704a" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/tas5805m/tas5805m.c.obj -MF esp-idf\audio_hal\CMakeFiles__idf_audio_hal.dir\driver\tas5805m\tas5805m.c.obj.d -o esp-idf/audio_hal/CMakeFiles/__idf_audio_hal.dir/driver/tas5805m/tas5805m.c.obj -c C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/tas5805m/tas5805m.c
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/tas5805m/tas5805m.c: In function 'tas5805m_init':
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/tas5805m/tas5805m.c:52:22: error: 'BOARD_PA_GAIN' undeclared (first use in this function)
.board_pa_gain = BOARD_PA_GAIN,
^~~~~~~~~~~~~
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/tas5805m/tas5805m.c:146:41: note: in expansion of macro 'TAS5805M_DAC_VOL_CFG_DEFAULT'
codec_dac_volume_config_t vol_cfg = TAS5805M_DAC_VOL_CFG_DEFAULT();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/tas5805m/tas5805m.c:52:22: note: each undeclared identifier is reported only once for each function it appears in
.board_pa_gain = BOARD_PA_GAIN,
^~~~~~~~~~~~~
C:/Users/satyam/.espressif/esp-adf/components/audio_hal/driver/tas5805m/tas5805m.c:146:41: note: in expansion of macro 'TAS5805M_DAC_VOL_CFG_DEFAULT'
codec_dac_volume_config_t vol_cfg = TAS5805M_DAC_VOL_CFG_DEFAULT();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

  • The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command ninja " terminated with exit code: 1.

Kindly help.

@AfzalivE
Copy link

AfzalivE commented Mar 25, 2023

You need to put this in the board_def.h you copied over.

#define BOARD_PA_GAIN             (10) /* Power amplifier gain defined by board (dB) */

I'm not sure what the correct value is but 10 worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants