esp32-at fails to compile

wpdster
Posts: 1
Joined: Wed Jan 31, 2018 4:54 pm

esp32-at fails to compile

Postby wpdster » Wed Jan 31, 2018 4:58 pm

Host: Ubuntu 16.04
esp32-at commit: e6e45c16f32fe453b14f3a9c6ed00d6e02a890e9 (Jan 17, 2018)

Code: Select all

$ rm sdkconfig
$ make defconfig
$ make
...
LD build/esp-at.elf
/home/wpd/esp/esp32-at/components/at/lib/libat_core.a(at_wifiCmd.o):(.literal.at_setupCmdMdns+0x34): undefined reference to `mdns_set_hostname'
/home/wpd/esp/esp32-at/components/at/lib/libat_core.a(at_wifiCmd.o): In function `at_setupCmdMdns':
(.text.at_setupCmdMdns+0x14e): undefined reference to `mdns_set_hostname'
collect2: error: ld returned 1 exit status
/home/wpd/esp/esp-idf/make/project.mk:388: recipe for target '/home/wpd/esp/esp32-at/build/esp-at.elf' failed
make: *** [/home/wpd/esp/esp32-at/build/esp-at.elf] Error 1
Is this the proper forum to report such issues?

--wpd

uraich
Posts: 1
Joined: Tue Feb 06, 2018 8:41 pm

Re: esp32-at fails to compile

Postby uraich » Tue Feb 06, 2018 8:44 pm

Hi,
I had the same problem. In my case the IDF_PATH was set to the latest esp-idf I had downloaded and not to the esp-idf which is part of esp_at. Just unset IDF_PATH (which is set within the Makefile for esp_at) and make should work
Uli

Who is online

Users browsing this forum: No registered users and 122 guests