build/compiling gr-osmosdr airspy error

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Andreas Ladanyi andreas.ladanyi at gmx.net
Thu May 28 07:14:06 UTC 2015


Hi Dimitri,

doesnt pybombs install the last version of libairspy when download / 
build gr-osmosdr ???

What is the best way to update the libairspy when using pybombs ?

By the way iam using an odroid with ubuntu 14.04.

cheers,
Andy


Am 28.05.2015 um 00:06 schrieb Dimitri Stolnikov:
> Hi Andreas,
>
> your libairspy needs an update.
>
> Best regards,
> Dimitri
>
> On Wed, 27 May 2015 10:03:29 +0200, Andreas Ladanyi 
> <andreas.ladanyi at gmx.net> wrote:
>
>> Hi,
>>
>> iam installing gnuradio 3.7.7.1 and gr-osmosdr with pybombs.
>>
>> I get the following compiling error:
>>
>> [ 2%] Building CXX object 
>> lib/CMakeFiles/gnuradio-osmosdr.dir/airspy/airspy_source_c.cc.o
>> /home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.cc: In
>> constructor ‘airspy_source_c::airspy_source_c(const string&)’:
>> /home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.cc:115:45: 
>> error:
>> ‘airspy_get_samplerates’ was not declared in this scope
>> airspy_get_samplerates(_dev, &num_rates, 0);
>> ^
>> /home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.cc: In 
>> member
>> function ‘virtual double airspy_source_c::set_sample_rate(double)’:
>> /home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.cc:370:56: 
>> error:
>> invalid conversion from ‘uint32_t {aka unsigned int}’ to 
>> ‘airspy_samplerate_t’ [-fpermissive]
>> ret = airspy_set_samplerate( _dev, samp_rate_index );
>> ^
>> In file included from 
>> /home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.h:31:0,
>> from 
>> /home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_source_c.cc:42:
>> /usr/local/include/libairspy/airspy.h:126:27: error: initializing 
>> argument 2 of
>> ‘int airspy_set_samplerate(airspy_device*, airspy_samplerate_t)’ 
>> [-fpermissive]
>> extern ADDAPI int ADDCALL airspy_set_samplerate(struct airspy_device* 
>> device,
>> airspy_samplerate_t samplerate);
>> ^
>> make[2]: *** 
>> [lib/CMakeFiles/gnuradio-osmosdr.dir/airspy/airspy_source_c.cc.o]
>> Error 1
>> make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> So the gr-osmosdr build/install procedure will not finish.
>>
>> cheers,
>>
>> Andy




More information about the osmocom-sdr mailing list