Open Kraust opened 7 years ago
Make sure you have enough space on device you're building on. Building toolchain requires A LOT of space (instructions recommend you have at least 10Gig of disk space). I was getting mysterious errors when I have created a smaller disk (I'm building on Mac OS and had to create a case-sensitive volume per instructions in README).
Same error. In my case I have ~250Gb free space
Download autmake 1.14 from here and put the install folder in you path and continue the build might help.
@grodansparadis Automake version is not a problem, I was able to successfully build SDK in Ubuntu 16.04 with Automake 1.15.
Just in case you guys won't be able to build it on your system, here is Dockerfile to build an image with it:
FROM ubuntu:16.04 as builder
RUN groupadd -g 1000 docker && useradd docker -u 1000 -g 1000 -s /bin/bash --no-create-home
RUN mkdir /build && chown docker:docker /build
RUN apt-get update && apt-get install -y \
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 libtool-bin
RUN su docker -c " \
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git /build/esp-open-sdk ; \
cd /build/esp-open-sdk ; \
make STANDALONE=n ; \
"
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y make python python-serial
COPY --from=builder /build/esp-open-sdk/xtensa-lx106-elf /opt/xtensa-lx106-elf
ENV PATH /opt/xtensa-lx106-elf/bin:$PATH
Put this into Dockerfile in an empty directory and run docker build -t esp-sdk:latest .
. It will create image labeled "esp-sdk:latest" with xtensa toolchain.
This is on Linux for Windows 10, I will try on a VM and see if I can get a better response.
The build.log for crosstool-NG is also included.
For reference, I have automake-1.15 installed:
build.txt