-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
west build error after while "getting started" on ESP32 #25183
Comments
@lenhart it would really help if you wrote what sample you were trying to build for which board, and the exact command-line command you issued. |
@carlescufi oh, you are absolutely right, I am sorry for that. I am building for the esp32 w/ Now I re-read the board page and saw that I missed the board specific setup path (I was just looking for the board name before). Alright, did that now but am greeted with a new error. It finds the zephyr and esp toolchains but still complains that Is there a better place to ask questions than here? This is probably not a bug but a problem at my side (although the Thanks and best regards!
|
Not quite sure what is going on, but I see that the xtensa toolchain you are trying to use is not listed here Have you tried using the Zephyr SDK instead?
Sure, join our Slack |
Are you using the Espressif ESP32 toolchain? If so, is the environment |
Thank you both! @carlescufi : with using the zephyr you mean w/o the esp32 specific environment variables or by replacing @dcpleung yes, I set it according to the documentation. Although it is a bit confusing because the instruction is I noticed an other issue here: |
The installation path has changed quite a bit since the documentation is first written, so that needs to be updated. IIRC, |
This was broken by:
@tejlmand ^^ |
I confirm the problem and the introduction of it in 299a154. I do set
|
@tejlmand could you please propose a fix? |
Looking at it. |
Still investigating, but just tried to take the commit BEFORE 299a154 which is 6789ecb . And I still get:
@pabigot can you confirm that this is actually still happening on earlier commits ? |
@pabigot @nashif To me, it appears that this happened with Zephyr SDK 0.11.1 in this commit:
|
@galak ^^^ |
Zephyr SDK does not contain If setting up the
Closing, as this is working. @lenhart please open a doc issue if you agree. |
Thanks, I've looked into it further, and I think this is still a bug. #25441 produces the failure in this PR when set up in this environment:
The reason seems to be that We used to be able to change |
Fixes: zephyrproject-rtos#25183 This commit fixes the issue where combining a 3rd party toolchain with Zephyr SDK Tools would result in the Zephyr SDK overruling the toolchain in use. This is fixed by keeping track of current toolchain variant. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Fixes: #25183 This commit fixes the issue where combining a 3rd party toolchain with Zephyr SDK Tools would result in the Zephyr SDK overruling the toolchain in use. This is fixed by keeping track of current toolchain variant. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Fixes: zephyrproject-rtos#25183 This commit fixes the issue where combining a 3rd party toolchain with Zephyr SDK Tools would result in the Zephyr SDK overruling the toolchain in use. This is fixed by keeping track of current toolchain variant. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Describe the bug
When following the getting started guide I encounter the error:
which looks similar to #8977 and #23418.
However the toolchain seems to be right and the build tools changed or differ from the above mentioned issues (see below for my west output). I tried the suggested comments there, but most did not yield more information because the tool paths/setup has changed as it seems.
I hope I did not miss anything obvious here, am greatful for help, and will happily provide more information.
To Reproduce
follow the getting started guide
Expected behavior
successful build
Impact
does not work
Screenshots or console output
Environment (please complete the following information):
Additional context
Before that I also had the error message
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
which I fixed w/ the additon of
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0
to .zephyrrc as suggested in this stackoverflow question(is this something common or did I do something wrong? Maybe it could be added to the getting started if it is the first case)
Thanks for the great work :-)
The text was updated successfully, but these errors were encountered: