Hello, NXP Experts,
I am using Ubuntu version 20.04, and the GreenVIP version is 1.1.0. According to the description of the L4Re build environment in section ‘5.9.2.3 Build Environment‘ of the ‘UG_S32ZE_GreenVIP.pdf‘, However, When I executed the make command for the first time to compile, I received a prompt that the GCC version was too low.
I ignored this error and then executed the `make` command a second time, which resulted in an error message indicating the absence of the `libc_be_minima1_14re` library.
How to solve this issue?
Thanks.
解決済! 解決策の投稿を見る。
hi,WX_H
Sorry for the late.
It would be suggested you to try with these commands instead, on a fresh workspace/directory:
ham init -u https://github.com/kernkonzept/manifest -f nommu.xml -b t2023-10-27-nommu
ham sync
ham info
BR
Joey
hi,WX_H
Sorry for the late.
It would be suggested you to try with these commands instead, on a fresh workspace/directory:
ham init -u https://github.com/kernkonzept/manifest -f nommu.xml -b t2023-10-27-nommu
ham sync
ham info
BR
Joey
HI, Joey_z
Thank you very much for your help. The ELF file can now be successfully compiled.
After using the commands `ham init -u https://github.com/kernkonzept/manifest -f nommu.xml -b t2023-10-27-nommu` and `ham sync` to synchronize the source code, the previous errors are now resolved.
Moreover, GCC needs to use the version gcc-arm-none-eabi-9.2.0-1 as specified in the UG_S32ZE_GreenVIP.pdf document.
Thanks
Hello, NXP Experts,
Do you know how to generate the libc_be_minimal_14re library?
I noticed that the libc_be_minimal_14re library is listed as a dependency in the Makefile located at:
S32ZE_GreenVIP_1.1.1/framework/s32e2/RTU_1_L4RE/L4Re/usr_pkg/tvmm-ctrl/server/src/
However, I couldn’t find how this library (libc_be_minimal_14re) is generated in the L4Re repository.
Could you let me know if you have any information about this?
Thanks.
hi,WX_H
Sorry for the reply late.
There is should that the ham sync does not fetch all the source file correctly. Due to company policy, source files cannot be shared. Please check the ham download content.
In addition, you can try to enter ham checkout t2023-10-27-nommu after ham sync gvp_rtu_ 1. If you still can't download it completely and compile it, you can try this method.
BR
Joey
Hi, Joey_z
Thanks for your reply!
I've tried the method you mentioned, but I'm still getting the same error message as before.
The synchronization was successful, but the libc_be_minimal_l4re library is still missing.
I'm currently using an Ubuntu 20.04 environment with GCC 9.2.0, but compilation fails with versions 10.2 and 11.2 as well.
Could you share the environment where you successfully compiled it? I'd like to try compiling in the same environment. If possible, could you also provide the compilation steps?
Thanks.
hi,WX_H
Thank you for your reply.
Do you use the commend as shown the following picture as the ham sync?
The meaning of entering "ham checkout t2023-10-27-nommu" after "ham sync" is to switch to the tag "t2023-10-27-nommu"
BR
Joey
Hi, Joey_z
Thank you for your reply.
Yes, after using ham checkout t2023-10-27-nommu, I still get missing library errors when running make. Additionally, I noticed that executing this command does not actually create the nommu branch.
After executing the command ham checkout -m -b nommu t2023-10-27-nommu manifest, I was able to switch to the nommu branch.
However, the compilation still fails.
Thanks.
hi,WX_H
Thank you for your reply.
This is a problem with the software package download. I have reported this issue to the software department and am seeking other ways to help you. I will reply to you as soon as there is a result.
BR
Joey
hi,
I downloaded version 12 of the compiler from the link below and no longer reported version errors. I will provide you with an internal consultation regarding the issue of inconsistent compiler versions mentioned in the manual and ReleaseNotes.
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
Also, have you set up the build environment in the following way?
BR
Joey
Hi, Joey_z
Thank you for your reply.
Yes, I configured everything according to the documentation, but I'm still getting errors when running make.
After switching to GCC 11.2, the "GCC version too low" error no longer appears, but I encountered a new error:
After commenting out the memccpy function in the file RTU_1_L4RE/L4Re/src/fiasco/src/lib/libc/include/cstring, the error is no longer reported.
However, it still reports the missing libc_be_minimal_14re library error.
How to solve this issue?
Thanks.
hi,WX_H
Thank you for reply.
I have been reproduced your problem, I will reply to you as soon as I get the result.
BR
Joey
hi,WX_H
Thank you for contacting us.
It is recommended to try again using the recommended version of gcc.
Hope it can help you.
BR
Joey
Hi, Joey_z
Thank you for your reply.
I followed your suggestion and used GCC 10.2, but I'm still getting the same error.When I executed the make command for the first time to compile, I received a prompt that the GCC version was too low.
I ignored this error and then executed the `make` command a second time, which resulted in an error message indicating the absence of the `libc_be_minima1_14re` library.
How to solve this issue? I have another question. In section 5.9.2.3 of the UG_S32ZE_GreenVIP.pdf document, under "Software Installation / Packages Prerequisites," it mentions installing gcc-arm-none-elf-eabi-9.2.0-1.tar.xz. Does this mean that GCC 9.2 should be used to compile L4Re?
Thanks.