wujiangang / ESP8266_IOT_PLATFORM

A demo that should be run with ESP8266 RTOS SDK
http://bbs.espressif.com
Other
239 stars 122 forks source link

Can't compile #10

Open sreibs opened 7 years ago

sreibs commented 7 years ago

Hi,

First of all, thank you guys for this great job. It looks awesome, unfortunately I can't compile, and I don't know why.

I have this output:

Please check SDK_PATH & BIN_PATH, enter (Y/y) to continue:
y

Please follow below steps(1-5) to generate specific bin(s):
STEP 1: use boot_v1.2+ by default
boot mode: new

STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin)
enter (0/1/2, default 0):
0
ignore boot
generate bin: eagle.flash.bin+eagle.irom0text.bin

STEP 3: choose spi speed(0=20MHz, 1=26.7MHz, 2=40MHz, 3=80MHz)
enter (0/1/2/3, default 2):

spi speed: 40 MHz

STEP 4: choose spi mode(0=QIO, 1=QOUT, 2=DIO, 3=DOUT)
enter (0/1/2/3, default 0):

spi mode: QIO

STEP 5: choose spi size and map
    0= 512KB( 256KB+ 256KB)
    2=1024KB( 512KB+ 512KB)
    3=2048KB( 512KB+ 512KB)
    4=4096KB( 512KB+ 512KB)
    5=2048KB(1024KB+1024KB)
    6=4096KB(1024KB+1024KB)
enter (0/2/3/4/5/6, default 0):

spi size: 512KB
spi ota map:  256KB + 256KB

start...

make: *** No rule to make target 'clean'.  Stop.
Makefile:150: warning: overriding recipe for target 'libwebpages-espfs.a'
Makefile:125: warning: ignoring old recipe for target 'libwebpages-espfs.a'
find: 'build': No such file or directory
make[1]: Entering directory '/home/seb/WW/ESP8266/ESP8266_IOT_PLATFORM/libesphttpd/espfs/mkespfsimage'
rm -f mkespfsimage main.o heatshrink_encoder.o
make[1]: Leaving directory '/home/seb/WW/ESP8266/ESP8266_IOT_PLATFORM/libesphttpd/espfs/mkespfsimage'
make: *** No rule to make target 'all', needed by 'dummy'.  Stop. 

ESP-OPEN-RTOS version is 1.5

Any idea on how to fix that ?

Thank you,

FayeY commented 7 years ago

Have you set the SDK_PATH & BIN_PATH?

ustccw commented 6 years ago

@srisler plz try the latest SDK.

pamarsh commented 5 years ago

I have the latest and I am still getting this problem.

david0215 commented 5 years ago

Any update? I have the same problem..

wjgeorge commented 5 years ago

I ended up doing a bunch of patches. If I get time I’ll forward them to you, but I’m not sure they are correct. Mostly missing return statements

Bill

On Jan 4, 2019, at 10:48 AM, David Yau notifications@github.com wrote:

Any update? I have the same problem..

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ustccw commented 5 years ago

@all would you mind retry the make workflow by the following steps:

git clone https://github.com/espressif/ESP8266_IOT_PLATFORM.git
cd ESP8266_IOT_PLATFORM
git submodule update --init --recursive
./gen_misc.sh
choose y 1 2 0 5

emm, make sure that your compiler version is v4.8.2

maybe you would get the following:

_001

vamshi51 commented 5 years ago

Hello all,

I still have the problem despite the latest SDK. Log below: ./gen_misc.sh gen_misc.sh version 20150911

SDK_PATH: /home/esp8266/Share/ESP8266_RTOS_SDK

BIN_PATH: /home/esp8266/Share/ESP8266_RTOS_SDK/bin

Please check SDK_PATH & BIN_PATH, enter (Y/y) to continue: Y

Please follow below steps(1-5) to generate specific bin(s): STEP 1: use boot_v1.2+ by default boot mode: new

STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin) enter (0/1/2, default 0): 1 generate bin: user1.bin

STEP 3: choose spi speed(0=20MHz, 1=26.7MHz, 2=40MHz, 3=80MHz) enter (0/1/2/3, default 2): 2 spi speed: 40 MHz

STEP 4: choose spi mode(0=QIO, 1=QOUT, 2=DIO, 3=DOUT) enter (0/1/2/3, default 0): 0 spi mode: QIO

STEP 5: choose spi size and map 0= 512KB( 256KB+ 256KB) 2=1024KB( 512KB+ 512KB) 3=2048KB( 512KB+ 512KB) 4=4096KB( 512KB+ 512KB) 5=2048KB(1024KB+1024KB) 6=4096KB(1024KB+1024KB) enter (0/2/3/4/5/6, default 0): 2 spi size: 1024KB spi ota map: 512KB + 512KB

start...

make: No rule to make target clean'. Stop. Makefile:150: warning: overriding commands for targetlibwebpages-espfs.a' Makefile:125: warning: ignoring old commands for target libwebpages-espfs.a' find:build': No such file or directory make[1]: Entering directory /mnt/Share/ESP8266_IOT_PLATFORM/libesphttpd/espfs/mkespfsimage' rm -f mkespfsimage main.o heatshrink_encoder.o make[1]: Leaving directory/mnt/Share/ESP8266_IOT_PLATFORM/libesphttpd/espfs/mkespfsimage' make: No rule to make target all', needed bydummy'. Stop. esp8266@esp8266-VirtualBox:~/Share/ESP8266_IOT_PLATFORM$

radiohlam commented 5 years ago

I have the same problem. Have anyone a solution?