[srslte-users] srsLTE complie error on Nvidia Jetson TX2

Jane Zhang janezhang76201 at gmail.com
Sat Jul 4 01:24:46 UTC 2020


Dear srsLTE team
I am compiling srsLTE on TX2 . I want to build a LTE network on it
(eNB+EPC). RF end is LimeSDR USB.
I have install LimeSuite for LimeSDR USB. And SoapySDR is also
installed. When i use SoapySDR , LimeSDR board can be found.
Next I build srsLTE (19.12). When making it, there are errors as follows..
OS info:
nvidia at nvidia-desktop:~$ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

Could someone give any help with this?

On my laptop I have build srsLTE(version:19.12) with
SoapySDR(version:0.7.1) and LimeSuite (version:20.01.0) successfully.
I have no idea why it failed on TX2.



[ 86%] Building C object lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_zmq_imp.c.o
In file included from
/home/nvidia/srsLTE-release_19_12/lib/src/phy/rf/rf_soapy_imp.c:35:0:
/usr/include/SoapySDR/Types.h:25:3: error: conflicting types for ‘SoapySDRRange’
 } SoapySDRRange;
   ^~~~~~~~~~~~~
In file included from /usr/local/include/SoapySDR/Device.h:18:0,
                 from
/home/nvidia/srsLTE-release_19_12/lib/src/phy/rf/rf_soapy_imp.c:31:
/usr/local/include/SoapySDR/Types.h:25:3: note: previous declaration
of ‘SoapySDRRange’ was here
 } SoapySDRRange;
   ^~~~~~~~~~~~~
In file included from
/home/nvidia/srsLTE-release_19_12/lib/src/phy/rf/rf_soapy_imp.c:35:0:
/usr/include/SoapySDR/Types.h:33:3: error: conflicting types for
‘SoapySDRKwargs’
 } SoapySDRKwargs;
   ^~~~~~~~~~~~~~
In file included from /usr/local/include/SoapySDR/Device.h:18:0,
                 from
/home/nvidia/srsLTE-release_19_12/lib/src/phy/rf/rf_soapy_imp.c:31:
/usr/local/include/SoapySDR/Types.h:33:3: note: previous declaration
of ‘SoapySDRKwargs’ was here
 } SoapySDRKwargs;
   ^~~~~~~~~~~~~~
In file included from
/home/nvidia/srsLTE-release_19_12/lib/src/phy/rf/rf_soapy_imp.c:35:0:
/usr/include/SoapySDR/Types.h:39:30: error: conflicting types for
‘SoapySDRKwargs_fromString’
 SOAPY_SDR_API SoapySDRKwargs SoapySDRKwargs_fromString(const char *markup);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/SoapySDR/Device.h:18:0,
                 from
/home/nvidia/srsLTE-release_19_12/lib/src/phy/rf/rf_soapy_imp.c:31:
/usr/local/include/SoapySDR/Types.h:39:30: note: previous declaration
of ‘SoapySDRKwargs_fromString’ was here
 SOAPY_SDR_API SoapySDRKwargs SoapySDRKwargs_fromString(const char *markup);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~



More information about the srsran-users mailing list