Open alonewolfx2 opened 9 years ago
I build on ubuntu 14.04 X64 OK. Please check your gcc version may get some usefull information. Ensure run:
sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \
flex bison texinfo gawk ncurses-dev libexpat-dev python sed
to install needed library.
ubuntu 14.04 x64 is also my main setup where I built project from the beginning. But maybe I need to rebuild it from scratch some time - maybe there were recent upstream changes (can't do that right away as I'm travelling).
I already installed needed library.i tried 3 times but i cant build.
I use Ubuntu 14.04.1 x64 as well. I set up a clean install in a Fusion VM. I simply clone the git rep and it worked almost out of the box. The only thing I have made is to install the above mentioned packages before clone and make. In addition I exported the path in the .bashrc file. "export PATH=/home/ubuntu/esp-open-sdk/xtensa-lx106-elf/bin:$PATH"
after cloning nodemcu and make it compiles w/o any problems.
I just rebuilt the project from scratch on my Ubuntu 14.04 x64 without any issues.
One hunch I may have about your issue is that you have some older xtensa toolchain in your PATH and it intervenes. Just in case, don't do that, enable each toolchain only for the session (i.e. console) it is needed for. And otherwise, way to investigate the issue would be brining up clean 14.04 install (e.g. in VM) and try there.
i tried new ubuntu install on virtualbox and try again but same issue. i have no idea.
I build it in Linux Mint 17 x64 (whitch is Ubuntu 14.04 x64), and all good. (Fresh install in vmware player)
can you upload builded folder somewhere
Sure, It's mean to me right ? :D
yes. @ystrem if you can i will be happy.i didnt compile it.
@alonewolfx2 Ok I'm uploading to mega, but it has 1.1GB so you have to wait 20min's. I have only 10Mb UL :D
10mb ul :) i am waiting. my dl is 16mb :))
@alonewolfx2 Ok, here it's https://mega.co.nz/#!uYc02ZRZ!XOurcBEDPIvKudehjCjlAzzHT4rMuff6WUOJ3JJTkQs :)
@alonewolfx2
Maybe the Ubuntu need update, can try run:
sudo apt-get update
sudo apt-get upgrade
to upgrade to latest library.
I tried on fresh and updated Ubuntu x64 but result is same. I am using Turkish language on Ubuntu. Is it matter for sdk? I can't figure that out this problem
@alonewolfx2: Theoretically, that can be an issue, so I suggest setting English for that session and trying again. That should be as simple as running "export LANG=en_US.UTF-8" before any other step, but do you own googling.
Clean install with successful make, no issues on xubuntu 14.04 x64, english.
Compiled successfully on Ubuntu 14.04.2 LTS, x86_64.
I get an "esp-open-sdk/crosstool-NG/.build/src/binutils-2.24/gas/as.c:224:14: error: 'TARGET_ALIAS' undeclared (first use in this function)" now withe the latest commit on Ubuntu 14.04.3 LTS. Tried it on two different systems, one of them fresh.
Build failed in step 'Installing binutils for host' Error happened in: CT_DoExecLog[scripts/functions@257] build.log
Seems to work when I do:
LD_LIBRARY_PATH= make STANDALONE=y \
|| env -i bash --norc --noprofile -c "source /etc/profile; source /etc/bash.bashrc; make STANDALONE=y"
Hi All, I am trying this setup on a clean Ubuntu 16.04 TLS and this package does not build. I found that the binutils-2.24, gcc-4.8.2 and gdb-7.5.1 files do not exist on the expected website paths and are therefor not downloaded correctly resulting in error messages! I have manually downloaded and extracted them and now it fails with installing ISL. I am now out of ideas as I have spent a full day trying to get it to work.
I have followed the steps, one by one! If anybody has any ideas please help!!
@Quentinb : that's not related to this issue. If you're still having this problem, then submit it as its own issue.
poly@poly:~/esp-open-sdk$ make
Makefile:184: warning: overriding commands for target ESP8266_NONOS_SDK-2.1.0-18-g61248df/.dir' Makefile:179: warning: ignoring old commands for target
ESP8266_NONOS_SDK-2.1.0-18-g61248df/.dir'
make -C crosstool-NG -f ../Makefile _ct-ng
make[1]: Entering directory /home/poly/esp-open-sdk/crosstool-NG' ../Makefile:184: warning: overriding commands for target
ESP8266_NONOS_SDK-2.1.0-18-g61248df/.dir'
../Makefile:179: warning: ignoring old commands for target ESP8266_NONOS_SDK-2.1.0-18-g61248df/.dir' ./bootstrap Running autoconf... Done. You may now run: ./configure ./configure --prefix=
pwd checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu 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... no checking for cc... no checking for cl.exe... no configure: error: in
/home/poly/esp-open-sdk/crosstool-NG':
configure: error: no acceptable C compiler found in $PATH
See config.log' for more details make[1]: *** [_ct-ng] Error 1 make[1]: Leaving directory
/home/poly/esp-open-sdk/crosstool-NG'
make: *** [crosstool-NG/ct-ng] Error 2
i have this error message.