[srslte-users] Help running srsLTE with ZeroMQ

Ayman Maghrabi ayman.maghrabi at gmail.com
Fri Mar 20 12:36:12 UTC 2020


Sure:

"
ayman at ayman-Lenovo-Legion-Y530-15ICH-1060:~/srsLTE/build$ cmake ../
-- CMAKE_SYSTEM: Linux-5.3.0-42-generic
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- CMAKE_CXX_COMPILER: /usr/bin/c++
-- Build type not specified: defaulting to Release.
-- FFTW3F LIBRARIES: /usr/lib/x86_64-linux-gnu/libfftw3f.so
-- FFTW3F STATIC LIBRARIES: /usr/lib/x86_64-linux-gnu/libfftw3f.a
-- FFTW3F INCLUDE DIRS: /usr/include
-- FFT_LIBRARIES: /usr/lib/x86_64-linux-gnu/libfftw3f.so
-- Checking for module 'polarssl'
--   No package 'polarssl' found
-- POLARSSL LIBRARIES: POLARSSL_LIBRARIES-NOTFOUND
-- POLARSSL STATIC LIBRARIES: POLARSSL_STATIC_LIBRARIES-NOTFOUND
-- POLARSSL INCLUDE DIRS: POLARSSL_INCLUDE_DIRS-NOTFOUND
-- Could NOT find POLARSSL (missing: POLARSSL_LIBRARIES
POLARSSL_INCLUDE_DIRS)
-- Checking for module 'mbedtls'
--   No package 'mbedtls' found
-- MBEDTLS LIBRARIES: /usr/lib/x86_64-linux-gnu/libmbedcrypto.so
-- MBEDTLS STATIC LIBRARIES: /usr/lib/x86_64-linux-gnu/libmbedcrypto.a
-- MBEDTLS INCLUDE DIRS: /usr/include
-- Checking for module 'libpcsclite'
--   No package 'libpcsclite' found
-- Could NOT find PCSCLITE (missing: PCSCLITE_LIBRARY PCSCLITE_INCLUDE_DIR)
-- PCSC LIBRARIES: PCSCLITE_LIBRARY-NOTFOUND
-- PCSC INCLUDE DIRS: PCSCLITE_INCLUDE_DIR-NOTFOUND
-- UHD LIBRARIES /usr/local/lib/libuhd.so
-- UHD INCLUDE DIRS /usr/local/include
-- Checking for module 'libbladeRF'
--   No package 'libbladeRF' found
-- libbladeRF not found.
-- FINDING ZEROMQ.
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   program_options
-- SRSGUI LIBRARIES SRSGUI_LIBRARIES-NOTFOUND
-- SRSGUI INCLUDE DIRS SRSGUI_INCLUDE_DIRS-NOTFOUND
-- Could NOT find SRSGUI (missing: SRSGUI_LIBRARIES SRSGUI_INCLUDE_DIRS)
-- SSE4.1 is enabled - target CPU must support it
-- AVX is enabled - target CPU must support it
-- AVX2 is enabled - target CPU must support it
-- FMA is enabled - target CPU must support it
-- Using default glibc header for IPv6 support.
-- SSE4.1 is enabled - target CPU must support it
-- AVX is enabled - target CPU must support it
-- AVX2 is enabled - target CPU must support it
-- FMA is enabled - target CPU must support it
-- CMAKE_C_FLAGS is  -Wno-unused-but-set-variable
-Werror=incompatible-pointer-types -Wall -Wno-comment -Wno-write-strings
-Winline -Wno-unused-result -Wformat -Wmissing-field-initializers
-Wtype-limits -std=c99 -D_GNU_SOURCE -O3 -fno-trapping-math -fno-math-errno
-DBUILD_TYPE_RELEASE -march=native -mfpmath=sse -mavx2 -DLV_HAVE_AVX2
-DLV_HAVE_AVX -DLV_HAVE_SSE -mfma -DLV_HAVE_FMA -Ofast -funroll-loops
-fvisibility=hidden -Werror
-- CMAKE_CXX_FLAGS is  -Wall -Wno-comment -Wno-reorder -Wno-unused-variable
-Wtype-limits -std=c++11 -Wno-unused-but-set-variable -march=native
-mfpmath=sse -mavx2 -DLV_HAVE_AVX2 -DLV_HAVE_AVX -DLV_HAVE_SSE
-fvisibility=hidden -O3 -fno-trapping-math -fno-math-errno
-DBUILD_TYPE_RELEASE -DUSE_GLIBC_IPV6 -Werror
-- Using install prefix: /usr/local
-- Building for version: 19.12.0
--    examples will be installed.
-- Checking for module 'sctp'
--   No package 'sctp' found
-- SCTP LIBRARIES: /usr/lib/x86_64-linux-gnu/libsctp.so
-- SCTP INCLUDE DIRS: /usr/include
-- No post-build command defined
-- Building with srsUE
-- No post-build-UE command defined
-- No post-build command defined
-- Building with srsENB
-- Found LibConfig++: /usr/lib/x86_64-linux-gnu/libconfig++.so
-- static LibConfig++ path: /usr/lib/x86_64-linux-gnu/libconfig++.a
-- Found LibConfig: /usr/lib/x86_64-linux-gnu/libconfig.so
-- static LibConfig path: /usr/lib/x86_64-linux-gnu/libconfig.a
-- Checking for module 'sctp'
--   No package 'sctp' found
-- SCTP LIBRARIES: /usr/lib/x86_64-linux-gnu/libsctp.so
-- SCTP INCLUDE DIRS: /usr/include
-- No post-build-ENB command defined
-- Building with srsEPC
-- Found LibConfig++: /usr/lib/x86_64-linux-gnu/libconfig++.so
-- static LibConfig++ path: /usr/lib/x86_64-linux-gnu/libconfig++.a
-- Found LibConfig: /usr/lib/x86_64-linux-gnu/libconfig.so
-- static LibConfig path: /usr/lib/x86_64-linux-gnu/libconfig.a
-- Checking for module 'sctp'
--   No package 'sctp' found
-- SCTP LIBRARIES: /usr/lib/x86_64-linux-gnu/libsctp.so
-- SCTP INCLUDE DIRS: /usr/include
-- No post-build-EPC command defined
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ayman/srsLTE/build
"

On Fri, Mar 20, 2020 at 10:31 PM Justin Tallon <
justin.tallon at softwareradiosystems.com> wrote:

> Can you post the output of the cmake?
>
> On Fri, 20 Mar 2020, 12:11 Ayman Maghrabi, <ayman.maghrabi at gmail.com>
> wrote:
>
>> Hey Justin,
>>
>> Looks like that cleared one issue with the compilation, as I get the
>> following build:
>>
>> "
>> 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
>> Scanning dependencies of target srslte_rf
>> [ 38%] Building C object
>> lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_zmq_imp.c.o
>> [ 38%] Building C object
>> lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_zmq_imp_tx.c.o
>> [ 38%] Building C object
>> lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_zmq_imp_rx.c.o
>> [ 38%] Linking CXX shared library libsrslte_rf.so
>> [ 38%] Built target srslte_rf
>> [ 38%] Linking CXX executable prach_test_usrp
>> [ 38%] Built target prach_test_usrp
>> [ 38%] Built target prach_test_multi
>> [ 38%] Built target npbch_test
>> [ 38%] Built target phich_file_test
>> [ 38%] Built target phich_test
>> [ 38%] Built target psbch_file_test
>> [ 38%] Built target pcfich_test
>> [ 38%] Built target pdsch_pdcch_file_test
>> [ 38%] Built target pdcch_test
>> [ 38%] Built target pdsch_test
>> [ 38%] Built target pusch_test
>> [ 38%] Built target psbch_test
>> [ 38%] Built target pmch_test
>> [ 38%] Built target pucch_test
>> [ 38%] Built target pmch_file_test
>> [ 38%] Built target pbch_file_test
>> [ 38%] Built target pdcch_file_test
>> [ 38%] Built target pbch_test
>> [ 38%] Built target pcfich_file_test
>> [ 38%] Built target npbch_file_test
>> Scanning dependencies of target rf_zmq_test
>> [ 38%] Building C object
>> lib/src/phy/rf/CMakeFiles/rf_zmq_test.dir/rf_zmq_test.c.o
>> [ 38%] Linking CXX executable rf_zmq_test
>> [ 38%] Built target rf_zmq_test
>> [ 38%] Built target sync_test
>> [ 38%] Linking CXX executable npss_usrp
>> [ 38%] Built target npss_usrp
>> [ 38%] Built target pss_file
>> [ 38%] Linking CXX executable pss_usrp
>> [ 38%] Built target pss_usrp
>> [ 38%] Built target cfo_test
>> [ 38%] Linking CXX executable nsss_usrp
>> [ 38%] Built target nsss_usrp
>> [ 38%] Built target npss_file
>> [ 38%] Built target sync_nbiot_test
>> [ 38%] Built target npss_test
>> [ 38%] Built target nsss_test
>> [ 38%] Built target sync_sl_test
>> [ 38%] Built target psss_file_test
>> [ 38%] Built target algebra_test
>> [ 38%] Built target dft_test
>> [ 38%] Built target vector_test
>> [ 38%] Built target delay_channel_test
>> [ 38%] Built target fading_channel_test
>> [ 38%] Built target hst_channel_test
>> [ 38%] Built target ofdm_test
>> [ 38%] Built target soft_demod_test
>> [ 38%] Built target modem_test
>> [ 38%] Built target resample_arb_test
>> [ 38%] Built target resample_arb_bench
>> [ 38%] Built target scrambling_test
>> [ 38%] Built target gen_ack_test
>> [ 38%] Built target pucch_resource_test
>> [ 38%] Linking CXX executable ue_mib_sync_test_nbiot_usrp
>> [ 38%] Built target ue_mib_sync_test_nbiot_usrp
>> [ 38%] Linking CXX executable ue_sync_test_nbiot_usrp
>> [ 38%] Built target ue_sync_test_nbiot_usrp
>> [ 38%] Built target srslte_radio
>> [ 38%] Linking CXX executable benchmark_radio
>> [ 38%] Built target benchmark_radio
>> [ 38%] Built target srslte_upper
>> [ 38%] Linking CXX executable usrp_capture
>> [ 38%] Built target usrp_capture
>> Scanning dependencies of target zmq_remote_rx
>> [ 38%] Building C object
>> lib/examples/CMakeFiles/zmq_remote_rx.dir/zmq_remote_rx.c.o
>> [ 38%] Linking CXX executable zmq_remote_rx
>> [ 38%] Built target zmq_remote_rx
>> [ 38%] Linking CXX executable usrp_capture_sync
>> [ 38%] Built target usrp_capture_sync
>> [ 38%] Linking CXX executable pdsch_enodeb
>> [ 38%] Built target pdsch_enodeb
>> [ 38%] Built target synch_file
>> [ 38%] Linking CXX executable pdsch_ue
>> [ 38%] Built target pdsch_ue
>> [ 38%] Linking CXX executable usrp_capture_sync_nbiot
>> [ 38%] Built target usrp_capture_sync_nbiot
>> [ 38%] Linking CXX executable cell_search_nbiot
>> [ 38%] Built target cell_search_nbiot
>> [ 38%] Linking CXX executable usrp_txrx
>> [ 38%] Built target usrp_txrx
>> [ 38%] Linking CXX executable cell_search
>> [ 38%] Built target cell_search
>> [ 38%] Built target srslte_asn1_rrc_dl_dcch_test
>> [ 38%] Built target srslte_asn1_rrc_meas_test
>> [ 38%] Built target s1ap_test
>> [ 38%] Built target srslte_asn1_rrc_mcch_test
>> [ 38%] Built target srslte_asn1_m2ap_test
>> [ 38%] Built target srslte_asn1_rrc_ul_dcch_test
>> [ 38%] Built target rrc_asn1_test
>> [ 38%] Built target srslte_asn1_nas_test
>> [ 38%] Built target srslte_asn1_rrc_dl_ccch_test
>> [ 38%] Built target test_common_test
>> [ 38%] Built target test_eea1
>> [ 38%] Built target network_utils_test
>> [ 38%] Built target test_eia3
>> [ 38%] Built target timeout_test
>> [ 38%] Built target test_eia1
>> [ 38%] Built target logger_test
>> [ 38%] Built target test_eea2
>> [ 38%] Built target timer_test
>> [ 38%] Built target test_f12345
>> [ 38%] Built target log_filter_test
>> [ 38%] Built target bcd_helpers_test
>> [ 38%] Built target test_eea3
>> [ 38%] Built target pdu_test
>> [ 38%] Built target msg_queue_test
>> [ 38%] Built target queue_test
>> [ 38%] Built target stack_procedure_test
>> [ 38%] Built target phy_dl_test
>> [ 38%] Built target rlc_common_test
>> [ 38%] Built target rlc_am_control_test
>> [ 38%] Built target rlc_am_data_test
>> [ 38%] Built target rlc_am_test
>> [ 38%] Built target rlc_stress_test
>> [ 38%] Built target rlc_um_test
>> [ 38%] Built target rlc_um_data_test
>> [ 38%] Built target srsue_upper
>> [ 38%] Built target srsue_phy
>> [ 38%] Built target srsue_stack
>> [ 38%] Built target srsue_mac
>> [ 38%] Built target srsue_rrc
>> [ 38%] Linking CXX executable srsue
>> [ 38%] Built target srsue
>> [ 38%] Linking CXX executable mac_test
>> [ 38%] Built target mac_test
>> [ 38%] Built target metrics_test
>> [ 38%] Linking CXX executable ue_phy_test
>> [ 38%] Built target ue_phy_test
>> [ 38%] Linking CXX executable scell_search_test
>> [ 38%] Built target scell_search_test
>> [ 38%] Built target rrc_reconfig_test
>> [ 38%] Built target usim_test
>> [ 38%] Built target tft_test
>> [ 38%] Built target nas_test
>> [ 38%] Built target srsenb_upper
>> [ 38%] Built target enb_cfg_parser
>> [ 38%] Built target srsenb_radio
>> [ 38%] Built target srsenb_phy
>> [ 38%] Built target srsenb_stack
>> [ 38%] Built target srsenb_mac
>> [ 38%] Built target srsenb_rrc
>> [ 38%] Linking CXX executable srsenb
>> [ 38%] Built target srsenb
>> [ 38%] Built target scheduler_test_rand
>> [ 38%] Built target scheduler_test
>> [ 38%] Built target rrc_mobility_test
>> [ 38%] Built target plmn_test
>> [ 38%] Built target erab_setup_test
>> [ 38%] Built target srsepc_mbms_gw
>> [ 38%] Built target srsmbms
>> [ 38%] Built target srsepc_sgw
>> [ 38%] Built target srsepc_mme
>> [ 38%] Built target srsepc_hss
>> [ 38%] Built target srsepc
>> "
>>
>> However, I tried to complete the steps again to run it with ZeroMQ but I
>> still cannot run
>> sudo ./srsepc/src/srsepc
>>
>> On Fri, Mar 20, 2020 at 8:14 PM Justin Tallon <
>> justin.tallon at softwareradiosystems.com> wrote:
>>
>>> Hey Ayman,
>>>
>>> So you seem to be having trouble with the Soapy driver which appears to
>>> be installed on your system.
>>>
>>> For now, why dont you turn off the Soapy compilation
>>> option(ENABLE_SOAPYSDR "Enable SoapySDR"                          OFF)
>>>
>>> delete the CMakeCache.txt file in your build folder and compile again.
>>>
>>>
>>> ____
>>> Justin Tallon Ph.D.
>>>
>>> Software Radio Systems (SRS)
>>> http://www.softwareradiosystems.com
>>>
>>> +353-86-067-0753 | justin.tallon at softwareradiosystems.com
>>>
>>>
>>> On Fri, Mar 20, 2020 at 10:10 AM Ayman Maghrabi <
>>> ayman.maghrabi at gmail.com> wrote:
>>>
>>>> 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/b08795d0/attachment.htm>


More information about the srsran-users mailing list