Open kotarou3 opened 8 months ago
I can work around this issue if I disable both UHD and -Werror with:
cmake .. -DENABLE_UHD=no -DENABLE_WERROR=no
Had the same problem, to fix it in the cmake step:
cmake .. -DCMAKE_CXX_FLAGS="-Wno-array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread"
Issue Description
On a fresh Debian 13 installation, srsRAN fails to build from source, failing with one of two kinds of errors:
(if UHD deps are installed)
(if UHD deps aren't installed or disabled with
-DENABLE_UHD=no
)srsRAN builds fine on Debian 12, so it might be due to new compiler and boost versions with Debian 13:
Setup Details
dpkg -l
Expected Behavior
srsRAN builds successfully
Actual Behaviour
srsRAN fails to build
Steps to reproduce the problem
sudo apt update && sudo apt upgrade
sudo apt install git
sudo apt install build-essential cmake libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev
sudo apt install libsoapysdr-dev libbladerf-dev libuhd-dev libzmq3-dev uhd-host --no-install-recommends
git clone https://github.com/srsran/srsRAN_4G.git && mkdir srsRAN_4G/build && cd srsRAN_4G/build && cmake ..
cmake .. -DENABLE_UHD=no && make -j