[srslte-users] Help running srsLTE with ZeroMQ
Ayman Maghrabi
ayman.maghrabi at gmail.com
Fri Mar 20 09:10:46 UTC 2020
Hey Justin,
This is what I got
"
ayman at ayman-Lenovo-Legion-Y530-15ICH-1060:~/srsLTE/build$ make
[ 38%] Built target asn1_utils
[ 38%] Built target srslte_asn1
[ 38%] Built target rrc_asn1
[ 38%] Built target srslte_enb
[ 38%] Built target srslte_agc
[ 38%] Built target srslte_ch_estimation
[ 38%] Built target srslte_phy_common
[ 38%] Built target srslte_fec
[ 38%] Built target srslte_mimo
[ 38%] Built target srslte_phch
[ 38%] Built target srslte_sync
[ 38%] Built target srslte_utils
[ 38%] Built target srslte_channel
[ 38%] Built target srslte_dft
[ 38%] Built target srslte_io
[ 38%] Built target srslte_modem
[ 38%] Built target srslte_resampling
[ 38%] Built target srslte_scrambling
[ 38%] Built target srslte_ue
[ 38%] Built target srslte_phy
-- Generating build_info.h
[ 38%] Built target gen_build_info
[ 38%] Built target srslte_common
[ 38%] Built target arch_select
[ 38%] Built target thread_test
[ 38%] Built target thread_pool_test
[ 38%] Built target chest_test_ul
[ 38%] Built target chest_test_dl
[ 38%] Built target refsignal_ul_test_all
[ 38%] Built target chest_nbiot_test_dl
[ 38%] Built target chest_test_sl
[ 38%] Built target rm_turbo_test
[ 38%] Built target rm_conv_test
[ 38%] Built target crc_test
[ 38%] Built target turbodecoder_test
[ 38%] Built target turbocoder_test
[ 38%] Built target viterbi_test
[ 38%] Built target precoding_test
[ 38%] Built target layermap_test
[ 38%] Built target pmi_select_test
[ 38%] Built target prach_test
[ 38%] Built target srslte_rf_utils
[ 38%] Building C object
lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_soapy_imp.c.o
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c: In function
‘rf_soapy_open_multi’:
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:327:36: error: passing
argument 2 of ‘SoapySDRDevice_setupStream’ makes integer from pointer
without a cast [-Werror=int-conversion]
&handler->rxStream,
^
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: expected ‘int’ but
argument is of type ‘SoapySDRStream ** {aka struct SoapySDRStream **}’
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:328:36: error: passing
argument 3 of ‘SoapySDRDevice_setupStream’ makes pointer from integer
without a cast [-Werror=int-conversion]
SOAPY_SDR_RX,
^~~~~~~~~~~~
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: expected ‘const char *’
but argument is of type ‘int’
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:329:36: error: passing
argument 4 of ‘SoapySDRDevice_setupStream’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
SOAPY_SDR_CF32,
^~~~~~~~~~~~~~
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: expected ‘const size_t *
{aka const long unsigned int *}’ but argument is of type ‘char *’
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:330:36: error: passing
argument 5 of ‘SoapySDRDevice_setupStream’ makes integer from pointer
without a cast [-Werror=int-conversion]
rx_channels,
^~~~~~~~~~~
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: expected ‘size_t {aka
const long unsigned int}’ but argument is of type ‘size_t * {aka long
unsigned int *}’
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:331:36: error: passing
argument 6 of ‘SoapySDRDevice_setupStream’ makes pointer from integer
without a cast [-Werror=int-conversion]
handler->num_rx_channels,
^~~~~~~
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: expected ‘const
SoapySDRKwargs * {aka const struct <anonymous> *}’ but argument is of type
‘size_t {aka long unsigned int}’
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:326:9: error: too many
arguments to function ‘SoapySDRDevice_setupStream’
if (SoapySDRDevice_setupStream(handler->device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: declared here
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:349:36: error: passing
argument 2 of ‘SoapySDRDevice_setupStream’ makes integer from pointer
without a cast [-Werror=int-conversion]
&handler->txStream,
^
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: expected ‘int’ but
argument is of type ‘SoapySDRStream ** {aka struct SoapySDRStream **}’
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:351:36: error: passing
argument 4 of ‘SoapySDRDevice_setupStream’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
SOAPY_SDR_CF32,
^~~~~~~~~~~~~~
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: expected ‘const size_t *
{aka const long unsigned int *}’ but argument is of type ‘char *’
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:352:36: error: passing
argument 5 of ‘SoapySDRDevice_setupStream’ makes integer from pointer
without a cast [-Werror=int-conversion]
tx_channels,
^~~~~~~~~~~
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: expected ‘size_t {aka
const long unsigned int}’ but argument is of type ‘size_t * {aka long
unsigned int *}’
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:353:36: error: passing
argument 6 of ‘SoapySDRDevice_setupStream’ makes pointer from integer
without a cast [-Werror=int-conversion]
handler->num_tx_channels,
^~~~~~~
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: expected ‘const
SoapySDRKwargs * {aka const struct <anonymous> *}’ but argument is of type
‘size_t {aka long unsigned int}’
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:348:9: error: too many
arguments to function ‘SoapySDRDevice_setupStream’
if (SoapySDRDevice_setupStream(handler->device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/ayman/srsLTE/lib/src/phy/rf/rf_soapy_imp.c:31:0:
/usr/local/include/SoapySDR/Device.h:295:31: note: declared here
SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice
*device,
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all 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:3433: 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:162: recipe for target 'all' failed
make: *** [all] Error 2
"
On Fri, Mar 20, 2020 at 8:05 PM Justin Tallon <
justin.tallon at softwareradiosystems.com> wrote:
> Hey Ayman,
>
> run "make" from the build folder and post the console output.
>
> Regards,
> Justin
> ____
> Justin Tallon Ph.D.
>
> Software Radio Systems (SRS)
> http://www.softwareradiosystems.com
>
> +353-86-067-0753 | justin.tallon at softwareradiosystems.com
>
>
> On Thu, Mar 19, 2020 at 11:38 PM Ayman Maghrabi <ayman.maghrabi at gmail.com>
> wrote:
>
>> Hi Justin,
>>
>> Can you tell me how to do that? I'm very new to Ubuntu and linux.
>>
>> On Fri, Mar 20, 2020, 2:46 AM Justin Tallon <
>> justin.tallon at softwareradiosystems.com> wrote:
>>
>>> Hey Ayman,
>>>
>>> Can share the output of your build?
>>>
>>> On Thu, 19 Mar 2020, 16:44 Ayman Maghrabi, <ayman.maghrabi at gmail.com>
>>> wrote:
>>>
>>>> Hello all,
>>>>
>>>> I'm new to Linux and srsLTE, so I'm figuring out new things as I'm
>>>> going with this. I need to work using srsLTE for my Master's thesis, and I
>>>> need to work mostly using simulations without any hardware at the moment.
>>>>
>>>> My main issue at the moment is when I'm following the instructions here
>>>>
>>>> https://docs.srslte.com/en/latest/app_notes/source/zeromq/source/index.html#zeromq-installation
>>>>
>>>> I downloaded libzmq and czmq, and then built srsLTE again. The
>>>> documentation says I should get the following with cmake
>>>> "...
>>>>
>>>> -- FINDING ZEROMQ.-- Checking for module 'ZeroMQ'-- No package 'ZeroMQ' found-- Found libZEROMQ: /usr/local/include, /usr/local/lib/libzmq.so..."
>>>>
>>>> Instead, my output is this
>>>>
>>>> "-- FINDING ZEROMQ.
>>>> -- Boost version: 1.65.1
>>>> -- Found the following Boost libraries:
>>>> -- program_options
>>>> "
>>>>
>>>> I think this installation is fine, but I wanted to mention it.
>>>>
>>>> I follow on with creating a new network and manage to create the UE1, but I can't seem to run the following command:
>>>>
>>>> sudo ./srsepc/src/srsepc
>>>>
>>>> but it says the command is not found, and there is no "srsepc" file or folder under the "src". I'm not sure what I need to do now.
>>>>
>>>> I appreciate any help or guidance to complete this setup.
>>>>
>>>> Regards,
>>>>
>>>> atmagh
>>>>
>>>> _______________________________________________
>>>> 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/20200320/82100c0f/attachment.htm>
More information about the srsran-users
mailing list