June 25, 2024, 06:45:43 PM

sip voip demo code

Started by bhagyadj427, July 14, 2022, 11:34:46 AM

Previous topic - Next topic

bhagyadj427

HI,

GREETINGS TO ALL..

I've got a REV-C ESP-ADF board.

I am unable to compile the SIP VoIP demo and flash.

What could be the issue?

Thanks!

Here is the error log:

pi@raspberrypi:~/esp/sip_phone_example $ make flash monitor
Toolchain path: /home/pi/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp-2021r2-patch3
Compiler version: 8.4.0
Python requirements from /home/pi/esp/esp-adf/esp-idf/requirements.txt are satisfied.
CC build/bootloader/esp_hw_support/cpu_util.o
CC build/bootloader/esp_hw_support/esp_clk.o
CC build/bootloader/esp_hw_support/port/esp32/rtc_init.o
CC build/bootloader/esp_hw_support/port/esp32/rtc_pm.o
CC build/bootloader/esp_hw_support/port/esp32/rtc_sleep.o
CC build/bootloader/esp_hw_support/port/esp32/rtc_time.o
CC build/bootloader/esp_hw_support/port/esp32/rtc_wdt.o
AR build/bootloader/esp_hw_support/libesp_hw_support.a
CC build/bootloader/bootloader_support/src/bootloader_clock_init.o
CC build/bootloader/bootloader_support/src/bootloader_clock_loader.o
CC build/bootloader/bootloader_support/src/bootloader_common.o
CC build/bootloader/bootloader_support/src/bootloader_console.o
CC build/bootloader/bootloader_support/src/bootloader_console_loader.o
CC build/bootloader/bootloader_support/src/bootloader_flash_config_esp32.o
CC build/bootloader/bootloader_support/src/bootloader_panic.o
CC build/bootloader/bootloader_support/src/bootloader_random.o
CC build/bootloader/bootloader_support/src/bootloader_random_esp32.o
CC build/bootloader/bootloader_support/src/flash_encrypt.o
CC build/bootloader/bootloader_support/src/flash_qio_mode.o
CC build/bootloader/bootloader_support/src/secure_boot.o
CC build/bootloader/bootloader_support/src/esp32/bootloader_esp32.o
AR build/bootloader/bootloader_support/libbootloader_support.a
CC build/bootloader/log/log_noos.o
AR build/bootloader/log/liblog.a
CC build/bootloader/spi_flash/esp32/spi_flash_rom_patch.o
AR build/bootloader/spi_flash/libspi_flash.a
CC build/bootloader/soc/lldesc.o
CC build/bootloader/soc/soc_include_legacy_warn.o
CC build/bootloader/soc/esp32/adc_periph.o
CC build/bootloader/soc/esp32/dac_periph.o
CC build/bootloader/soc/esp32/gpio_periph.o
CC build/bootloader/soc/esp32/i2c_periph.o
CC build/bootloader/soc/esp32/i2s_periph.o
CC build/bootloader/soc/esp32/interrupts.o
CC build/bootloader/soc/esp32/lcd_periph.o
CC build/bootloader/soc/esp32/ledc_periph.o
CC build/bootloader/soc/esp32/mcpwm_periph.o
CC build/bootloader/soc/esp32/pcnt_periph.o
CC build/bootloader/soc/esp32/rmt_periph.o
CC build/bootloader/soc/esp32/rtc_io_periph.o
CC build/bootloader/soc/esp32/sdio_slave_periph.o
CC build/bootloader/soc/esp32/sdmmc_periph.o
CC build/bootloader/soc/esp32/sigmadelta_periph.o
CC build/bootloader/soc/esp32/spi_periph.o
CC build/bootloader/soc/esp32/timer_periph.o
CC build/bootloader/soc/esp32/touch_sensor_periph.o
CC build/bootloader/soc/esp32/uart_periph.o
AR build/bootloader/soc/libsoc.a
CC build/bootloader/main/bootloader_start.o
AR build/bootloader/main/libmain.a
CC build/bootloader/efuse/esp32/esp_efuse_table.o
AR build/bootloader/efuse/libefuse.a
CC build/bootloader/esp_rom/patches/esp_rom_sys.o
AR build/bootloader/esp_rom/libesp_rom.a
CC build/bootloader/hal/adc_hal.o
CC build/bootloader/hal/aes_hal.o
CC build/bootloader/hal/gpio_hal.o
CC build/bootloader/hal/i2c_hal.o
CC build/bootloader/hal/i2c_hal_iram.o
CC build/bootloader/hal/i2s_hal.o
CC build/bootloader/hal/interrupt_controller_hal.o
CC build/bootloader/hal/ledc_hal.o
CC build/bootloader/hal/ledc_hal_iram.o
CC build/bootloader/hal/mcpwm_hal.o
CC build/bootloader/hal/rmt_hal.o
CC build/bootloader/hal/sha_hal.o
CC build/bootloader/hal/spi_flash_encrypt_hal_iram.o
CC build/bootloader/hal/spi_flash_hal_iram.o
CC build/bootloader/hal/spi_slave_hal.o
CC build/bootloader/hal/spi_slave_hal_iram.o
CC build/bootloader/hal/timer_hal.o
CC build/bootloader/hal/twai_hal.o
CC build/bootloader/hal/uart_hal.o
CC build/bootloader/hal/uart_hal_iram.o
CC build/bootloader/hal/esp32/adc_hal.o
CC build/bootloader/hal/esp32/brownout_hal.o
CC build/bootloader/hal/esp32/gpio_hal_workaround.o
CC build/bootloader/hal/esp32/interrupt_descriptor_table.o
AR build/bootloader/hal/libhal.a
LD build/bootloader/bootloader.elf
/home/pi/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /home/pi/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/liblto_plugin.so: error loading plugin: /home/pi/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch3-8.4.0/xtensa-esp32-elf/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/liblto_plugin.so: cannot open shared object file: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [/home/pi/esp/esp-adf/esp-idf/make/project.mk:575: /home/pi/esp/sip_phone_example/build/bootloader/bootloader.elf] Error 1
make: *** [/home/pi/esp/esp-adf/esp-idf/components/bootloader/Makefile.projbuild:47: /home/pi/esp/sip_phone_example/build/bootloader/bootloader.bin] Error 2

LubOlimex

It is related to RPI and ESP-IDF, check here:

https://github.com/espressif/esp-idf/issues/7857

If possible use Linux computer, like we did when we wrote the demo.
Technical support and documentation manager at Olimex