Problem with librtc.a after updating esp-idf from GitHub

Scalpel78
Posts: 51
Joined: Sun Feb 26, 2017 7:31 am

Problem with librtc.a after updating esp-idf from GitHub

Postby Scalpel78 » Thu Apr 06, 2017 7:38 pm

Hi,
I just updated to the latest version of esp-idf from GitHub, and now I get an error I didn't have before.

Doing a 'make all' now results in:

make: *** No rule to make target '/home/frode/esp/esp-idf/components/esp32/lib/librtc_pm.a', needed by '/home/frode/GIT/Ghost/ESP32/Blinky/build/app-template.elf'. Stop.

I've done a 'make clean', but still the same behavior afterwards.
This error seems to occur in all my ESP32-applications.

What could be causing this?

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: Problem with librtc.a after updating esp-idf from GitHub

Postby ESP_igrr » Fri Apr 07, 2017 12:53 am

Did you do 'git submodule update' after git pull?
If you didn't, the build system should be printing a warning that some submodules are not up to date.
Try doing git submodule update now, this should fix the issue.

Scalpel78
Posts: 51
Joined: Sun Feb 26, 2017 7:31 am

Re: Problem with librtc.a after updating esp-idf from GitHub

Postby Scalpel78 » Fri Apr 07, 2017 4:46 pm

Thanks that was the solution :)

Who is online

Users browsing this forum: Bing [Bot] and 82 guests