FAILED: voip_app.elf

nobitaemon
Posts: 3
Joined: Thu Feb 25, 2021 10:19 am

FAILED: voip_app.elf

Postby nobitaemon » Sun Oct 17, 2021 2:57 am

Linking CXX executable voip_app.elf
FAILED: voip_app.elf

Code: Select all

-- Build files have been written to: C:/Users/kamil/esp2/work/voip/build/bootloader
[1/1] cmd.exe /C "cd /D C:\Users\kamil\esp2\work\voip\build\bootloader\esp-idf\esptool_py && C:\Users\kamil\esp2\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/Users/kamil/esp2/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Users/kamil/esp2/work/voip/build/bootloader/bootloader.bin"
Bootloader binary size 0x6a20 bytes. 0x5e0 bytes (5%) free.
[1093/1095] Linking CXX executable voip_app.elf
FAILED: voip_app.elf 
cmd.exe /C "cd . && C:\Users\kamil\esp2\.espressif\tools\xtensa-esp32-elf\esp-2021r1-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address  @CMakeFiles\voip_app.elf.rsp -o voip_app.elf  && cd ."
c:/users/kamil/esp2/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/kamil/esp2/esp-adf/components/esp-adf-libs/esp_sip/lib/esp32/libesp_sip-v4x.a(esp_sip_auth.c.obj):(.literal.md5_printf+0x1c): undefined reference to `MD5Init'
c:/users/kamil/esp2/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/kamil/esp2/esp-adf/components/esp-adf-libs/esp_sip/lib/esp32/libesp_sip-v4x.a(esp_sip_auth.c.obj):(.literal.md5_printf+0x20): undefined reference to `MD5Update'
c:/users/kamil/esp2/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/kamil/esp2/esp-adf/components/esp-adf-libs/esp_sip/lib/esp32/libesp_sip-v4x.a(esp_sip_auth.c.obj):(.literal.md5_printf+0x24): undefined reference to `MD5Final'
c:/users/kamil/esp2/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:/Users/kamil/esp2/esp-adf/components/esp-adf-libs/esp_sip/lib/esp32/libesp_sip-v4x.a(esp_sip_auth.c.obj): in function `md5_printf':
/home/michael/work/esp/esp-adf-internal/components/esp_sip/lib/esp_sip_auth.c:52: undefined reference to `MD5Init'
c:/users/kamil/esp2/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/michael/work/esp/esp-adf-internal/components/esp_sip/lib/esp_sip_auth.c:53: undefined reference to `MD5Update'
c:/users/kamil/esp2/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: /home/michael/work/esp/esp-adf-internal/components/esp_sip/lib/esp_sip_auth.c:54: undefined reference to `MD5Final'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
The terminal process "C:\WINDOWS\System32\cmd.exe /d /c cmake --build ." terminated with exit code: 1.
how to solved?
i am using VScode+win10

liugyer
Posts: 11
Joined: Mon Oct 18, 2021 3:23 am

Re: FAILED: voip_app.elf

Postby liugyer » Mon Oct 18, 2021 7:02 am

Hi

My solution is to re-install esp-idf with v4.1 in vscode, and then re-install esp-adf.
I think it's a compatible problem.

Thanks

expresspotato
Posts: 24
Joined: Fri May 28, 2021 1:58 pm

Re: FAILED: voip_app.elf

Postby expresspotato » Sun Nov 14, 2021 7:50 pm

Same problem here, I've opened a ticket. I need 4.3 for a number of reasons so looking to Espressif for a fix.

https://github.com/espressif/esp-adf/issues/720

Who is online

Users browsing this forum: No registered users and 19 guests