[srslte-users] Need help build error when make on srsLTE with LimeSDR
Sandi Suhendro
djks74 at gmail.com
Mon Nov 5 14:02:25 UTC 2018
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> 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> 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>> 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>>> 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>>> 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>>
>> > > >
>> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20181105/6c200c84/attachment.htm>
More information about the srsran-users
mailing list