[srslte-users] Need help build error when make on srsLTE with LimeSDR
Ignas Jarusevicius
i.jarusevicius at limemicro.com
Tue Nov 6 12:56:43 UTC 2018
Hi Sandri,
I have noticed that you are using old libLimeSuite version as recent
versions show 'module=FX3' for LimeSDR-USB. So try updating LimeSuite.
Also, I was I able to get srsenb working with LimeSDR boards few months
ago. I have attached one of my enb.conf that used to work (not sure if
it still works with current srsLTE version).
-Ignas
On 2018-11-05 16:02, Sandi Suhendro wrote:
> Hi Andre,
> ok finally working to Lime direct via Soapy, just edit the makelist
> text and remove the UHD.
>
> here I got more error, what should I do?
>
> <<<<<<<<<<
> --- Software Radio Systems LTE eNodeB ---
>
> Reading configuration file /home/duo/.srs/enb.conf...
> Soapy has found device #0: addr=1d50:6108, driver=lime,
> label=LimeSDR-USB [USB 3.0] 9061C02C73125, media=USB 3.0,
> module=STREAM, name=LimeSDR-USB, serial=0009061C02C73125,
> [INFO] Make connection: 'LimeSDR-USB [USB 3.0] 9061C02C73125'
> [INFO] Device name: LimeSDR-USB
> [INFO] Reference: 30.72 MHz
> [INFO] Init LMS7002M(0)
> [INFO] Ver=7, Rev=1, Mask=1
> [INFO] LMS7002M calibration values caching Enable
> Set Rx bandwidth to 2.50 MHz
> [ERROR] setBandwidth(Tx, 0, 1.44 MHz) Failed - Tx lpf(1.44 MHz) out of
> range 5-40 MHz and 50-130 MHz
> setBandwidth fail: Tx lpf(1.44 MHz) out of range 5-40 MHz and 50-130 MHz
> Setting up RX stream
> Setting up TX stream
> Available device sensors:
> - clock_locked
> - lms7_temp
> Available sensors for RX channel 0:
> - lo_locked
> State of gain elements for Rx channel 0 (AGC not supported):
> - LNA: 30.00 dB
> - TIA: 0.00 dB
> - PGA: 5.00 dB
> State of gain elements for Tx channel 0 (AGC not supported):
> - LNA: nan dB
> - TIA: nan dB
> - PGA: nan dB
> Rx antenna set to LNAL
> Tx antenna set to BAND1
>
> Warning burst preamble is not calibrated for device lime. Set a value
> manually
>
> Setting frequency: DL=1845.0 Mhz, UL=1750.0 MHz
> Tuned Tx to 1845.00 MHz
> Tuned Rx to 1750.00 MHz
> Set master clock rate to 11.52 MHz
> Setting Sampling frequency 11.52 MHz
> setSampleRate Rx fail: SoapyLMS7::setSampleRate() -- rate too high
> setSampleRate Tx fail: SoapyLMS7::setSampleRate() -- rate too high
>
> Warning TX/RX time offset for sampling rate -1 KHz not calibrated.
> Using interpolated value
>
>
> ==== eNodeB started ===
> Type <t> to view trace
>
> >>>>>>>>>>>>>>
>
> Please advise! Thanks. :-)
>
> regards,
> Sandi / DUO
>
>
> On Mon, Nov 5, 2018 at 8:07 PM Sandi Suhendro <djks74 at gmail.com
> <mailto:djks74 at gmail.com>> wrote:
>
> I did try remove the soapyUHD and delete the libuhd and
> libuhdsupport from usr/local/lib, but when re install the srs-LTE,
> it gives me error it need UHD.
> do you know it may cause I miss it how to build srsLTE direct to
> soapySDR?
>
> anyway, it has output signal on earfcn 1600, but dont see the
> network with UHD.
>
> maybe better using soapySDR instead UHD, but the installation
> asking UHD.
>
> please advise.
>
> regards,
> Sandi
>
> On Mon, Nov 5, 2018 at 3:11 AM Andre Puschmann
> <andre.puschmann at softwareradiosystems.com
> <mailto:andre.puschmann at softwareradiosystems.com>> wrote:
>
> Hey,
>
> seems like you are trying to run the Lime through UHD, i.e.
> using the
> uhd-soapy wrapper. I am not sure if it is working well but
> maybe it
> does. Does it output a signal?
>
> We do have a Soapy driver which also works with the Lime so
> maybe try
> using that instead. Probably the easiest is to uninstall the
> uhd-soapy
> wrapper. The problem here is that the srsLTE's RF driver
> library stops
> looking for other devices as soon as a supported device is
> found and the
> UHD driver is the first to query.
>
>
> Hope that helps.
>
> Cheers
> Andre
>
>
>
>
> On 4/11/18 15:07, Sandi Suhendro wrote:
> > Dear Andre,
> > Do you know what I miss?
> > I have this following error :
> > <<<<<<<<<
> > sudo srsenb
> > linux; GNU C++ version 5.4.0 20160609; Boost_105800;
> > UHD_003.010.002.HEAD-0-gbd6e21dc
> >
> >
> > Built in Release mode using commit 1c015aab on branch master.
> >
> > --- Software Radio Systems LTE eNodeB ---
> >
> > Reading configuration file /home/duo/.srs/enb.conf...
> > Opening USRP with args:
> > -- Make connection: 'LimeSDR-USB [USB 3.0] 9061C02C73125'
> > -- Device name: LimeSDR-USB
> > -- Reference: 30.72 MHz
> > -- Init LMS7002M(0)
> > -- Ver=7, Rev=1, Mask=1
> > -- LMS7002M calibration values caching Enable
> > Setting frequency: DL=1845.0 Mhz, UL=1750.0 MHz
> > Setting Sampling frequency 11.52 MHz
> >
> > Warning TX/RX time offset has not been calibrated for device
> > uhd_unknown. Set a value manually
> >
> >
> > ==== eNodeB started ===
> > Type <t> to view trace
> > Error timed out while receiving samples from UHD.
> > Error timed out while receiving samples from UHD.
> > Error timed out while receiving samples from UHD.
> >>>>>>>>>>>>
> >
> > And in the log of nextepc is :
> > [11/04 20:48:59.179] eNB-S1 accepted[127.0.1.1]:55722 in
> s1_path module
> > [11/04 20:48:59.180] eNB-S1 accepted[127.0.1.1] in master_sm
> module
> >
> >
> > Please advise! Thanks in advance. :-)
> >
> > regards,
> > Sandi / DUO
> >
> >
> > On Fri, Nov 2, 2018 at 3:51 PM Andre Puschmann
> > <andre.puschmann at softwareradiosystems.com
> <mailto:andre.puschmann at softwareradiosystems.com>
> > <mailto:andre.puschmann at softwareradiosystems.com
> <mailto:andre.puschmann at softwareradiosystems.com>>> wrote:
> >
> > Sandi,
> >
> > glad to hear you got it working. Let us know how it goes.
> >
> > Cheers
> > Andre
> >
> > On 2/11/18 8:54, Sandi Suhendro wrote:
> > > Dear Andre,
> > > sorry for this simple matter. try to remove all and re
> install and it
> > > works now. Thanks.
> > >
> > > regards,
> > > Sandi / DUO
> > >
> > > On Thu, Nov 1, 2018 at 10:33 PM Sandi Suhendro
> <djks74 at gmail.com <mailto:djks74 at gmail.com>
> > <mailto:djks74 at gmail.com <mailto:djks74 at gmail.com>>
> > > <mailto:djks74 at gmail.com <mailto:djks74 at gmail.com>
> <mailto:djks74 at gmail.com <mailto:djks74 at gmail.com>>>> wrote:
> > >
> > > Dear Andre,
> > > Thanks for response.
> > >
> > > Im using ubuntu 16.04 and build soapySDR from git.
> > > as I remember Im using ppa at first but I also
> install again
> > from git.
> > > what should I do? remove all soapy from apt and
> make uninstall
> > from
> > > git too then re install?
> > >
> > > please advise.
> > >
> > > regards,
> > > Sandi / DUO
> > >
> > > On Thu, Nov 1, 2018 at 9:33 PM Andre Puschmann
> > > <andre.puschmann at softwareradiosystems.com
> <mailto:andre.puschmann at softwareradiosystems.com>
> > <mailto:andre.puschmann at softwareradiosystems.com
> <mailto:andre.puschmann at softwareradiosystems.com>>
> > > <mailto:andre.puschmann at softwareradiosystems.com
> <mailto:andre.puschmann at softwareradiosystems.com>
> > <mailto:andre.puschmann at softwareradiosystems.com
> <mailto:andre.puschmann at softwareradiosystems.com>>>> wrote:
> > >
> > > Likely to be a mismatch of headers. What
> system are you on and
> > > where do
> > > you get the soapy dev package from? git, ppa?
> > >
> > >
> > > On 31/10/18 12:43, Sandi Suhendro wrote:
> > > > Dear list,
> > > > hope someone can give me advise what is wrong?
> > > > Im runing fine with osmocom or openbts-umts.
> (2g/3g)
> > > > but....
> > > > Im facing SoapySDR range error when build
> srsLTE :
> > > >
> > > > [ 40%] Linking C executable pdsch_test
> > > > [ 40%] Built target pdsch_test
> > > > [ 40%] Building C object
> > > >
> lib/src/phy/rf/CMakeFiles/srslte_rf_utils.dir/rf_utils.c.o
> > > > [ 40%] Linking C static library
> libsrslte_rf_utils.a
> > > > [ 40%] Built target srslte_rf_utils
> > > > [ 41%] Building C object
> > > lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_imp.c.o
> > > > [ 41%] Building C object
> > > >
> lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_uhd_imp.c.o
> > > > [ 41%] Building CXX object
> > > >
> lib/src/phy/rf/CMakeFiles/srslte_rf.dir/uhd_c_api.cpp.o
> > > > [ 41%] Building C object
> > > >
> lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_soapy_imp.c.o
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41: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/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:25:3:
> note: previous
> > > declaration of
> > > > ‘SoapySDRRange’ was here
> > > > } SoapySDRRange;
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41: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/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:33:3:
> note: previous
> > > declaration of
> > > > ‘SoapySDRKwargs’ was here
> > > > } SoapySDRKwargs;
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41: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/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /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);
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:45:21: error:
> conflicting
> > types for
> > > > ‘SoapySDRKwargs_toString’
> > > > SOAPY_SDR_API char
> *SoapySDRKwargs_toString(const
> > > SoapySDRKwargs *args);
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:45:21:
> note: previous
> > > declaration of
> > > > ‘SoapySDRKwargs_toString’ was here
> > > > SOAPY_SDR_API char
> *SoapySDRKwargs_toString(const
> > > SoapySDRKwargs *args);
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:50:5: error:
> redeclaration of
> > > enumerator
> > > > ‘SOAPY_SDR_ARG_INFO_BOOL’
> > > > SOAPY_SDR_ARG_INFO_BOOL,
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:50:5:
> note: previous
> > > definition of
> > > > ‘SOAPY_SDR_ARG_INFO_BOOL’ was here
> > > > SOAPY_SDR_ARG_INFO_BOOL,
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:51:5: error:
> redeclaration of
> > > enumerator
> > > > ‘SOAPY_SDR_ARG_INFO_INT’
> > > > SOAPY_SDR_ARG_INFO_INT,
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:51:5:
> note: previous
> > > definition of
> > > > ‘SOAPY_SDR_ARG_INFO_INT’ was here
> > > > SOAPY_SDR_ARG_INFO_INT,
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:52:5: error:
> redeclaration of
> > > enumerator
> > > > ‘SOAPY_SDR_ARG_INFO_FLOAT’
> > > > SOAPY_SDR_ARG_INFO_FLOAT,
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:52:5:
> note: previous
> > > definition of
> > > > ‘SOAPY_SDR_ARG_INFO_FLOAT’ was here
> > > > SOAPY_SDR_ARG_INFO_FLOAT,
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:53:5: error:
> redeclaration of
> > > enumerator
> > > > ‘SOAPY_SDR_ARG_INFO_STRING’
> > > > SOAPY_SDR_ARG_INFO_STRING
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:53:5:
> note: previous
> > > definition of
> > > > ‘SOAPY_SDR_ARG_INFO_STRING’ was here
> > > > SOAPY_SDR_ARG_INFO_STRING
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:54:3: error:
> conflicting
> > types for
> > > > ‘SoapySDRArgInfoType’
> > > > } SoapySDRArgInfoType;
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:54:3:
> note: previous
> > > declaration of
> > > > ‘SoapySDRArgInfoType’ was here
> > > > } SoapySDRArgInfoType;
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:103:3: error:
> conflicting
> > types for
> > > > ‘SoapySDRArgInfo’
> > > > } SoapySDRArgInfo;
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:103:3:
> note: previous
> > > declaration of
> > > > ‘SoapySDRArgInfo’ was here
> > > > } SoapySDRArgInfo;
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:114:20: error:
> conflicting
> > types for
> > > > ‘SoapySDRKwargs_set’
> > > > SOAPY_SDR_API void
> SoapySDRKwargs_set(SoapySDRKwargs *args,
> > > const char
> > > > *key, co
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:120:19:
> note: previous
> > > declaration
> > > > of ‘SoapySDRKwargs_set’ was here
> > > > SOAPY_SDR_API int
> SoapySDRKwargs_set(SoapySDRKwargs *args,
> > > const char
> > > > *key, con
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:120:27: error:
> conflicting
> > types for
> > > > ‘SoapySDRKwargs_get’
> > > > SOAPY_SDR_API const char
> *SoapySDRKwargs_get(SoapySDRKwargs
> > > *args,
> > > > const char *
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:126:27:
> note: previous
> > > declaration
> > > > of ‘SoapySDRKwargs_get’ was here
> > > > SOAPY_SDR_API const char
> *SoapySDRKwargs_get(const
> > SoapySDRKwargs
> > > > *args, const
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:126:20: error:
> conflicting
> > types for
> > > > ‘SoapySDRKwargs_clear’
> > > > SOAPY_SDR_API void
> SoapySDRKwargs_clear(SoapySDRKwargs
> > *args);
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:132:20:
> note: previous
> > > declaration
> > > > of ‘SoapySDRKwargs_clear’ was here
> > > > SOAPY_SDR_API void
> SoapySDRKwargs_clear(SoapySDRKwargs
> > *args);
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:132:20: error:
> conflicting
> > types for
> > > > ‘SoapySDRKwargsList_clear’
> > > > SOAPY_SDR_API void
> SoapySDRKwargsList_clear(SoapySDRKwargs
> > > *args, const
> > > > size_t
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:138:20:
> note: previous
> > > declaration
> > > > of ‘SoapySDRKwargsList_clear’ was here
> > > > SOAPY_SDR_API void
> SoapySDRKwargsList_clear(SoapySDRKwargs
> > > *args, const
> > > > size_t
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:138:20: error:
> conflicting
> > types for
> > > > ‘SoapySDRArgInfo_clear’
> > > > SOAPY_SDR_API void
> > SoapySDRArgInfo_clear(SoapySDRArgInfo *info);
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:144:20:
> note: previous
> > > declaration
> > > > of ‘SoapySDRArgInfo_clear’ was here
> > > > SOAPY_SDR_API void
> > SoapySDRArgInfo_clear(SoapySDRArgInfo *info);
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:41:0:
> > > > /usr/include/SoapySDR/Types.h:144:20: error:
> conflicting
> > types for
> > > > ‘SoapySDRArgInfoList_clear’
> > > > SOAPY_SDR_API void
> > SoapySDRArgInfoList_clear(SoapySDRArgInfo
> > > *info,
> > > > const size_
> > > > ^
> > > > In file included from
> > /usr/local/include/SoapySDR/Device.h:18:0,
> > > > from
> > > /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:
> > > > /usr/local/include/SoapySDR/Types.h:150:20:
> note: previous
> > > declaration
> > > > of ‘SoapySDRArgInfoList_clear’ was here
> > > > SOAPY_SDR_API void
> > SoapySDRArgInfoList_clear(SoapySDRArgInfo
> > > *info,
> > > > const size_
> > > > ^
> > > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c: In function
> > > > ‘rf_soapy_open_multi’:
> > > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:296:38:
> > error:
> > > > initialization from incompatible pointer type
> > > > [-Werror=incompatible-pointer-types]
> > > > const SoapySDRKwargs *soapy_args =
> > > SoapySDRDevice_enumerate(NULL,
> > > > &length);
> > > > ^
> > > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:316:45:
> > error:
> > > passing
> > > > argument 1 of ‘SoapySDRDevice_make’ from
> incompatible
> > pointer type
> > > > [-Werror=incompatible-pointer-types]
> > > > SoapySDRDevice *sdr =
> > SoapySDRDevice_make(&(soapy_args[0]));
> > > > ^
> > > > In file included from
> > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:37:0:
> > > > /usr/local/include/SoapySDR/Device.h:78:31:
> note:
> > expected ‘const
> > > > SoapySDRKwargs * {aka const struct
> <anonymous> *}’ but
> > > argument is of
> > > > type ‘const SoapySDRKwargs * {aka const struct
> > <anonymous> *}’
> > > > SOAPY_SDR_API SoapySDRDevice
> *SoapySDRDevice_make(const
> > > SoapySDRKwargs
> > > > *args);
> > > > ^
> > > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:380:28:
> > error:
> > > invalid
> > > > initializer
> > > > SoapySDRRange tx_range =
> > > SoapySDRDevice_getGainRange(handler->device,
> > > > SOAPY_S
> > >�� > ^
> > > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:381:28:
> > error:
> > > invalid
> > > > initializer
> > > > SoapySDRRange rx_range =
> > > SoapySDRDevice_getGainRange(handler->device,
> > > > SOAPY_S
> > > > ^
> > > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c: In function
> > > > ‘rf_soapy_set_rx_srate’:
> > > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:581:29:
> > error:
> > > > initialization from incompatible pointer type
> > > > [-Werror=incompatible-pointer-types]
> > > > SoapySDRRange *bw_range =
> > > >
> SoapySDRDevice_getBandwidthRange(handler->device, S
> > > > ^
> > > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c: In function
> > > > ‘rf_soapy_set_tx_srate’:
> > > >
> /home/duo/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:617:29:
> > error:
> > > > initialization from incompatible pointer type
> > > > [-Werror=incompatible-pointer-types]
> > > > SoapySDRRange *bw_range =
> > > >
> SoapySDRDevice_getBandwidthRange(handler->device, S
> > > > ^
> > > > cc1: some warnings being treated as errors
> > > >
> lib/src/phy/rf/CMakeFiles/srslte_rf.dir/build.make:134:
> > recipe for
> > > > target
> > >
> 'lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_soapy_imp.c.o'
> > failed
> > > > make[2]: ***
> > >
> [lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_soapy_imp.c.o]
> > > > Error 1
> > > > CMakeFiles/Makefile2:2905: recipe for target
> > > >
> 'lib/src/phy/rf/CMakeFiles/srslte_rf.dir/all' failed
> > > > make[1]: ***
> > [lib/src/phy/rf/CMakeFiles/srslte_rf.dir/all] Error 2
> > > > Makefile:160: recipe for target 'all' failed
> > > > make: *** [all] Error 2
> > > >
> > > >
> > > > Please advise! Thanks
> > > > --
> > > > Best Regards,
> > > > DUO
> > > >
> > > >
> > > > _______________________________________________
> > > > srslte-users mailing list
> > > > srslte-users at lists.softwareradiosystems.com
> <mailto:srslte-users at lists.softwareradiosystems.com>
> > <mailto:srslte-users at lists.softwareradiosystems.com
> <mailto:srslte-users at lists.softwareradiosystems.com>>
> > >
> <mailto:srslte-users at lists.softwareradiosystems.com
> <mailto:srslte-users at lists.softwareradiosystems.com>
> > <mailto:srslte-users at lists.softwareradiosystems.com
> <mailto:srslte-users at lists.softwareradiosystems.com>>>
> > > >
> >
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
> > > >
> > >
> > >
> > >
> > > --
> > > Best Regards,
> > > Sandi
> > >
> > >
> > >
> > > --
> > > Best Regards,
> > > Sandi
> > >
> >
> >
> > --
> > Andre Puschmann
> >
> > Software Radio Systems (SRS)
> > http://www.softwareradiosystems.com
> >
> > PGP/GnuPG key: 6C42AB31
> > fingerprint: 137A AE49 785B A445 257C 8AD7 D877 A498
> 6C42 AB31
> >
> >
> >
> > --
> > Best Regards,
> > Sandi
> >
>
>
> --
> Andre Puschmann
>
> Software Radio Systems (SRS)
> http://www.softwareradiosystems.com
>
> PGP/GnuPG key: 6C42AB31
> fingerprint: 137A AE49 785B A445 257C 8AD7 D877 A498 6C42 AB31
>
>
>
> --
> Best Regards,
> Sandi
>
>
>
> --
> Best Regards,
> Sandi
>
>
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20181106/a93c3566/attachment.htm>
-------------- next part --------------
#####################################################################
# srsENB configuration file
#####################################################################
#####################################################################
# eNB configuration
#
# enb_id: 20-bit eNB identifier.
# cell_id: 8-bit cell identifier.
# tac: 16-bit Tracking Area Code.
# mcc: Mobile Country Code
# mnc: Mobile Network Code
# mme_addr: IP address of MME for S1 connnection
# gtp_bind_addr: Local IP address to bind for GTP connection
# n_prb: Number of Physical Resource Blocks (6,15,25,50,75,100)
# tm: Transmission mode 1-4 (TM1 default)
# nof_ports: Number of Tx ports (1 port default, set to 2 for TM2/3/4)
#
#####################################################################
[enb]
enb_id = 0x19B
cell_id = 0x01
phy_cell_id = 1
tac = 0x0007
mcc = 001
mnc = 01
mme_addr = 127.0.1.100
gtp_bind_addr = 127.0.0.1
n_prb = 15
#tm = 4
#nof_ports = 2
#####################################################################
# eNB configuration files
#
# sib_config: SIB1, SIB2 and SIB3 configuration file
# rr_config: Radio Resources configuration file
# drb_config: DRB configuration file
#####################################################################
[enb_files]
sib_config = sib.conf
rr_config = rr.conf
drb_config = drb.conf
#####################################################################
# RF configuration
#
# dl_earfcn: EARFCN code for DL
# tx_gain: Transmit gain (dB).
# rx_gain: Optional receive gain (dB). If disabled, AGC if enabled
#
# Optional parameters:
# dl_freq: Override DL frequency corresponding to dl_earfcn
# ul_freq: Override UL frequency corresponding to dl_earfcn (must be set if dl_freq is set)
# device_name: Device driver family. Supported options: "auto" (uses first found), "UHD" or "bladeRF"
# device_args: Arguments for the device driver. Options are "auto" or any string.
# Default for UHD: "recv_frame_size=9232,send_frame_size=9232"
# Default for bladeRF: ""
# #time_adv_nsamples: Transmission time advance (in number of samples) to compensate for RF delay
# from antenna to timestamp insertion.
# Default "auto". B210 USRP: 100 samples, bladeRF: 27.
# burst_preamble_us: Preamble length to transmit before start of burst.
# Default "auto". B210 USRP: 400 us, bladeRF: 0 us.
#####################################################################
[rf]
dl_earfcn = 2525
tx_gain = 56
rx_gain = 39
device_name = soapy
device_args = "auto"
time_adv_nsamples = 72
burst_preamble_us = 0
#####################################################################
# MAC-layer packet capture configuration
#
# Packets are captured to file in the compact format decoded by
# the Wireshark mac-lte-framed dissector and with DLT 147.
# To use the dissector, edit the preferences for DLT_USER to
# add an entry with DLT=147, Payload Protocol=mac-lte-framed.
# For more information see: https://wiki.wireshark.org/MAC-LTE
#
# enable: Enable MAC layer packet captures (true/false)
# filename: File path to use for packet captures
#####################################################################
[pcap]
enable = false
filename = /tmp/enb.pcap
#####################################################################
# Log configuration
#
# Log levels can be set for individual layers. "all_level" sets log
# level for all layers unless otherwise configured.
# Format: e.g. phy_level = info
#
# In the same way, packet hex dumps can be limited for each level.
# "all_hex_limit" sets the hex limit for all layers unless otherwise
# configured.
# Format: e.g. phy_hex_limit = 32
#
# Logging layers: phy, mac, rlc, pdcp, rrc, nas, gtpu, usim, all
# Logging levels: debug, info, warning, error, none
#
# filename: File path to use for log output. Can be set to stdout
# to print logs to standard output
# file_max_size: Maximum file size (in kilobytes). When passed, multiple files are created.
# If set to negative, a single log file will be created.
#####################################################################
[log]
all_level = warning
all_hex_limit = 32
filename = /tmp/enb.log
file_max_size = -1
[gui]
enable = false
#####################################################################
# Scheduler configuration options
#
# pdsch_mcs: Optional fixed PDSCH MCS (ignores reported CQIs if specified)
# pdsch_max_mcs: Optional PDSCH MCS limit
# pusch_mcs: Optional fixed PUSCH MCS (ignores reported CQIs if specified)
# pusch_max_mcs: Optional PUSCH MCS limit
# #nof_ctrl_symbols: Number of control symbols
#
#####################################################################
[scheduler]
#pdsch_mcs = -1
#pdsch_max_mcs = -1
#pusch_mcs = -1
pusch_max_mcs = 24
nof_ctrl_symbols = 3
#####################################################################
# Expert configuration options
#
# pdsch_max_its: Maximum number of turbo decoder iterations (Default 4)
# nof_phy_threads: Selects the number of PHY threads (maximum 4, minimum 1, default 2)
# metrics_period_secs: Sets the period at which metrics are requested from the UE.
# pregenerate_signals: Pregenerate uplink signals after attach. Improves CPU performance.
# tx_amplitude: Transmit amplitude factor (set 0-1 to reduce PAPR)
# link_failure_nof_err: Number of PUSCH failures after which a radio-link failure is triggered.
# a link failure is when SNR<0 and CRC=KO
# max_prach_offset_us: Maximum allowed RACH offset (in us)
#
#####################################################################
[expert]
pusch_max_its = 4
#nof_phy_threads = 1
#pregenerate_signals = false
#tx_amplitude = 0.6
#link_failure_nof_err = 50
#rrc_inactivity_timer = 10000
#max_prach_offset_us = 30
#####################################################################
# Manual RF calibration
#
# Applies DC offset and IQ imbalance to TX and RX modules.
# Currently this configuration is only used if the detected device is a bladeRF
#
# tx_corr_dc_gain: TX DC offset gain correction
# tx_corr_dc_phase: TX DC offset phase correction
# tx_corr_iq_i: TX IQ imbalance inphase correction
# tx_corr_iq_q: TX IQ imbalance quadrature correction
# same can be configured for rx_*
#####################################################################
[rf_calibration]
tx_corr_dc_gain = 20
tx_corr_dc_phase = 184
tx_corr_iq_i = 19
tx_corr_iq_q = 97
More information about the srsran-users
mailing list