You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build Falcon for rtlsdr, and running into some errors I'm not sure how to remedy.
after executing the following commands, I'll get the errors pasted down below:
cmake -DCMAKE_INSTALL_PREFIX=/usr ../ -DFORCE_SUBPROJECT_SRSLTE=ON^C
make
make seems to work fine until this line:
`...
[ 46%] Building C object srsLTE-build/lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_soapy_imp.c.o
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c: In function ‘rf_soapy_open_multi’:
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:52: warning: passing argument 2 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~~~~~~~~~~
| |
| SoapySDRStream **
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:307:15: note: expected ‘int’ but argument is of type ‘SoapySDRStream **’
307 | const int direction,
| ~~~~~~~~~~^~~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:74: warning: passing argument 3 of ‘SoapySDRDevice_setupStream’ makes pointer from integer without a cast [-Wint-conversion]
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~~
| |
| int
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:308:17: note: expected ‘const char *’ but argument is of type ‘int’
308 | const char *format,
| ~~~~~~~~~~~~^~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:88: warning: passing argument 4 of ‘SoapySDRDevice_setupStream’ from incompatible pointer type [-Wincompatible-pointer-types]
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~~~~
| |
| char *
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:309:19: note: expected ‘const size_t *’ {aka ‘const long unsigned int *’} but argument is of type ‘char *’
309 | const size_t *channels,
| ~~~~~~~~~~~~~~^~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:104: warning: passing argument 5 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~
| |
| size_t * {aka long unsigned int *}
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:310:18: note: expected ‘size_t’ {aka ‘const long unsigned int’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’}
310 | const size_t numChans,
| ~~~~~~~~~~~~~^~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:117: warning: passing argument 6 of ‘SoapySDRDevice_setupStream’ makes pointer from integer without a cast [-Wint-conversion]
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~
| |
| size_t {aka long unsigned int}
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:311:27: note: expected ‘const SoapySDRKwargs *’ but argument is of type ‘size_t’ {aka ‘long unsigned int’}
311 | const SoapySDRKwargs *args);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:8: error: too many arguments to function ‘SoapySDRDevice_setupStream’
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:306:31: note: declared here
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:356:53: warning: passing argument 2 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
356 | if (SoapySDRDevice_setupStream(handler->device, &(handler->txStream), SOAPY_SDR_TX, SOAPY_SDR_CF32, NULL, 0, NULL) != 0) {
| ^~~~~~~~~~~~~~~~~~~~
| |
| SoapySDRStream **
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:307:15: note: expected ‘int’ but argument is of type ‘SoapySDRStream **’
307 | const int direction,
| ~~~~~~~~~~^~~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:356:89: warning: passing argument 4 of ‘SoapySDRDevice_setupStream’ from incompatible pointer type [-Wincompatible-pointer-types]
356 | if (SoapySDRDevice_setupStream(handler->device, &(handler->txStream), SOAPY_SDR_TX, SOAPY_SDR_CF32, NULL, 0, NULL) != 0) {
| ^~~~~~~~~~~~~~
| |
| char *
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:309:19: note: expected ‘const size_t *’ {aka ‘const long unsigned int *’} but argument is of type ‘char *’
309 | const size_t *channels,
| ~~~~~~~~~~~~~~^~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:356:105: warning: passing argument 5 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
356 | if (SoapySDRDevice_setupStream(handler->device, &(handler->txStream), SOAPY_SDR_TX, SOAPY_SDR_CF32, NULL, 0, NULL) != 0) {
| ^~~~
| |
| void *
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:310:18: note: expected ‘size_t’ {aka ‘const long unsigned int’} but argument is of type ‘void *’
310 | const size_t numChans,
| ~~~~~~~~~~~~~^~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:356:9: error: too many arguments to function ‘SoapySDRDevice_setupStream’
356 | if (SoapySDRDevice_setupStream(handler->device, &(handler->txStream), SOAPY_SDR_TX, SOAPY_SDR_CF32, NULL, 0, NULL) != 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:306:31: note: declared here
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c: At top level:
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:726:42: warning: argument 2 of type ‘void *[4]’ with mismatched bound [-Warray-parameter=]
726 | void *data[SRSLTE_MAX_PORTS],
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:34:
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.h:95:52: note: previously declared as ‘void **’
95 | void **data,
| ~~~~~~~^~~~
make[2]: *** [srsLTE-build/lib/src/phy/rf/CMakeFiles/srslte_rf.dir/build.make:132: srsLTE-build/lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_soapy_imp.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3922: srsLTE-build/lib/src/phy/rf/CMakeFiles/srslte_rf.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
`
The text was updated successfully, but these errors were encountered:
I am trying to build Falcon for rtlsdr, and running into some errors I'm not sure how to remedy.
after executing the following commands, I'll get the errors pasted down below:
make seems to work fine until this line:
`...
[ 46%] Building C object srsLTE-build/lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_soapy_imp.c.o
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c: In function ‘rf_soapy_open_multi’:
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:52: warning: passing argument 2 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~~~~~~~~~~
| |
| SoapySDRStream **
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:307:15: note: expected ‘int’ but argument is of type ‘SoapySDRStream **’
307 | const int direction,
| ~~~~~~~~~~^~~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:74: warning: passing argument 3 of ‘SoapySDRDevice_setupStream’ makes pointer from integer without a cast [-Wint-conversion]
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~~
| |
| int
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:308:17: note: expected ‘const char *’ but argument is of type ‘int’
308 | const char *format,
| ~~~~~~~~~~~~^~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:88: warning: passing argument 4 of ‘SoapySDRDevice_setupStream’ from incompatible pointer type [-Wincompatible-pointer-types]
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~~~~
| |
| char *
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:309:19: note: expected ‘const size_t *’ {aka ‘const long unsigned int *’} but argument is of type ‘char *’
309 | const size_t *channels,
| ~~~~~~~~~~~~~~^~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:104: warning: passing argument 5 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~
| |
| size_t * {aka long unsigned int *}
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:310:18: note: expected ‘size_t’ {aka ‘const long unsigned int’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’}
310 | const size_t numChans,
| ~~~~~~~~~~~~~^~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:117: warning: passing argument 6 of ‘SoapySDRDevice_setupStream’ makes pointer from integer without a cast [-Wint-conversion]
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~
| |
| size_t {aka long unsigned int}
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:311:27: note: expected ‘const SoapySDRKwargs *’ but argument is of type ‘size_t’ {aka ‘long unsigned int’}
311 | const SoapySDRKwargs *args);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:347:8: error: too many arguments to function ‘SoapySDRDevice_setupStream’
347 | if(SoapySDRDevice_setupStream(handler->device, &(handler->rxStream), SOAPY_SDR_RX, SOAPY_SDR_CF32, rx_channels, numChannels, NULL) != 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:306:31: note: declared here
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:356:53: warning: passing argument 2 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
356 | if (SoapySDRDevice_setupStream(handler->device, &(handler->txStream), SOAPY_SDR_TX, SOAPY_SDR_CF32, NULL, 0, NULL) != 0) {
| ^~~~~~~~~~~~~~~~~~~~
| |
| SoapySDRStream **
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:307:15: note: expected ‘int’ but argument is of type ‘SoapySDRStream **’
307 | const int direction,
| ~~~~~~~~~~^~~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:356:89: warning: passing argument 4 of ‘SoapySDRDevice_setupStream’ from incompatible pointer type [-Wincompatible-pointer-types]
356 | if (SoapySDRDevice_setupStream(handler->device, &(handler->txStream), SOAPY_SDR_TX, SOAPY_SDR_CF32, NULL, 0, NULL) != 0) {
| ^~~~~~~~~~~~~~
| |
| char *
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:309:19: note: expected ‘const size_t *’ {aka ‘const long unsigned int *’} but argument is of type ‘char *’
309 | const size_t *channels,
| ~~~~~~~~~~~~~~^~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:356:105: warning: passing argument 5 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
356 | if (SoapySDRDevice_setupStream(handler->device, &(handler->txStream), SOAPY_SDR_TX, SOAPY_SDR_CF32, NULL, 0, NULL) != 0) {
| ^~~~
| |
| void *
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:310:18: note: expected ‘size_t’ {aka ‘const long unsigned int’} but argument is of type ‘void *’
310 | const size_t numChans,
| ~~~~~~~~~~~~~^~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:356:9: error: too many arguments to function ‘SoapySDRDevice_setupStream’
356 | if (SoapySDRDevice_setupStream(handler->device, &(handler->txStream), SOAPY_SDR_TX, SOAPY_SDR_CF32, NULL, 0, NULL) != 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:37:
/usr/include/SoapySDR/Device.h:306:31: note: declared here
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c: At top level:
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:726:42: warning: argument 2 of type ‘void *[4]’ with mismatched bound [-Warray-parameter=]
726 | void *data[SRSLTE_MAX_PORTS],
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.c:34:
/home/durandal/falcon/build/srsLTE-src/lib/src/phy/rf/rf_soapy_imp.h:95:52: note: previously declared as ‘void **’
95 | void **data,
| ~~~~~~~^~~~
make[2]: *** [srsLTE-build/lib/src/phy/rf/CMakeFiles/srslte_rf.dir/build.make:132: srsLTE-build/lib/src/phy/rf/CMakeFiles/srslte_rf.dir/rf_soapy_imp.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3922: srsLTE-build/lib/src/phy/rf/CMakeFiles/srslte_rf.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
`
The text was updated successfully, but these errors were encountered: