Hello, @kayccc
It is something wrong with nvbuild.sh script.
It supposed to be duplicate toolchain path.
Could you check this?
aiserver@aiserver-H110-D3:/media/aiserver/data/manage_jetpack_version/xavier_nx_502/Linux_for_Tegra/source/public$ export CROSS_COMPILE_AARCH64_PATH=/home/aiserver/l4t-gcc/bin/aarch64-buildroot-linux-gnu-
aiserver@aiserver-H110-D3:/media/aiserver/data/manage_jetpack_version/xavier_nx_502/Linux_for_Tegra/source/public$ ./nvbuild.sh -o /media/aiserver/data/manage_jetpack_version/xavier_nx_502/Linux_for_Tegra/source/public/kernel_out/
Error: Path /home/aiserver/l4t-gcc/bin/aarch64-buildroot-linux-gnu-/bin/aarch64-buildroot-linux-gnu-gcc does not exist.
ps. Although the forum announced multilingual support as shown below,
Should I keep asking questions in English?
Hello developers,
In case you have not already noticed, we have added a translation service to the NVIDIA Developer forums.
Adding translations to the forum will help deliver a better user experience to our international members and staff, and allow more folks to jump into the conversations.
To use the tool, click the green “Globe” icon at the post that needs translating.
[image]
The translated text (your locale) will now display below the original post.
[image]
NOTE: If code is posted …
Thank you.
kayccc
August 16, 2022, 6:08am
2
Even the content can be translated in English by system, but to post issue in English directly is to let comments/solution be more searchable by others.
1 Like
Hello, @WayneWWW
I have question.
I was facing an error when building the Jetpack 5.0.2 kernel source.
Are there any packages that need to be additionally installed when preparing hostpc?
The hostpc ubuntu version is 18.04.
I added flex and bison .
Please confirm.
Thank you.
What error? I only see the log says the toolchain is not there.
1 Like
/bin/sh: 1: flex: not found
/bin/sh: 1: bison: not found
Could you share the full log after you run nvbuild.sh…?
1 Like
Hello,
Is kernel build still possible on ubuntu 18.04 host pc?
sudo apt install flex
sudo apt install bison
After installing flex and bison with
I built the kernel.
It builds successfully.
The build was successful and failed to log the failure log.
I asked if the instructions for installing those two packages should be added to the jetson linux developer guide.
CHK include/generated/compile.h
Kernel sources compiled successfully.
Thank you.
Hello, @WayneWWW
Is it correct that flex and bison are required to run nvbuild.sh?
If yes, will it be added to the developer guide?
The sd card was successfully recognized.
Thank you.
Thank you.
If you use kernel config tools like menuconfig or nconfig, then you will also want:
sudo apt-get install libncurses5-dev
1 Like
system
Closed
September 7, 2022, 3:51am
14
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.