Git Product home page Git Product logo

Comments (22)

aaronjamt avatar aaronjamt commented on June 6, 2024

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.

 avatar commented on June 6, 2024

oh, i will see. i will try it and replay

from channel3.

 avatar commented on June 6, 2024

and yes i have changed it to direct it to my compiller and i think i miscomfigered it.

from channel3.

 avatar commented on June 6, 2024

i know what will happen if the directry is different, but i did not see that it is pointing to another directry.

from channel3.

 avatar commented on June 6, 2024

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.

 avatar commented on June 6, 2024

and now i dont have a ubantu systen so I'm using my raspberry pi zero w.

from channel3.

cnlohr avatar cnlohr commented on June 6, 2024

I strongly recommend you follow this guide here to setup your environment: https://www.youtube.com/watch?v=LiKNRBIcGII

from channel3.

cnlohr avatar cnlohr commented on June 6, 2024

You're going to need an environment in which you can run those tools.

from channel3.

 avatar commented on June 6, 2024

ok

from channel3.

 avatar commented on June 6, 2024

and i followed that guide still I'm getting error

from channel3.

aaronjamt avatar aaronjamt commented on June 6, 2024

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.

 avatar commented on June 6, 2024

i have access to windows 10 only

from channel3.

 avatar commented on June 6, 2024

and i dont want to run a vm again.. it is making my system very slow

from channel3.

 avatar commented on June 6, 2024

and wsl1 isnt running on my windows pc. do you know how to install wsl1?

from channel3.

 avatar commented on June 6, 2024

i will try to download it.

from channel3.

aaronjamt avatar aaronjamt commented on June 6, 2024

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.

 avatar commented on June 6, 2024

ok

from channel3.

cnlohr avatar cnlohr commented on June 6, 2024

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.

 avatar commented on June 6, 2024

ok i will see

from channel3.

 avatar commented on June 6, 2024

it got stuck at Installing, this may take a few minutes... : - |

from channel3.

 avatar commented on June 6, 2024

and how to get the c programs?

from channel3.

 avatar commented on June 6, 2024

i will close this for now.

from channel3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.