Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By Warthog
#5901 I have installed esp-open-sdk on my ubuntu 14.10.
Building the toolchain seems to be fine, but compiling the IoT SDK gives this error:

[..]~/esp-open-sdk/esp_iot_sdk_v0.9.4$ make
../Makefile:136: warning: overriding recipe for target 'clean'
Makefile:95: warning: ignoring old recipe for target 'clean'
You cloned without --recursive, fetching submodules for you.
git submodule update --init --recursive
make -C crosstool-NG -f ../Makefile _ct-ng
make[1]: *** crosstool-NG: No such file or directory. Stop.
../Makefile:122: recipe for target 'crosstool-NG/ct-ng' failed
make: *** [crosstool-NG/ct-ng] Error 2

Seems to be a directory problem?

crosstool-NG is at the same dir level as sdk.
User avatar
By DonEduardo
#10828 I can't seem to get around this problem. According to the readme.md and info from another site I found, all we should need to do is copy the examples folders up another level. I get the same set of errors even after moving the directory.

I'd like to start programming from one of their examples and it seems like it should be working.

Code: Select alldon@don-Latitude-E6510 ~/githubfiles/esp-open-sdk/sdk $ ls -l
total 60
drwxr-xr-x 2 don don  4096 Jan 23 21:54 app
drwxr-xr-x 4 don don  4096 Feb 26 14:05 at
drwxr-xr-x 4 don don  4096 Jan 23 21:54 bin
drwxr-xr-x 4 don don  4096 Jan 23 21:39 document
drwxr-xr-x 5 don don  4096 Jan 23 21:54 examples
drwxr-xr-x 3 don don  4096 Feb 26 13:50 include
drwxr-xr-x 2 don don  4096 Jan 23 21:54 ld
drwxr-xr-x 2 don don  4096 Feb 26 13:50 lib
-rw-r--r-- 1 don don 11416 Sep 22  2015 License
-rw-r--r-- 1 don don  8791 Jan 23 21:06 Makefile
drwxr-xr-x 2 don don  4096 Jan 23 21:54 tools
don@don-Latitude-E6510 ~/githubfiles/esp-open-sdk/sdk $ cd at
don@don-Latitude-E6510 ~/githubfiles/esp-open-sdk/sdk/at $ ls
gen_misc.bat  gen_misc.sh  include  Makefile  user
don@don-Latitude-E6510 ~/githubfiles/esp-open-sdk/sdk/at $ ls -l
total 20
-rw-r--r-- 1 don don 2473 Feb 26 13:53 gen_misc.bat
-rw-r--r-- 1 don don 2555 Feb 26 13:53 gen_misc.sh
drwxr-xr-x 2 don don 4096 Feb 26 13:53 include
-rw-r--r-- 1 don don 3013 Feb 26 13:53 Makefile
drwxr-xr-x 2 don don 4096 Feb 26 13:53 user
don@don-Latitude-E6510 ~/githubfiles/esp-open-sdk/sdk/at $ make
../../Makefile:151: warning: overriding commands for target `clean'
../Makefile:258: warning: ignoring old commands for target `clean'
You cloned without --recursive, fetching submodules for you.
git submodule update --init --recursive
You need to run this command from the toplevel of the working tree.
make: *** [crosstool-NG/bootstrap] Error 1