-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error missing time.o for 2.2 (no error 2.1) #2444
Comments
@stevemac00 ~~I can't find anything in the makefile to attempt to delete Found it. It's generated in the root |
I may have aborted at one time (I put this away for awhile and can't remember). Since it's complaining about time.o, my only clue is I'm defining SNTP but not RTCTIME although that was fine in 2.1. |
@stevemac00 building from
Deleting |
$ ar t sdk/esp_iot_sdk_v2.2.0-f8f27ce/lib/libmain.a
Now I'm even more confused. What is that /0 after time.o ? |
Strange indeed. It's in the row where I have |
Thanks for staying on this as I need the help. Something is wrong with what I've used on the 220 but I list the simple instructions I followed on my original post at the top. I'm on MacOS 10.13.6 and using /usr/bin/ar included but it doesn't support the 'V' option for version. I'm wondering why the date is older on -220 than it is on -210? nodemcu-firmware-210$ ar tv sdk/esp_iot_sdk_v2.1.0/lib/libmain.a nodemcu-firmware-220$ ar tv sdk/esp_iot_sdk_v2.2.0-f8f27ce/lib/libmain.a |
Found a solution! I simply cp xtensa-lx106-elf-ar to ar so it was used in my $PATH before /usr/bin/ar and it worked. Maybe the make file could be updated to explicitly use xtensa-lx106-elf-ar? |
Sure, that should do the trick 👍 Also removes dependencies to the host system installation. |
Expected behavior
Build
Actual behavior
I have been making builds with 2.1 for the past year without any issues. I created a new disk for 2.2 but when I attempt to build from 2.2 I get this error:
ar d /Volumes/casesenshfs-220/nodemcu-firmware/sdk/esp_iot_sdk_v2.2.0-f8f27ce/lib/libmain.a time.o
ar: time.o: not found in archive
Here is what I use to build:
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
cd esp-open-sdk
make STANDALONE=y
export PATH=...
cd ..
git clone https://github.com/nodemcu/nodemcu-firmware.git
cd nodemcu-firmware
make clean
make
Test code
NodeMCU version
2.2 esp_iot_sdk_v2.2.0
Hardware
N/A
The text was updated successfully, but these errors were encountered: