subpos / esp_firmware_v2

http://www.subpos.org
Other
19 stars 8 forks source link

complie issue #4

Open ejngnng opened 7 years ago

ejngnng commented 7 years ago

hi, when I run the gen_misc.sh on ubuntu16.04 32bit, there show this errors: ninja@ninja-HP-Compaq:~/Project/github/esp_firmware_v2/app$ ./gen_misc.sh gen_misc.sh version 20150511

Please follow below steps(1-5) to generate specific bin(s): STEP 1: choose boot version(0=boot_v1.1, 1=boot_v1.2+, 2=none) enter(0/1/2, default 2): 1 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): 2 generate bin: user2.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): 3 spi size: 2048KB spi ota map: 512KB + 512KB

start...

make[1]: Entering directory '/home/ninja/Project/github/esp_firmware_v2/app/user' make[1]: No rule to make target '/opt/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/string.h', needed by '.output/eagle/release/obj/user_main.o'。 停止。 make[1]: Leaving directory '/home/ninja/Project/github/esp_firmware_v2/app/user' ../Makefile:312: recipe for target '.subdirs' failed make: [.subdirs] Error 2

is this the right way to complie?

Thanks :)