-->
Page 1 of 1

I am having problems installing tool chain & sdk (solved)

PostPosted: Sun Jun 14, 2015 10:33 am
by mikronauts
I am running Ubuntu 15.04 64 bit, and I can't get the toolchain and SDK to install.

I had some easy to fix dependency issues at first, then ran into more issues.

I followed

wiki/doku.php?id=setup-linux-compiler-esp8266

And it bombs out with:

make[2]: Entering directory '/home/bhenning/esp-open-sdk/crosstool-NG'
[INFO ] Performing some trivial sanity checks
[ERROR] Don't set LD_LIBRARY_PATH. It screws up the build.
[00:00] / touch: cannot touch '/home/bhenning/esp-open-sdk/crosstool-NG/.build/backtrace': No such file or directory
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_Abort[scripts/functions@331]
[ERROR] >> called from: CT_TestAndAbort[scripts/functions@351]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@55]
[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: 23904925:23.42)
[00:00] / ct-ng:148: recipe for target 'build' failed
make[2]: *** [build] Error 1
make[2]: Leaving directory '/home/bhenning/esp-open-sdk/crosstool-NG'
../Makefile:225: recipe for target '_toolchain' failed
make[1]: *** [_toolchain] Error 2
make[1]: Leaving directory '/home/bhenning/esp-open-sdk/crosstool-NG'
Makefile:222: recipe for target '/home/bhenning/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc' failed
make: *** [/home/bhenning/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Error 2


I looked at the known issues document, and did not spot a solution.

I also tried:

http://www.electrodragon.com/w/ESP8266_GCC_SDK

I got as far as

/opt/Espressif
git clone -b lx106 git://github.com/jcmvbkbc/crosstool-NG.git
cd crosstool-NG
./bootstrap && ./configure --prefix=`pwd` && make && make install
./ct-ng xtensa-lx106-elf
./ct-ng build


Which bombed out, but just after posting this, I got it going!

Before running ./ct-ng build, I went

LD_LIBRARY_PATH=

And it is building right now!

UPDATE:

It finished building!

I'll try the first method again, now with the cleared library path. I suspect it will work. Stay tuned...

Time for me to wire up a little ESP-01 dev board.

I just received a bunch of ESP-12e's, and I already have some ESP-01's

Thanks,

Bill