Comments (22)
Well, it's not able to find ome/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc
. It seems like something is misconfigured and it should be /home/nikunj/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc
(notice /home/nikunj/
vs ome/
). Check your user.cfg
, I think the important line is ESP_DEFAULT = $(HOME)/esp8266/esp-open-sdk
. Has that been changed? Also, check your HOME
enviroment variable (echo $HOME
from your shell should do it) and make sure that points to your home directory (looks like it should be /home/nikunj
based on the log you posted). Does that help?
from channel3.
oh, i will see. i will try it and replay
from channel3.
and yes i have changed it to direct it to my compiller and i think i miscomfigered it.
from channel3.
i know what will happen if the directry is different, but i did not see that it is pointing to another directry.
from channel3.
ok i tried it and I"m now getting another error :
esp82xx/common.mf:53: Warning: No shell variable 'ESP_ROOT', using '/home/pi/esp8266/esp-open-sdk'
mkdir -p web/page user;
cp -n esp82xx/user.cfg.example user.cfg;
touch user.cfg
mkdir -p web/page user;
cp -n esp82xx/Makefile.example Makefile;
touch Makefile
esp82xx/common.mf:53: Warning: No shell variable 'ESP_ROOT', using '/home/pi/esp8266/esp-open-sdk'
cp /home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/libgcc.a esp82xx/libgcc_stripped.a
/home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar dv esp82xx/libgcc_stripped.a _muldi3.o
/home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: 1: /home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: @8: not found
/home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: 1: /home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar:ELF: not found
/home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: 24: /home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: p+k[: not found
/home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: 25: /home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: x+z[: not found
/home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: 26: /home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: ▒+▒Y: not found
/home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: 27: /home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: ▒+▒[: not found
/home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: 28: /home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: Syntax error: "(" unexpected
make: *** [esp82xx/main.mf:105: esp82xx/libgcc_stripped.a] Error 2
from channel3.
and now i dont have a ubantu systen so I'm using my raspberry pi zero w.
from channel3.
I strongly recommend you follow this guide here to setup your environment: https://www.youtube.com/watch?v=LiKNRBIcGII
from channel3.
You're going to need an environment in which you can run those tools.
from channel3.
ok
from channel3.
and i followed that guide still I'm getting error
from channel3.
Can you run file /home/pi/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar
and uname -a
on the RPi? I suspect the binaries are built for x86_64 but the RPis are arm based. What systems and OS's do you have access to now?
from channel3.
i have access to windows 10 only
from channel3.
and i dont want to run a vm again.. it is making my system very slow
from channel3.
and wsl1 isnt running on my windows pc. do you know how to install wsl1?
from channel3.
i will try to download it.
from channel3.
Uhh... you're gonna have to google for WSL1 instructions (or ask @cnlohr) because I don't know what the difference between it and WSL2 is and I don't have much experience with it, sorry.
from channel3.
ok
from channel3.
The video I posted above is in Windows 10. You can install WSL 1 here: https://docs.microsoft.com/en-us/windows/wsl/install-win10
from channel3.
ok i will see
from channel3.
it got stuck at Installing, this may take a few minutes... : - |
from channel3.
and how to get the c programs?
from channel3.
i will close this for now.
from channel3.
Related Issues (20)
- Make problem
- Broadcasting POCSAG over VHF? HOT 3
- how to port it on esp32? HOT 1
- 2.1.0 SDK Update HOT 2
- Cannot get Web Interface working HOT 5
- Can I have some instructions how to flash it HOT 3
- Transmitting in the blanking interval for broadcasting teletext HOT 8
- What's the optimal antenna length? HOT 1
- build issue HOT 2
- WIFI problem HOT 4
- Help? HOT 2
- Missing file HOT 3
- ESP8266 with only 1MB of flash HOT 15
- File not found HOT 2
- Need Help
- esp32 compatability HOT 1
- Building in 2021 for SDK 8.4.0
- .bin dump instead of installing it through ESP82xx? HOT 1
- ESP8266 Spewing out errors to serial HOT 5
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 channel3.