[srslte-users] srsLTE RasPi 3 and Buster?
Ralph A. Schmid, dk5ras
ralph at schmid.xxx
Wed Dec 4 13:55:18 UTC 2019
Hi,
when trying to compile srsLTE on a RasPi 3 with Buster, the normal ways to
make it work on the RasPi 4 do not work. I tried it all, commenting out the
-Werror issue in cmake file, commenting out and removing the arch select
stuff in the other cmake file, removing some abi/NEO options, this all in
different combinations, but now I am really lost. Biggest progress is made
changing the -Werror handling and removing arch select stuff and leaving
abi/NEON options intact.
Of course I deleted the build folder after each attempt and started over
again. All a bit annoying with the damned slow RasPi 3 thingy :)
The aim is compiling srsLTE on a LimeNET Micro with RasPi 3+ computing
module.
This is the output I get. There is tons of it looking like this, I cut it
down to the first few blocks, leave out the middle part, and add the end:
[ 44%] Built target srslte_rf_utils
[ 44%] Building C object
lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_soapy_imp.c.o
In file included from /home/pi/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:35:
/usr/include/SoapySDR/Types.h:25:3: error: conflicting types for
'SoapySDRRange'
} SoapySDRRange;
^~~~~~~~~~~~~
In file included from /usr/local/include/SoapySDR/Device.h:18,
from /home/pi/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:
/usr/local/include/SoapySDR/Types.h:31:3: note: previous declaration of
'SoapySDRRange' was here
} SoapySDRRange;
^~~~~~~~~~~~~
In file included from /home/pi/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:35:
/usr/include/SoapySDR/Types.h:33:3: error: conflicting types for
'SoapySDRKwarg '
} SoapySDRKwargs;
^~~~~~~~~~~~~~
In file included from /usr/local/include/SoapySDR/Device.h:18,
from /home/pi/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:
/usr/local/include/SoapySDR/Types.h:39:3: note: previous declaration of
'SoapySDRKwargs' was here
.
.
.
.
. cut out
.
.
.
.
.
/home/pi/srsLTE/lib/src/phy/rf/rf_soapy_imp.c: In function
'rf_soapy_set_tx_srate':
/home/pi/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:614:31: warning:
initialization of 'SoapySDRRange *' {aka 'struct <anonymous> *'} from
incompatible pointer type SoapySDRRange *' {aka 'struct <anonymous> *'}
[-Wincompatible-pointer-types]
SoapySDRRange* bw_range =
SoapySDRDevice_getBandwidthRange(handler->device, SOAPY_SDR_TX, i,
&bw_length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [lib/src/phy/rf/CMakeFiles/srslte_rf.dir/build.make:76:
lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_soapy_imp.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2947:
lib/src/phy/rf/CMakeFiles/srslte_rf.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
--
Ralph A. Schmid
More information about the srsran-users
mailing list