The use of the ESP8266 in the world of IoT

User avatar
By sean_intez
#11432 :cry:

I have spent about 10 days googleing but have found no result. found someone had similiar situation but he could fix his problem by unsetting the LD_Library_path. but my problem did not go away with that solution.

here is the thing:
[INFO ] Extracting and patching toolchain components
[ERROR] The 'mpc-1.0.2' sources were partially extracted.
[ERROR] Please remove first:
[ERROR] - the source dir for 'mpc-1.0.2', in '/home/esp8266/esp-open-sdk/crosstool-NG/.build/src'
[ERROR] - the file '/home/esp8266/esp-open-sdk/crosstool-NG/.build/src/.mpc-1.0.2.extracting'
[ERROR] I'll stop now to avoid any carnage...
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Extracting and patching toolchain components'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_Abort[scripts/functions@331]
[ERROR] >> called from: CT_Extract[scripts/functions@932]
[ERROR] >> called from: do_mpc_extract[scripts/build/companion_libs/140-mpc.sh@21]
[ERROR] >> called from: do_companion_libs_extract[scripts/build/companion_libs.sh@22]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@606]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> 'share/doc/crosstool-ng/ct-ng.1.20.0/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 0:01.70)
[00:02] / make[2]: *** [build] Error 1
make[2]: Leaving directory `/home/esp8266/esp-open-sdk/crosstool-NG'
make[1]: *** [_toolchain] Error 2
make[1]: Leaving directory `/home/esp8266/esp-open-sdk/crosstool-NG'
make: *** [/home/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Error 2
esp8266@esp8266-VirtualBox:~/esp-open-sdk$


I am trying to install it in the lubuntu virtual image that has been provided by espressif.
User avatar
By EadF
#11433
sean_intez wrote:[ERROR] Please remove first:
[ERROR] - the source dir for 'mpc-1.0.2', in '/home/esp8266/esp-open-sdk/crosstool-NG/.build/src'
[ERROR] - the file '/home/esp8266/esp-open-sdk/crosstool-NG/.build/src/.mpc-1.0.2.extracting'
[ERROR] I'll stop now to avoid any carnage...


Did you do as the error message suggest?
You can try "make clean", or simply remove and re-clone the entire repository.

If would be interesting to know if that solves the problem.
User avatar
By sean_intez
#11439 I have tried make clean a couple of times. I also tried removing my virtualbox image completely and re-do everything from beginning a couple of times But I still getting that message.
I'm guessing that this error has something to do with dependencies... but I don't know how to check the dependecies required for this part of the sdk that throws error.