Open BarryWang2017 opened 5 years ago
@BarryWang2017 my first guess will be non US locale.
Could you please show me an output of command readelf -h vmlinux
?
Note I mean vmlinux
located in your build folder: /home/barrywang/ARC-dev/buildroot/out_git/build/linux-4.16.8
.
@abrodkin Your guess is correct. I changed the host's system language to English and reboot. Then I rebuilt the project, the problem was solved. Thank you, BarryWang
@BarryWang2017 may I close this issue then?
Yes, of course, thank you so much!
@BarryWang2017 I'm not sure if this will help with this specific problem, but I think you might also try doing export LC_ALL=C
before running make
- thus no need to change language for the whole host and reboot. This used to help me with various issues caused by locales.
@anthony-kolesov This method does not work.
Just like the following screenshot, the system language is Chinese, and I run the command export LC_ALL=C
before make
. That error appears again.
After modifying the system language, you do not need to restart the host, just re-login the account.
Hello, An error occurred when I built the Linux kernel and file system for the HSDK using Buildroot. The screenshot of the error is as follows:
What should I do to rule out this error?
Thank you, BarryWang
PS: Build steps:
Modify the toolchain and save. Building everything
The build process lasted for a few minutes and there was such an error: