ESP-IDF "internal networking example" comiling error

sandhan26
Posts: 1
Joined: Fri Nov 23, 2018 6:34 pm

ESP-IDF "internal networking example" comiling error

Postby sandhan26 » Fri Nov 23, 2018 6:41 pm

Hi, I was trying to compile the example program under esp-idf/examples/mesh/internal_communication/

But if I try to compile, I receive the following error:
  1. LD /home/sandhan/Documents/Projects/ESP-Projects/mesh/internal_communication/build/internal_communication.elf
  2. /home/sandhan/Documents/Projects/ESP-Projects/mesh/internal_communication/build/esp32/libesp32.a(phy_init.o):(.literal.esp_phy_rf_init+0xc): undefined reference to `esp_wifi_internal_update_mac_time'
  3. /home/sandhan/Documents/Projects/ESP-Projects/mesh/internal_communication/build/esp32/libesp32.a(phy_init.o): In function `phy_update_wifi_mac_time':
  4. /home/sandhan/.local/opt/esp/esp-idf/components/esp32/phy_init.c:86: undefined reference to `esp_wifi_internal_update_mac_time'
  5. collect2: error: ld returned 1 exit status
  6. /home/sandhan/.local/opt/esp/esp-idf/make/project.mk:452: recipe for target '/home/sandhan/Documents/Projects/ESP-Projects/mesh/internal_communication/build/internal_communication.elf' failed
  7. make: *** [/home/sandhan/Documents/Projects/ESP-Projects/mesh/internal_communication/build/internal_communication.elf] Error 1
Thanks

ESP_yudong
Posts: 68
Joined: Wed May 16, 2018 12:31 pm

Re: ESP-IDF "internal networking example" comiling error

Postby ESP_yudong » Mon Nov 26, 2018 3:16 am

Hi sandhan,
First, can you compile the example examples/wifi/scan successfully?
Make sure your submodule is clean and updated. git submodule update --init and git status.

Please provide more information about your environment. Thanks.
  • IDF version
  • Build System
  • Operating System
  • Compiler version
  • How to reproduce this problem
  • Full log

Who is online

Users browsing this forum: No registered users and 246 guests