cnlohr / espusb

Software-only ESP8266 USB Device
Other
1.47k stars 230 forks source link

Pre-Compiled? #33

Open krak3n77 opened 7 years ago

krak3n77 commented 7 years ago

I cant seem to compile it! Is it possible to get a pre-compiled copy for esp8266 12E?

T-vK commented 7 years ago

Have you checked out the wiki? https://github.com/cnlohr/espusb/wiki/Getting-Started-Guide
If you tell us where exactly you are stuck in the compiling process, we might be able to help you.

krak3n77 commented 7 years ago

I get this error: [INFO ] Extracting and patching toolchain components [14:51] | /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR]
[14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> Build failed in step 'Extracting and patching toolchain components' [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> called in step '(top-level)' [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> Error happened in: CT_DoLog[scripts/functions@198] [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> called from: CT_DoExecLog[scripts/functions@257] [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> called from: CT_Extract[scripts/functions@984] [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> called from: do_gcc_extract[scripts/build/cc/100-gcc.sh@57] [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> called from: do_cc_extract[scripts/build/cc.sh@28] [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> called from: main[scripts/crosstool-NG.sh@616] [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> For more info on this error, look at the file: 'build.log' [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> There is a list of known issues, some with workarounds, in: [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] >> 'share/doc/crosstool-ng/crosstool-ng-1.22.0-60-g37b07f6/B - Known issues.txt' [14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR]
[14:52] / /home/pi/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/scripts/functions: line 198: printf: write error: No space left on device [ERROR] (elapsed: 14:53.49) [14:53] / ct-ng:152: recipe for target 'build' failed make[2]: [build] Error 1 make[2]: Leaving directory '/home/pi/esp8266/esp-open-sdk/crosstool-NG' ../Makefile:132: recipe for target '_toolchain' failed make[1]: [_toolchain] Error 2 make[1]: Leaving directory '/home/pi/esp8266/esp-open-sdk/crosstool-NG' Makefile:128: recipe for target '/home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc' failed make: *** [/home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Error 2

T-vK commented 7 years ago

How much disk space do you have left on your device?

krak3n77 commented 7 years ago

I tried using a different Linux system. Here is what i got when running "make"

[INFO ] Installing GMP for host [ERROR] make[5]: [div_qr_1n_pi1.lo] Error 1 [ERROR] make[4]: [all-recursive] Error 1 [ERROR] make[3]: [all] Error 2 [ERROR]
[ERROR] >> [ERROR] >> Build failed in step 'Installing GMP for host' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257] [ERROR] >> called from: do_gmp_backend[scripts/build/companion_libs/100-gmp.sh@106] [ERROR] >> called from: do_gmp_for_host[scripts/build/companion_libs/100-gmp.sh@62] [ERROR] >> called from: do_companion_libs_for_host[scripts/build/companion_libs.sh@36] [ERROR] >> called from: main[scripts/crosstool-NG.sh@646] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> 'share/doc/crosstool-ng/crosstool-ng-1.22.0-60-g37b07f6/B - Known issues.txt' [ERROR]
[ERROR] (elapsed: 22:06.22) [22:08] / ct-ng:152: recipe for target 'build' failed make[2]:
[build] Error 2 make[2]: Leaving directory '/home/detectingdragon77/esp8266/firmware/esp-open-sdk/crosstool-NG' ../Makefile:132: recipe for target '_toolchain' failed make[1]: [_toolchain] Error 2 make[1]: Leaving directory '/home/detectingdragon77/esp8266/firmware/esp-open-sdk/crosstool-NG' Makefile:128: recipe for target '/home/detectingdragon77/esp8266/firmware/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc' failed make: [/home/detectingdragon77/esp8266/firmware/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Error 2

My build log is attached.

T-vK commented 7 years ago

Can you please tell us what you have done so far? Have you followed the steps in the wiki?
Also, what Linux distro are you using?
Is your kernel version >=3.10 ? If so, then you could simply use the docker image that I created (it's also mentioned int he getting started guide). That would make things much easier.

krak3n77 commented 7 years ago

Ok, I am running Armbian on an Orange Pi One, my arch is armhf: detectingdragon77@orangepione:~$ uname -a Linux orangepione 3.4.113-sun8i #20 SMP PREEMPT Sun Jun 18 10:55:08 CEST 2017 armv7l armv7l armv7l GNU/Linux

I attached a text file of all my terminal commands.

krak3n77 commented 7 years ago

Nevermind here:

detectingdragon77@orangepione:~$ uname -a Linux orangepione 3.4.113-sun8i #20 SMP PREEMPT Sun Jun 18 10:55:08 CEST 2017 armv7l armv7l armv7l GNU/Linux detectingdragon77@orangepione:~$ sudo apt-get install make unrar 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 libtool-bin

[sudo] password for detectingdragon77: Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'libncurses5-dev' instead of 'ncurses-dev' Note, selecting 'libexpat1-dev' instead of 'libexpat-dev' autoconf is already the newest version (2.69-9). automake is already the newest version (1:1.15-4ubuntu1). bison is already the newest version (2:3.0.4.dfsg-1). bzip2 is already the newest version (1.0.6-8). flex is already the newest version (2.6.0-11). g++ is already the newest version (4:5.3.1-1ubuntu1). gawk is already the newest version (1:4.1.3+dfsg-0.1). gcc is already the newest version (4:5.3.1-1ubuntu1). libncurses5-dev is already the newest version (6.0+20160213-1ubuntu1). libtool is already the newest version (2.4.6-0.1). libtool-bin is already the newest version (2.4.6-0.1). make is already the newest version (4.1-6). python is already the newest version (2.7.11-1). python-dev is already the newest version (2.7.11-1). python-serial is already the newest version (3.0.1-1). sed is already the newest version (4.2.2-7). unzip is already the newest version (6.0-20ubuntu1). gperf is already the newest version (3.0.4-2). help2man is already the newest version (1.47.3). texinfo is already the newest version (6.1.0.dfsg.1-5). unrar is already the newest version (1:5.3.2-1). bash is already the newest version (4.3-14ubuntu1.2). git is already the newest version (1:2.7.4-0ubuntu1.1). libexpat1-dev is already the newest version (2.1.0-7ubuntu0.16.04.2). wget is already the newest version (1.17.1-1ubuntu1.2). 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. detectingdragon77@orangepione:~$ clear  detectingdragon77@orangepione:~$ cd esp8266 detectingdragon77@orangepione:~/esp8266$ cd detectingdragon77@orangepione:~$ clear 

detectingdragon77@orangepione:~$ cd esp8266 detectingdragon77@orangepione:~/esp8266$ git clone --recursive https://github.com/pfalcon/esp-open-sdk.git Cloning into 'esp-open-sdk'... remote: Counting objects: 530, done. remote: Total 530 (delta 0), reused 0 (delta 0), pack-reused 530 Receiving objects: 100% (530/530), 329.81 KiB | 22.00 KiB/s, done. Resolving deltas: 100% (306/306), done. Checking connectivity... done. Submodule 'crosstool-NG' (https://github.com/jcmvbkbc/crosstool-NG) registered for path 'crosstool-NG' Submodule 'esp-open-lwip' (https://github.com/pfalcon/esp-open-lwip) registered for path 'esp-open-lwip' Submodule 'esptool' (https://github.com/themadinventor/esptool) registered for path 'esptool' Submodule 'lx106-hal' (https://github.com/tommie/lx106-hal) registered for path 'lx106-hal' Cloning into 'crosstool-NG'... remote: Counting objects: 33801, done. Receiving objects: 10% (3681/33801), 1.89 MiReceiving objects: 11% (3719/33801), 1.93 MiReceiving objects: 11% (3758/33801), 1.96 MiReceiving objects: 11% (3911/33801), 2.04 MiReceiving objects: 11% (4040/33801), 2.07 MiReceiving objects: 12% (4057/33801), 2.11 MiReceiving objects: 12% (4069/33801), 2.14 MiReceiving objects: 12% (4091/33801), 2.23 MiReceiving objects: 12% (4091/33801), 2.32 MiReceiving objects: 12% (4091/33801), 2.41 MiReceiving objects: 12% (4091/33801), 2.50 MiReceiving objects: 12% (4182/33801), 2.69 MiReceiving objects: 12% (4183/33801), 2.75 MiReceiving objects: 12% (4291/33801), 2.90 MiReceiving objects: 12% (4385/33801), 2.94 MiReceiving objects: 13% (4395/33801), 3.07 MiReceiving objects: 13% (4614/33801), 3.09 MiReceiving objects: 14% (4733/33801), 3.39 MiReceiving objects: 14% (4751/33801), 3.64 MiReceiving objects: 14% (4751/33801), 3.87 MiReceiving objects: 14% (4751/33801), 4.04 MiReceiving objects: 14% (4751/33801), 4.23 MiReceiving objects: 26% (8937/33801), 8.42 MiReceiving objects: 27% (9127/33801), 8.53 MiReceiving objects: 27% (9456/33801), 8.62 MiReceiving objects: 28% (9465/33801), 8.62 MiReceiving objects: 29% (9803/33801), 8.70 MiReceiving objects: 29% (10129/33801), 8.79 MReceiving objects: 30% (10141/33801), 8.79 MReceiving objects: 31% (10479/33801), 8.87 MReceiving objects: 31% (10733/33801), 8.96 MReceiving objects: 32% (10817/33801), 8.96 MReceiving objects: 33% (11155/33801), 9.04 MReceiving objects: 33% (11245/33801), 9.13 Mremote: Total 33801 (delta 0), reused 0 (delta 0), pack-reused 33800 Receiving objects: 100% (33801/33801), 17.04 MiB | 169.00 KiB/s, done. Resolving deltas: 100% (19981/19981), done. Checking connectivity... done. Submodule path 'crosstool-NG': checked out '37b07f6fbea2e5d23434f7e91614528f839db056' Cloning into 'esp-open-lwip'... remote: Counting objects: 236, done. remote: Total 236 (delta 0), reused 0 (delta 0), pack-reused 236 Receiving objects: 100% (236/236), 495.14 KiB | 393.00 KiB/s, done. Resolving deltas: 100% (75/75), done. Checking connectivity... done. Submodule path 'esp-open-lwip': checked out '8c39d2179a273553466043f388772abb6251a4ca' Cloning into 'esptool'... remote: Counting objects: 1301, done. remote: Compressing objects: 100% (18/18), done. remote: Total 1301 (delta 8), reused 19 (delta 7), pack-reused 1276 Receiving objects: 100% (1301/1301), 4.86 MiB | 395.00 KiB/s, done. Resolving deltas: 100% (776/776), done. Checking connectivity... done. Submodule path 'esptool': checked out '9dfcb350e1a91bb4641f725fc6c2f126791013ce' Cloning into 'lx106-hal'... remote: Counting objects: 122, done. remote: Total 122 (delta 0), reused 0 (delta 0), pack-reused 122 Receiving objects: 100% (122/122), 179.61 KiB | 0 bytes/s, done. Resolving deltas: 100% (51/51), done. Checking connectivity... done. Submodule path 'lx106-hal': checked out 'e4bcc63c9c016e4f8848e7e8f512438ca857531d' detectingdragon77@orangepione:~/esp8266$ cd esp-open-sdk detectingdragon77@orangepione:~/esp8266/esp-open-sdk$ make 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 -C crosstool-NG -f ../Makefile _ct-ng make[1]: Entering directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' ../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' ./bootstrap Running autoconf... Done. You may now run: ./configure ./configure --prefix=pwd checking build system type... armv7l-unknown-linux-gnueabihf checking host system type... armv7l-unknown-linux-gnueabihf checking for a BSD-compatible install... /usr/bin/install -c checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking whether sed understands -r -i -e... yes checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for gobjcopy... no checking for objcopy... objcopy checking for absolute path to objcopy... /usr/bin/objcopy checking for gobjdump... no checking for objdump... objdump checking for absolute path to objdump... /usr/bin/objdump checking for greadelf... no checking for readelf... readelf checking for absolute path to readelf... /usr/bin/readelf checking for gperf... gperf checking for absolute path to gperf... /usr/bin/gperf checking for bison... bison checking for flex... flex checking for makeinfo... makeinfo checking for cut... cut checking for stat... stat checking for readlink... readlink checking for wget... wget checking for tar... tar checking for gzip... gzip checking for bzip2... bzip2 checking for help2man... help2man checking for gpatch... no checking for patch... patch checking for absolute path to patch... /usr/bin/patch checking for bash >= 3.1... /bin/bash checking for GNU awk... /usr/bin/gawk checking for GNU make >= 3.80... /usr/bin/make checking whether /usr/bin/make sets $(MAKE)... yes checking for make 3.81... no checking for GNU libtool >= 1.5.26... /usr/bin/libtool checking for GNU libtoolize >= 1.5.26... /usr/bin/libtoolize checking for GNU automake >= 1.10... /usr/bin/automake checking for the type used in gperf declarations... size_t checking for xz... xz checking for cvs... no checking for svn... no checking for inline... inline checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking whether gettext is declared... yes checking for library containing bindtextdomain... none required checking ncurses/ncurses.h usability... no checking ncurses/ncurses.h presence... no checking for ncurses/ncurses.h... no checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking ncursesw/curses.h usability... no checking ncursesw/curses.h presence... no checking for ncursesw/curses.h... no checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for library containing initscr... -lncurses checking for library containing tgetent... none required configure: creating ./config.status config.status: creating Makefile make MAKELEVEL=0 make: Entering directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' SED 'ct-ng' SED 'scripts/crosstool-NG.sh' SED 'scripts/saveSample.sh' SED 'scripts/showTuple.sh' GEN 'config/configure.in' GEN 'paths.mk' GEN 'paths.sh' DEP 'nconf.gui.dep' DEP 'nconf.dep' DEP 'lxdialog/yesno.dep' DEP 'lxdialog/util.dep' DEP 'lxdialog/textbox.dep' DEP 'lxdialog/menubox.dep' DEP 'lxdialog/inputbox.dep' DEP 'lxdialog/checklist.dep' DEP 'mconf.dep' DEP 'conf.dep' BISON 'zconf.tab.c' GPERF 'zconf.hash.c' LEX 'zconf.lex.c' DEP 'zconf.tab.dep' CC 'zconf.tab.o' CC 'conf.o' LD 'conf' CC 'lxdialog/checklist.o' CC 'lxdialog/inputbox.o' CC 'lxdialog/menubox.o' CC 'lxdialog/textbox.o' CC 'lxdialog/util.o' CC 'lxdialog/yesno.o' CC 'mconf.o' LD 'mconf' CC 'nconf.o' CC 'nconf.gui.o' LD 'nconf' SED 'docs/ct-ng.1' GZIP 'docs/ct-ng.1.gz' make: Leaving directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' make install MAKELEVEL=0 make: Entering directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' GEN 'config/configure.in' GEN 'paths.mk' GEN 'paths.sh' MKDIR '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG/bin/' INST 'ct-ng' MKDIR '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG/lib/crosstool-ng-1.22.0-60-g37b07f6/' INSTDIR 'config/' INSTDIR 'contrib/' INSTDIR 'patches/' INSTDIR 'scripts/' INST 'steps.mk' INST 'paths' INSTDIR 'samples/' INST 'kconfig/' MKDIR '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG/share/doc/crosstool-ng/crosstool-ng-1.22.0-60-g37b07f6/' INST 'docs/*.txt' MKDIR '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG/share/man/man1/' INST 'ct-ng.1.gz'

For auto-completion, do not forget to install 'ct-ng.comp' into your bash completion directory (usually /etc/bash_completion.d) make: Leaving directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' make[1]: Leaving directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' cp -f 1000-mforce-l32.patch crosstool-NG/local-patches/gcc/4.8.5/ make -C crosstool-NG -f ../Makefile _toolchain make[1]: Entering directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' ../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' ./ct-ng xtensa-lx106-elf make[2]: Entering directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' MKDIR config.gen IN config.gen/arch.in IN config.gen/kernel.in IN config.gen/cc.in IN config.gen/binutils.in IN config.gen/libc.in IN config.gen/debug.in CONF config/config.in #

configuration written to .config

#


Initially reported by: Max Filippov jcmvbkbc@gmail.com URL: http://www.esp8266.com/viewtopic.php?f=9&t=224


WARNING! This sample may enable experimental features. Please be sure to review the configuration prior to building and using your toolchain! Now, you have been warned!


Now configured for "xtensa-lx106-elf" make[2]: Leaving directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' sed -r -i.org s%CT_PREFIX_DIR=.*%CT_PREFIX_DIR="/home/detectingdragon77/esp8266/esp-open-sdk/xtensa-lx106-elf"% .config sed -r -i s%CT_INSTALL_DIR_RO=y%"#"CT_INSTALL_DIR_RO=y% .config cat ../crosstool-config-overrides >> .config ./ct-ng build make[2]: Entering directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' [INFO ] Performing some trivial sanity checks [INFO ] Build started 20170707.221511 [INFO ] Building environment variables [INFO ] ================================================================= [INFO ] Retrieving needed toolchain components' tarballs [INFO ] Retrieving needed toolchain components' tarballs: done in 468.71s (at 07:58) [INFO ] ================================================================= [INFO ] Extracting and patching toolchain components [INFO ] Extracting and patching toolchain components: done in 420.41s (at 14:58) [INFO ] ================================================================= [INFO ] Installing ncurses for build [INFO ] Installing ncurses for build: done in 191.29s (at 18:10) [INFO ] ================================================================= [INFO ] Installing GMP for host [ERROR] make[5]: [div_qr_1n_pi1.lo] Error 1 [ERROR] make[4]: [all-recursive] Error 1 [ERROR] make[3]: [all] Error 2 [ERROR]
[ERROR] >> [ERROR] >> Build failed in step 'Installing GMP for host' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257] [ERROR] >> called from: do_gmp_backend[scripts/build/companion_libs/100-gmp.sh@106] [ERROR] >> called from: do_gmp_for_host[scripts/build/companion_libs/100-gmp.sh@62] [ERROR] >> called from: do_companion_libs_for_host[scripts/build/companion_libs.sh@36] [ERROR] >> called from: main[scripts/crosstool-NG.sh@646] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> 'share/doc/crosstool-ng/crosstool-ng-1.22.0-60-g37b07f6/B - Known issues.txt' [ERROR]
[ERROR] (elapsed: 21:04.62) [21:06] / ct-ng:152: recipe for target 'build' failed make[2]:
[build] Error 2 make[2]: Leaving directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' ../Makefile:132: recipe for target '_toolchain' failed make[1]: [_toolchain] Error 2 make[1]: Leaving directory '/home/detectingdragon77/esp8266/esp-open-sdk/crosstool-NG' Makefile:128: recipe for target '/home/detectingdragon77/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc' failed make: [/home/detectingdragon77/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Error 2 detectingdragon77@orangepione:~/esp8266/esp-open-sdk$

cnlohr commented 7 years ago

Did you ever get any further on this? I don't have any armbian devices ATM so it's a bit tricky for me.

zoobab commented 6 years ago

I will try to rework my Dockerfile for esp-usb and push it this week.

swordapi commented 2 years ago

Can you upload a .ino or a .bin to the repo?