-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Build failure on armv7 with bladeRF #1179
Comments
The 32-bit |
I'm aware that document shows the setup for aarch64, and that the error is due to
This suggests that building for 32-bit targets is supported. OTOH, I have not seen any claims that running srsRAN_4G on armv7 is not supported -- and I'm not sure whether you're claiming that. If that's the case, it would be helpful for this fact to be documented, and for corresponding checks to be added to the CMakeLists. |
bladerf_frequency is a 64-bit number. Change format strings to use %llu (long long unsigned int) as per the [code guide]. [code guide]: https://docs.srsran.com/projects/project/en/latest/dev_guide/source/code_guide/source/5_recommendations.html#fixed-width-integer-types Fixes srsran#1179.
Issue Description
Building Raspberry Pi OS (armv7) fails.
Setup Details
Using raspios_lite_armhf-2023-05-03 (bullseye)
Expected Behavior
The build succeeds.
Actual Behaviour
The build fails with the following error message:
Steps to reproduce the problem
Clone current main branch on a Raspberry Pi or using qemu-arm with 32-bit Raspberry Pi OS, and run
mkdir build; cd build; cmake ..; make
, after building and installing bladeRF.Additional Information
Build succeeds with
cmake -DCMAKE_C_FLAGS="-Wno-error=format" ..
The text was updated successfully, but these errors were encountered: