[crosstool-NG/ct-ng] Error 2 on Ubuntu 14.04 / Lubuntu 16.04
Posted: Sat Oct 15, 2016 2:11 pm
Hello,
I'm having trouble getting an example project compiled. What I did to compile pfalcon's esp-open-sdk.
After compilation I did:
So after the toolchain is now built, I've gone into the sdk folder and copied the at example to /sdk/app, ran the gen_misc.sh and I got this error messages:
What can I do to fix this issue? I also tried the exact same thing on Lubuntu 16.04 and I get the same error message.
I'm having trouble getting an example project compiled. What I did to compile pfalcon's esp-open-sdk.
Code: Select all
sudo apt-get install make unrar-free autoconf automake libtool gcc g++ gperf \
flex bison texinfo gawk ncurses-dev libexpat-dev python-dev python python-serial \
sed git unzip bash help2man wget bzip2
Code: Select all
sudo apt-get install libtool-bin
Code: Select all
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
Code: Select all
make STANDALONE=y
After compilation I did:
Code: Select all
export PATH=/home/steven/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
So after the toolchain is now built, I've gone into the sdk folder and copied the at example to /sdk/app, ran the gen_misc.sh and I got this error messages:
Code: Select all
../../Makefile:103: warning: overriding commands for target `clean'
../Makefile:300: warning: ignoring old commands for target `clean'
../../Makefile:180: warning: overriding commands for target `ESP8266_NONOS_SDK_V1.5.4_16_05_20/.dir'
../../Makefile:169: warning: ignoring old commands for target `ESP8266_NONOS_SDK_V1.5.4_16_05_20/.dir'
You cloned without --recursive, fetching submodules for you.
git submodule update --init --recursive
make -C crosstool-NG -f ../Makefile _ct-ng
make: *** crosstool-NG: No such file or directory. Stop.
make: *** [crosstool-NG/ct-ng] Error 2
What can I do to fix this issue? I also tried the exact same thing on Lubuntu 16.04 and I get the same error message.