esp32-http-firmware-update-over-the-air
esp32-http-firmware-update-over-the-air copied to clipboard
weird duplicated error
i tried to compile the code today and it gives me a weird error
/home/ubuntu/Arduino/hardware/espressif/esp32/tools/sdk/lib/liblwip.a(md5.o): In function `md5':
Multiple libraries were found for "WiFi.h"
/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/lwip/netif/ppp/polarssl/md5.c:292: multiple definition of `md5'
Used: /home/ubuntu/Arduino/hardware/espressif/esp32/libraries/WiFi
Not used: /home/ubuntu/Downloads/arduino-1.8.5/libraries/WiFi
/tmp/arduino_build_342934/sketch/esp32httpfota.ino.cpp.o:(.bss.md5+0x0): first defined here
/home/ubuntu/Arduino/hardware/espressif/esp32/tools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: Warning: size of symbol `md5' changed from 50 in /tmp/arduino_build_342934/sketch/esp32httpfota.ino.cpp.o to 70 in /home/ubuntu/Arduino/hardware/espressif/esp32/tools/sdk/lib/liblwip.a(md5.o)
/home/ubuntu/Arduino/hardware/espressif/esp32/tools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: Warning: type of symbol `md5' changed from 1 to 2 in /home/ubuntu/Arduino/hardware/espressif/esp32/tools/sdk/lib/liblwip.a(md5.o)
collect2: error: ld returned 1 exit status
the way i solved it on my side is i change the md5 to md5check in the esp32httpfota.ino example and everything is fine
can you please double check it
i am using the latest sdk
Hi, sorry I reply late. Did you update new sdk from old one? Maybe you need to clean up it.
no, i install the latest from the beginning before testing this library
did you solved this?
Good catch!
Replace anything with md5
not text printed with md5check
.