jerryscript-project / jerryscript

Ultra-lightweight JavaScript engine for the Internet of Things.
https://jerryscript.net
Apache License 2.0
6.89k stars 669 forks source link

Some errors at compile time #5036

Closed emith487 closed 1 year ago

emith487 commented 1 year ago

1、Using ubantu20.04 server environment to run code, encountered some errors when compiling, may I ask what method can solve?

emith487 commented 1 year ago

make[2] : *** No rule to make target

make[2] : *** Waiting for unfinished jobs...

make[1] : *** [CMakeFiles/Makefile2:2411: CMakeFiles/ierryscript.elf.dir/alll Error 2

make: *** [Makefile:130: all] Error 2

make failed with exit code 2

ossy-szeged commented 1 year ago

Have you installed dependencies? tools/apt-get-install-deps.sh And then python tools/build.py should work without error.

akosthekiss commented 1 year ago

Please, file a proper bug report with all the details requested in the template filled in:

(I've edited the bug template for brevity. Please, find the complete bug report template at: https://github.com/jerryscript-project/jerryscript/blob/master/.github/ISSUE_TEMPLATE/bug_report.md . It is usually already pre-filled in the text editor box when you start reporting a bug. Just don't delete it next time.)

emith487 commented 1 year ago

Have relied on,buddy

emith487 commented 1 year ago

The following commands are used.

-- sh jerryscript/tools/apt-get-install-deps.sh -- python -m pip install --user -r esp-idf/requirements.txt -- tar -xvf xtensa-esp32-elf-gcc8_4_0-esp-2021r2-patch5-linux-amd64.tar.gz -- python esp-idf/tools/idf.py --project-dir jerryscript/targets/baremetal-sdk/espressif --build-dir jerryscript/build/esp-idf set-target esp32 all

ossy-szeged commented 1 year ago

ESP IDF build is broken for a while, similar issue - #5034

emith487 commented 1 year ago

Have you installed dependencies? tools/apt-get-install-deps.sh And then python tools/build.py should work without error.

Buddy,I forgot to tell you,Last time you asked,path5 should be used.

emith487 commented 1 year ago

ESP IDF build is broken for a while, similar issue - #5034

I know your problem.

emith487 commented 1 year ago

ESP IDF build is broken for a while, similar issue - #5034

I checked with the original factory,I have asked the original factory about this link, which is caused by the version mismatch of tool chain under idf version,He suggested I replace the tool chain.https://github.com/espressif/crosstool-NG/tags

akosthekiss commented 1 year ago

Buddy, I know your problem. I just forgot to tell you: last time you asked, we were not buddies.