-
Notifications
You must be signed in to change notification settings - Fork 21
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
RPI4 compile error #50
Comments
FYI, I was able to get it to compile on the RPI4 by changing the "%ld" to "%d" on line 156 of tools/tblCRCTool/cfe_ts_crc.c. The cFS now compiles and runs successfully. |
This is an issue in the tblCRCTool, it needs a cast here. Recommend to transfer this issue to that repo so a patch can be done. |
We should be using %z for size_t (standard) but I know that the gcc 4.9 for sparc/vxworks doesn't support it. |
Yeah, this is |
Cast ssize_t to long and uint32 to unsigned long for printf. This matches the %d and %lX conversions, respectively.
According to printf man page (3) %z is size_t or ssize_t. Maybe not standard. |
Fix #50, add printf conversion casts
Hi, I'm trying to compile the cFS on a Raspberry PI 4. I've followed the instructions here, to modify the system processor from i686 to arm for cmake. (The other edits seemed deprecated).
When compiling, I get the following error:
Are there other edit(s) I need to make to a cmake file to get cFS to compile on the RPI4? Thanks!
The text was updated successfully, but these errors were encountered: