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
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:6: error: too many arguments to function ‘SoapySDRDevice_setupStream’
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
:>
root@listen:/home/listen/rx_tools-1.0.3# make
Scanning dependencies of target common
[ 12%] Building C object CMakeFiles/common.dir/src/convenience/convenience.c.o
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c: In function ‘verbose_device_search’:
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:38: warning: passing argument 2 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
| ^~~~~~~~~
| |
| SoapySDRStream ** {aka struct SoapySDRStream **}
In file included from /home/listen/rx_tools-1.0.3/src/convenience/convenience.h:33,
from /home/listen/rx_tools-1.0.3/src/convenience/convenience.c:22:
/usr/local/include/SoapySDR/Device.h:306:31: note: expected ‘int’ but argument is of type ‘SoapySDRStream **’ {aka ‘struct SoapySDRStream **’}
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:49: warning: passing argument 3 of ‘SoapySDRDevice_setupStream’ makes pointer from integer without a cast [-Wint-conversion]
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
| ^~~~~~~~~~~~
| |
| int
In file included from /home/listen/rx_tools-1.0.3/src/convenience/convenience.h:33,
from /home/listen/rx_tools-1.0.3/src/convenience/convenience.c:22:
/usr/local/include/SoapySDR/Device.h:306:31: note: expected ‘const char *’ but argument is of type ‘int’
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:63: warning: passing argument 4 of ‘SoapySDRDevice_setupStream’ from incompatible pointer type [-Wincompatible-pointer-types]
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
| ^~~~~~
| |
| const char *
In file included from /home/listen/rx_tools-1.0.3/src/convenience/convenience.h:33,
from /home/listen/rx_tools-1.0.3/src/convenience/convenience.c:22:
/usr/local/include/SoapySDR/Device.h:306:31: note: expected ‘const size_t *’ {aka ‘const long unsigned int *’} but argument is of type ‘const char *’
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:71: warning: passing argument 5 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
| ^~~~
| |
| void *
In file included from /home/listen/rx_tools-1.0.3/src/convenience/convenience.h:33,
from /home/listen/rx_tools-1.0.3/src/convenience/convenience.c:22:
/usr/local/include/SoapySDR/Device.h:306:31: note: expected ‘size_t’ {aka ‘const long unsigned int’} but argument is of type ‘void *’
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:6: error: too many arguments to function ‘SoapySDRDevice_setupStream’
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/listen/rx_tools-1.0.3/src/convenience/convenience.h:33,
from /home/listen/rx_tools-1.0.3/src/convenience/convenience.c:22:
/usr/local/include/SoapySDR/Device.h:306:31: note: declared here
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/common.dir/build.make:63: CMakeFiles/common.dir/src/convenience/convenience.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:163: CMakeFiles/common.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
how can i solve this?
The text was updated successfully, but these errors were encountered:
Hi, i got this error when i try to make
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:6: error: too many arguments to function ‘SoapySDRDevice_setupStream’
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
:>
root@listen:/home/listen/rx_tools-1.0.3# make
Scanning dependencies of target common
[ 12%] Building C object CMakeFiles/common.dir/src/convenience/convenience.c.o
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c: In function ‘verbose_device_search’:
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:38: warning: passing argument 2 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
| ^~~~~~~~~
| |
| SoapySDRStream ** {aka struct SoapySDRStream **}
In file included from /home/listen/rx_tools-1.0.3/src/convenience/convenience.h:33,
from /home/listen/rx_tools-1.0.3/src/convenience/convenience.c:22:
/usr/local/include/SoapySDR/Device.h:306:31: note: expected ‘int’ but argument is of type ‘SoapySDRStream **’ {aka ‘struct SoapySDRStream **’}
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:49: warning: passing argument 3 of ‘SoapySDRDevice_setupStream’ makes pointer from integer without a cast [-Wint-conversion]
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
| ^~~~~~~~~~~~
| |
| int
In file included from /home/listen/rx_tools-1.0.3/src/convenience/convenience.h:33,
from /home/listen/rx_tools-1.0.3/src/convenience/convenience.c:22:
/usr/local/include/SoapySDR/Device.h:306:31: note: expected ‘const char *’ but argument is of type ‘int’
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:63: warning: passing argument 4 of ‘SoapySDRDevice_setupStream’ from incompatible pointer type [-Wincompatible-pointer-types]
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
| ^~~~~~
| |
| const char *
In file included from /home/listen/rx_tools-1.0.3/src/convenience/convenience.h:33,
from /home/listen/rx_tools-1.0.3/src/convenience/convenience.c:22:
/usr/local/include/SoapySDR/Device.h:306:31: note: expected ‘const size_t *’ {aka ‘const long unsigned int *’} but argument is of type ‘const char *’
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:71: warning: passing argument 5 of ‘SoapySDRDevice_setupStream’ makes integer from pointer without a cast [-Wint-conversion]
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
| ^~~~
| |
| void *
In file included from /home/listen/rx_tools-1.0.3/src/convenience/convenience.h:33,
from /home/listen/rx_tools-1.0.3/src/convenience/convenience.c:22:
/usr/local/include/SoapySDR/Device.h:306:31: note: expected ‘size_t’ {aka ‘const long unsigned int’} but argument is of type ‘void *’
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/listen/rx_tools-1.0.3/src/convenience/convenience.c:491:6: error: too many arguments to function ‘SoapySDRDevice_setupStream’
491 | if (SoapySDRDevice_setupStream(dev, streamOut, SOAPY_SDR_RX, format, NULL, 0, &stream_args) != 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/listen/rx_tools-1.0.3/src/convenience/convenience.h:33,
from /home/listen/rx_tools-1.0.3/src/convenience/convenience.c:22:
/usr/local/include/SoapySDR/Device.h:306:31: note: declared here
306 | SOAPY_SDR_API SoapySDRStream *SoapySDRDevice_setupStream(SoapySDRDevice *device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/common.dir/build.make:63: CMakeFiles/common.dir/src/convenience/convenience.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:163: CMakeFiles/common.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
how can i solve this?
The text was updated successfully, but these errors were encountered: