Comments (7)
Just stumbled upon this issue when updating my docker builder.
Actually, the source repository of crosstool-ng has changed and the new one is maintaine: While building the dockerized toolchain (maybe the case-sensitive rename is not necessary, nevertheless it works), i've just replaced the original source with new repo as a patch:
cd /home/nodemcu/esp-open-sdk/ && \
rm -rf ./crosstool-NG && \
git clone https://github.com/crosstool-ng/crosstool-ng && \
mv ./crosstool-ng ./crosstool-NG
from esp-open-sdk.
Try...
(yeti@kumari:6)/opt/esp-open-sdk$ cd crosstool-NG/
(yeti@kumari:6)/opt/esp-open-sdk/crosstool-NG$ git diff
diff --git a/configure.ac b/configure.ac
index 5d512fe8..872a73de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,7 +190,7 @@ AC_CACHE_VAL([ac_cv_path__BASH],
AC_CACHE_CHECK([for bash >= 3.1], [ac_cv_path__BASH],
[AC_PATH_PROGS_FEATURE_CHECK([_BASH], [bash],
[[_BASH_ver=$($ac_path__BASH --version 2>&1 \
- |$EGREP '^GNU bash, version (3\.[1-9]|4)')
+ |$EGREP '^GNU bash, version (3\.[1-9]|4|5)')
test -n "$_BASH_ver" && ac_cv_path__BASH=$ac_path__BASH ac_path__BASH_found=:]],
[AC_MSG_RESULT([no])
AC_MSG_ERROR([could not find bash >= 3.1])])])
...™works for me™ on Debian10.
...ok...
AC_MSG_ERROR([could not find bash >= 3.1])])])
...needs an update too... somewhen... mayhaps... ॐmmmmmm... ;-)
_o/"
from esp-open-sdk.
Thanks for the report. It's a matter of fact that I don't maintain esp-open-sdk anymore, and it stays in a static, known-working (with the tools of its generation) shape. So, I unlikely will update this repo to a newer crosstools-NG version, as then someone would need to re-triage "known working" status, and that's not easy.
(I do however still rename tickets so their titles corresponded to an issue reported and other users had a chance to discover them ;-) ).
I don't know about 'known working' when as I just discovered apparently there are some dependencies it tries to download off the web that literally don't exist anymore at that URL, which means build will probably fail for ALL users. (#365)
from esp-open-sdk.
Just stumbled upon this issue when updating my docker builder.
Actually, the source repository of crosstool-ng has changed and the new one is maintaine: While building the dockerized toolchain (maybe the case-sensitive rename is not necessary, nevertheless it works), i've just replaced the original source with new repo as a patch:
cd /home/nodemcu/esp-open-sdk/ && \ rm -rf ./crosstool-NG && \ git clone https://github.com/crosstool-ng/crosstool-ng && \ mv ./crosstool-ng ./crosstool-NG
thanks for your msg here.
it helped me (as a noob) out.
thx again
Stay well
from esp-open-sdk.
Thanks for the report. It's a matter of fact that I don't maintain esp-open-sdk anymore, and it stays in a static, known-working (with the tools of its generation) shape. So, I unlikely will update this repo to a newer crosstools-NG version, as then someone would need to re-triage "known working" status, and that's not easy.
(I do however still rename tickets so their titles corresponded to an issue reported and other users had a chance to discover them ;-) ).
from esp-open-sdk.
A possibly-simpler fix for the bash-version-detection issue is this:
ChrisMacGregor@3fc1930#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
I subsequently ran into a couple of other issues that needed patches. The end result (which gets me a clean build on Ubuntu 21.10 of an apparently working toolchain) can be found here:
#391
https://github.com/ChrisMacGregor/esp-open-sdk/tree/builds-on-Ubuntu-21.10
Tarball of built toolchain: https://github.com/ChrisMacGregor/esp-open-sdk/releases/tag/builds-on-Ubuntu-21.10
from esp-open-sdk.
Yes, I did that. I just thought it would be helpful if that change was made in the repository.
from esp-open-sdk.
Related Issues (20)
- hi! when executing a command: Make ---> Makefile:74: recipe execution error for the target «image.elf.bin» (Ubuntu 16.04 x32, Python 2.7.12, Nodemcu esp8266) HOT 2
- when executing a command: Make (Ubuntu 16.04 x32, Python 2.7.12, Nodemcu esp8266)
- Request to add Support for SDK 3.0.2 HOT 2
- gcc: error: unrecognized command line option '-mlongcalls' HOT 2
- Q: Is Canadian Cross supported? HOT 2
- Cannot compile on openSUSE, could not find curses header HOT 2
- Flash doesn't work for esp-12
- failed to build it in MacOS HOT 11
- Toolchain generation for 1.5.4 NONOS SDK HOT 2
- Does not work with Xcode 12 HOT 1
- make build error (local-patches/gcc/4.8.5/) HOT 1
- Make error: Expat-2.1.0 renamed on sourceforge HOT 4
- crosstool-ng build fail on Debian 10 HOT 8
- i can't install isl 0.14 HOT 9
- . HOT 10
- Compilation error due to non case-sensitivity on Msys2/MinGW32
- PLEASE UPDATE INSTRUCTIONS FOR PYTHON3 HOT 5
- Linker can't find these libraries after a successful compilation HOT 1
- Updates steps required to build in Raspberry Pi (Debian 12)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-open-sdk.