pfalcon / esp-open-sdk

Free and open (as much as possible) integrated SDK for ESP8266/ESP8285 chips
1.97k stars 623 forks source link

make fails #251

Open mr-bandit opened 7 years ago

mr-bandit commented 7 years ago

Make fails

Using a Cygwin from 2012

Sequence: got the git .zip files did the "git clone --recursive ......" sequence make (from the top directory) Output below

**Makefile:181: warning: overriding commands for target ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir' Makefile:176: warning: ignoring old commands for targetESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir' You cloned without --recursive, fetching submodules for you. git submodule update --init --recursive fatal: Not a git repository (or any of the parent directories): .git make: * [crosstool-NG/bootstrap] Error 128

If I commented out the line that tried to do the "git submodule update", got another failure: it did not cd to a subdirectory, and got the message:

make -C crosstool-NG -f ../Makefile _ct-ng make[1] Entering directory (my directory tree)/freertos/esd-open-sdk/crosstool-NG ./bootstrap /bin/bash: ./bootstrap: No such file or directory make[1]: Leaving directory (my directory tree)/freertos/esd-open-sdk/crosstool-NG

Also, following the instructions:

git pull

responds with "fatal: Not a git repository (or any of the parent directories): .git"

Bottom line: the build sequence should be cookbook

sufex00 commented 7 years ago

Using instructions for Ubuntu 14.04

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

and then running make however fixed the issue.

wgreybe commented 7 years ago

Im trying to setup the OTA client and server on a Rasberry PI3. When I run the make command (using different options), I get the below error. I'd appreciate any input. make ../../esptool/yaota8266-master/ Makefile:187: warning: overriding recipe for target 'ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir' Makefile:178: warning: ignoring old recipe for target 'ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir' make: Nothing to be done for '../../esptool/yaota8266-master/'.