Code: Select all
#
# 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 `/mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG'
sed -r -i.org s%CT_PREFIX_DIR=.*%CT_PREFIX_DIR="/mnt/c/Users/Pete/Documents/esp8266/build/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 `/mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG'
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20160818.214952
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[INFO ] Retrieving needed toolchain components' tarballs: done in 166.37s (at 03:02)
[INFO ] =================================================================
[INFO ] Extracting and patching toolchain components
[INFO ] Extracting and patching toolchain components: done in 450.18s (at 10:33)
[INFO ] =================================================================
[INFO ] Installing ncurses for build
[INFO ] Installing ncurses for build: done in 59.94s (at 11:33)
[INFO ] =================================================================
[INFO ] Installing GMP for host
[INFO ] Installing GMP for host: done in 152.03s (at 14:05)
[INFO ] =================================================================
[INFO ] Installing MPFR for host
[ERROR] make[3]: *** [/mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG/.build/src/mpfr-3.1.3/aclocal.m4] Error 127
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing MPFR for host'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR] >> called from: do_mpfr_backend[scripts/build/companion_libs/110-mpfr.sh@149]
[ERROR] >> called from: do_mpfr_for_host[scripts/build/companion_libs/110-mpfr.sh@104]
[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-55-gecfc19a/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 14:31.90)
[14:34] / make[2]: *** [build] Error 2
make[2]: Leaving directory `/mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG'
make[1]: *** [_toolchain] Error 2
make[1]: Leaving directory `/mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG'
make: *** [/mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Error 2
Code: Select all
[EXTRA] Building MPFR
[DEBUG] ==> Executing: '/usr/bin/make' '-j5' '-l'
[ALL ] make[3]: Entering directory `/mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/build/build-mpfr-host-x86_64-build_pc-linux-gnu'
[ALL ] CDPATH="${ZSH_VERSION+.}:" && cd /mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG/.build/src/mpfr-3.1.3 && /bin/bash /mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG/.build/src/mpfr-3.1.3/missing aclocal-1.15 -I m4
[ALL ] /mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG/.build/src/mpfr-3.1.3/missing: line 81: aclocal-1.15: command not found
[ALL ] WARNING: 'aclocal-1.15' is missing on your system.
[ALL ] You should only need it if you modified 'acinclude.m4' or
[ALL ] 'configure.ac' or m4 files included by 'configure.ac'.
[ALL ] The 'aclocal' program is part of the GNU Automake package:
[ALL ] <http://www.gnu.org/software/automake>
[ALL ] It also requires GNU Autoconf, GNU m4 and Perl in order to run:
[ALL ] <http://www.gnu.org/software/autoconf>
[ALL ] <http://www.gnu.org/software/m4/>
[ALL ] <http://www.perl.org/>
[ERROR] make[3]: *** [/mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG/.build/src/mpfr-3.1.3/aclocal.m4] Error 127
[ALL ] make[3]: Leaving directory `/mnt/c/Users/Pete/Documents/esp8266/build/esp-open-sdk/crosstool-NG/.build/xtensa-lx106-elf/build/build-mpfr-host-x86_64-build_pc-linux-gnu'
[ERROR]
Any clues?