Project

General

Profile

Actions

Bug #5731

open

Install gr-osmosdr on Ubuntu 20.04

Added by OjunbamO over 1 year ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
10/27/2022
Due date:
% Done:

0%

Spec Reference:

Description

Hi Osmocom Team,

in our company we wanna use gnuradio in combination with the gr-osmosdr tools. I tried to install it directly via the debian packages. But in combination with the gnuradio 3.10 version it is incompatible and fails constantly on the init.py in line 21 when trying to import osmosdr python packages. But it also is dropping the same error if we use gnuradio 3.9 or 3.7.

After that I tried to build the gr-osmosdr from source. By the way here is your documentation outdated on every documentation says git.osmocom.org: https://osmocom.org/projects/gr-osmosdr/wiki. After some time I found the synced github project but also your gittea instance. Then finally I cloned the repository, tried to build it and now facing this error:

root@CL25CA052:/tmp/gr-osmosdr/build# make
Scanning dependencies of target gnuradio-osmosdr
[  2%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o
/tmp/gr-osmosdr/lib/source_impl.cc: In static member function ‘static osmosdr::source::sptr osmosdr::source::make(const string&)’:
/tmp/gr-osmosdr/lib/source_impl.cc:105:36: error: could not convert ‘gnuradio::get_initial_sptr(T*) [with T = source_impl]()’ from ‘boost::shared_ptr<source_impl>’ to ‘osmosdr::source::sptr’ {aka ‘std::shared_ptr<osmosdr::source>’}
  105 |   return gnuradio::get_initial_sptr( new source_impl(args) );
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    boost::shared_ptr<source_impl>
/tmp/gr-osmosdr/lib/source_impl.cc: In constructor ‘source_impl::source_impl(const string&)’:
/tmp/gr-osmosdr/lib/source_impl.cc:280:15: error: no match for ‘operator=(operand types are ‘gr::basic_block_sptr’ {aka ‘boost::shared_ptr<gr::basic_block>’} and ‘file_source_c_sptr’ {aka ‘std::shared_ptr<file_source_c>’})
  280 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<T>&) [with T = gr::basic_block]’
  547 |     shared_ptr & operator=( shared_ptr const & r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:48: note:   no known conversion for argument 1 from ‘file_source_c_sptr’ {aka ‘std::shared_ptr<file_source_c>’} to ‘const boost::shared_ptr<gr::basic_block>&’
  547 |     shared_ptr & operator=( shared_ptr const & r ) BOOST_SP_NOEXCEPT
      |                             ~~~~~~~~~~~~~~~~~~~^
/usr/include/boost/smart_ptr/shared_ptr.hpp:556:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<Y>&) [with Y = Y; T = gr::basic_block]’
  556 |     shared_ptr & operator=(shared_ptr<Y> const & r) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:556:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:280:15: note:   ‘file_source_c_sptr’ {aka ‘std::shared_ptr<file_source_c>’} is not derived from ‘const boost::shared_ptr<X>’
  280 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:567:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&) [with Y = Y; T = gr::basic_block]’
  567 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:567:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:280:15: note:   ‘file_source_c_sptr’ {aka ‘std::shared_ptr<file_source_c>’} is not derived from ‘std::auto_ptr<Y>’
  280 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:576:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&) [with Y = Y; T = gr::basic_block]’
  576 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:576:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:280:15: note:   ‘file_source_c_sptr’ {aka ‘std::shared_ptr<file_source_c>’} is not derived from ‘std::auto_ptr<Y>’
  280 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:598:18: note: candidate: ‘template<class Y, class D> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::unique_ptr<_Up, _Ep>&&) [with Y = Y; D = D; T = gr::basic_block]’
  598 |     shared_ptr & operator=( std::unique_ptr<Y, D> && r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:598:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:280:15: note:   ‘file_source_c_sptr’ {aka ‘std::shared_ptr<file_source_c>’} is not derived from ‘std::unique_ptr<_Tp, _Dp>’
  280 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:607:18: note: candidate: ‘template<class Y, class D> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::movelib::unique_ptr<Y, D>) [with Y = Y; D = D; T = gr::basic_block]’
  607 |     shared_ptr & operator=( boost::movelib::unique_ptr<Y, D> r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:607:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:280:15: note:   ‘std::shared_ptr<file_source_c>’ is not derived from ‘boost::movelib::unique_ptr<Y, D>’
  280 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:658:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::shared_ptr<T>&&) [with T = gr::basic_block]’
  658 |     shared_ptr & operator=( shared_ptr && r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:658:43: note:   no known conversion for argument 1 from ‘file_source_c_sptr’ {aka ‘std::shared_ptr<file_source_c>’} to ‘boost::shared_ptr<gr::basic_block>&&’
  658 |     shared_ptr & operator=( shared_ptr && r ) BOOST_SP_NOEXCEPT
      |                             ~~~~~~~~~~~~~~^
/usr/include/boost/smart_ptr/shared_ptr.hpp:665:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::shared_ptr<Y>&&) [with Y = Y; T = gr::basic_block]’
  665 |     shared_ptr & operator=( shared_ptr<Y> && r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:665:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:280:15: note:   ‘file_source_c_sptr’ {aka ‘std::shared_ptr<file_source_c>’} is not derived from ‘boost::shared_ptr<X>’
  280 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:683:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::detail::sp_nullptr_t) [with T = gr::basic_block; boost::detail::sp_nullptr_t = std::nullptr_t]’
  683 |     shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:683:29: note:   no known conversion for argument 1 from ‘file_source_c_sptr’ {aka ‘std::shared_ptr<file_source_c>’} to ‘boost::detail::sp_nullptr_t’ {aka ‘std::nullptr_t’}
  683 |     shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/gr-osmosdr/lib/source_impl.cc:294:15: error: no match for ‘operator=(operand types are ‘gr::basic_block_sptr’ {aka ‘boost::shared_ptr<gr::basic_block>’} and ‘rtl_tcp_source_c_sptr’ {aka ‘std::shared_ptr<rtl_tcp_source_c>’})
  294 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<T>&) [with T = gr::basic_block]’
  547 |     shared_ptr & operator=( shared_ptr const & r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:48: note:   no known conversion for argument 1 from ‘rtl_tcp_source_c_sptr’ {aka ‘std::shared_ptr<rtl_tcp_source_c>’} to ‘const boost::shared_ptr<gr::basic_block>&’
  547 |     shared_ptr & operator=( shared_ptr const & r ) BOOST_SP_NOEXCEPT
      |                             ~~~~~~~~~~~~~~~~~~~^
/usr/include/boost/smart_ptr/shared_ptr.hpp:556:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<Y>&) [with Y = Y; T = gr::basic_block]’
  556 |     shared_ptr & operator=(shared_ptr<Y> const & r) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:556:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:294:15: note:   ‘rtl_tcp_source_c_sptr’ {aka ‘std::shared_ptr<rtl_tcp_source_c>’} is not derived from ‘const boost::shared_ptr<X>’
  294 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:567:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&) [with Y = Y; T = gr::basic_block]’
  567 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:567:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:294:15: note:   ‘rtl_tcp_source_c_sptr’ {aka ‘std::shared_ptr<rtl_tcp_source_c>’} is not derived from ‘std::auto_ptr<Y>’
  294 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:576:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&) [with Y = Y; T = gr::basic_block]’
  576 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:576:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:294:15: note:   ‘rtl_tcp_source_c_sptr’ {aka ‘std::shared_ptr<rtl_tcp_source_c>’} is not derived from ‘std::auto_ptr<Y>’
  294 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:598:18: note: candidate: ‘template<class Y, class D> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::unique_ptr<_Up, _Ep>&&) [with Y = Y; D = D; T = gr::basic_block]’
  598 |     shared_ptr & operator=( std::unique_ptr<Y, D> && r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:598:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:294:15: note:   ‘rtl_tcp_source_c_sptr’ {aka ‘std::shared_ptr<rtl_tcp_source_c>’} is not derived from ‘std::unique_ptr<_Tp, _Dp>’
  294 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:607:18: note: candidate: ‘template<class Y, class D> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::movelib::unique_ptr<Y, D>) [with Y = Y; D = D; T = gr::basic_block]’
  607 |     shared_ptr & operator=( boost::movelib::unique_ptr<Y, D> r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:607:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:294:15: note:   ‘std::shared_ptr<rtl_tcp_source_c>’ is not derived from ‘boost::movelib::unique_ptr<Y, D>’
  294 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:658:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::shared_ptr<T>&&) [with T = gr::basic_block]’
  658 |     shared_ptr & operator=( shared_ptr && r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:658:43: note:   no known conversion for argument 1 from ‘rtl_tcp_source_c_sptr’ {aka ‘std::shared_ptr<rtl_tcp_source_c>’} to ‘boost::shared_ptr<gr::basic_block>&&’
  658 |     shared_ptr & operator=( shared_ptr && r ) BOOST_SP_NOEXCEPT
      |                             ~~~~~~~~~~~~~~^
/usr/include/boost/smart_ptr/shared_ptr.hpp:665:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::shared_ptr<Y>&&) [with Y = Y; T = gr::basic_block]’
  665 |     shared_ptr & operator=( shared_ptr<Y> && r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:665:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:294:15: note:   ‘rtl_tcp_source_c_sptr’ {aka ‘std::shared_ptr<rtl_tcp_source_c>’} is not derived from ‘boost::shared_ptr<X>’
  294 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:683:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::detail::sp_nullptr_t) [with T = gr::basic_block; boost::detail::sp_nullptr_t = std::nullptr_t]’
  683 |     shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:683:29: note:   no known conversion for argument 1 from ‘rtl_tcp_source_c_sptr’ {aka ‘std::shared_ptr<rtl_tcp_source_c>’} to ‘boost::detail::sp_nullptr_t’ {aka ‘std::nullptr_t’}
  683 |     shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/gr-osmosdr/lib/source_impl.cc:333:15: error: no match for ‘operator=(operand types are ‘gr::basic_block_sptr’ {aka ‘boost::shared_ptr<gr::basic_block>’} and ‘rfspace_source_c_sptr’ {aka ‘std::shared_ptr<rfspace_source_c>’})
  333 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<T>&) [with T = gr::basic_block]’
  547 |     shared_ptr & operator=( shared_ptr const & r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:48: note:   no known conversion for argument 1 from ‘rfspace_source_c_sptr’ {aka ‘std::shared_ptr<rfspace_source_c>’} to ‘const boost::shared_ptr<gr::basic_block>&’
  547 |     shared_ptr & operator=( shared_ptr const & r ) BOOST_SP_NOEXCEPT
      |                             ~~~~~~~~~~~~~~~~~~~^
/usr/include/boost/smart_ptr/shared_ptr.hpp:556:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<Y>&) [with Y = Y; T = gr::basic_block]’
  556 |     shared_ptr & operator=(shared_ptr<Y> const & r) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:556:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:333:15: note:   ‘rfspace_source_c_sptr’ {aka ‘std::shared_ptr<rfspace_source_c>’} is not derived from ‘const boost::shared_ptr<X>’
  333 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:567:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&) [with Y = Y; T = gr::basic_block]’
  567 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:567:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:333:15: note:   ‘rfspace_source_c_sptr’ {aka ‘std::shared_ptr<rfspace_source_c>’} is not derived from ‘std::auto_ptr<Y>’
  333 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:576:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&) [with Y = Y; T = gr::basic_block]’
  576 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:576:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:333:15: note:   ‘rfspace_source_c_sptr’ {aka ‘std::shared_ptr<rfspace_source_c>’} is not derived from ‘std::auto_ptr<Y>’
  333 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:598:18: note: candidate: ‘template<class Y, class D> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::unique_ptr<_Up, _Ep>&&) [with Y = Y; D = D; T = gr::basic_block]’
  598 |     shared_ptr & operator=( std::unique_ptr<Y, D> && r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:598:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:333:15: note:   ‘rfspace_source_c_sptr’ {aka ‘std::shared_ptr<rfspace_source_c>’} is not derived from ‘std::unique_ptr<_Tp, _Dp>’
  333 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:607:18: note: candidate: ‘template<class Y, class D> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::movelib::unique_ptr<Y, D>) [with Y = Y; D = D; T = gr::basic_block]’
  607 |     shared_ptr & operator=( boost::movelib::unique_ptr<Y, D> r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:607:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:333:15: note:   ‘std::shared_ptr<rfspace_source_c>’ is not derived from ‘boost::movelib::unique_ptr<Y, D>’
  333 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:658:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::shared_ptr<T>&&) [with T = gr::basic_block]’
  658 |     shared_ptr & operator=( shared_ptr && r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:658:43: note:   no known conversion for argument 1 from ‘rfspace_source_c_sptr’ {aka ‘std::shared_ptr<rfspace_source_c>’} to ‘boost::shared_ptr<gr::basic_block>&&’
  658 |     shared_ptr & operator=( shared_ptr && r ) BOOST_SP_NOEXCEPT
      |                             ~~~~~~~~~~~~~~^
/usr/include/boost/smart_ptr/shared_ptr.hpp:665:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::shared_ptr<Y>&&) [with Y = Y; T = gr::basic_block]’
  665 |     shared_ptr & operator=( shared_ptr<Y> && r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:665:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:333:15: note:   ‘rfspace_source_c_sptr’ {aka ‘std::shared_ptr<rfspace_source_c>’} is not derived from ‘boost::shared_ptr<X>’
  333 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:683:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::detail::sp_nullptr_t) [with T = gr::basic_block; boost::detail::sp_nullptr_t = std::nullptr_t]’
  683 |     shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:683:29: note:   no known conversion for argument 1 from ‘rfspace_source_c_sptr’ {aka ‘std::shared_ptr<rfspace_source_c>’} to ‘boost::detail::sp_nullptr_t’ {aka ‘std::nullptr_t’}
  683 |     shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/gr-osmosdr/lib/source_impl.cc:354:15: error: no match for ‘operator=(operand types are ‘gr::basic_block_sptr’ {aka ‘boost::shared_ptr<gr::basic_block>’} and ‘soapy_source_c_sptr’ {aka ‘std::shared_ptr<soapy_source_c>’})
  354 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<T>&) [with T = gr::basic_block]’
  547 |     shared_ptr & operator=( shared_ptr const & r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:48: note:   no known conversion for argument 1 from ‘soapy_source_c_sptr’ {aka ‘std::shared_ptr<soapy_source_c>’} to ‘const boost::shared_ptr<gr::basic_block>&’
  547 |     shared_ptr & operator=( shared_ptr const & r ) BOOST_SP_NOEXCEPT
      |                             ~~~~~~~~~~~~~~~~~~~^
/usr/include/boost/smart_ptr/shared_ptr.hpp:556:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<Y>&) [with Y = Y; T = gr::basic_block]’
  556 |     shared_ptr & operator=(shared_ptr<Y> const & r) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:556:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:354:15: note:   ‘soapy_source_c_sptr’ {aka ‘std::shared_ptr<soapy_source_c>’} is not derived from ‘const boost::shared_ptr<X>’
  354 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:567:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&) [with Y = Y; T = gr::basic_block]’
  567 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:567:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:354:15: note:   ‘soapy_source_c_sptr’ {aka ‘std::shared_ptr<soapy_source_c>’} is not derived from ‘std::auto_ptr<Y>’
  354 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:576:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&) [with Y = Y; T = gr::basic_block]’
  576 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:576:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:354:15: note:   ‘soapy_source_c_sptr’ {aka ‘std::shared_ptr<soapy_source_c>’} is not derived from ‘std::auto_ptr<Y>’
  354 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:598:18: note: candidate: ‘template<class Y, class D> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::unique_ptr<_Up, _Ep>&&) [with Y = Y; D = D; T = gr::basic_block]’
  598 |     shared_ptr & operator=( std::unique_ptr<Y, D> && r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:598:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:354:15: note:   ‘soapy_source_c_sptr’ {aka ‘std::shared_ptr<soapy_source_c>’} is not derived from ‘std::unique_ptr<_Tp, _Dp>’
  354 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:607:18: note: candidate: ‘template<class Y, class D> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::movelib::unique_ptr<Y, D>) [with Y = Y; D = D; T = gr::basic_block]’
  607 |     shared_ptr & operator=( boost::movelib::unique_ptr<Y, D> r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:607:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:354:15: note:   ‘std::shared_ptr<soapy_source_c>’ is not derived from ‘boost::movelib::unique_ptr<Y, D>’
  354 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:658:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::shared_ptr<T>&&) [with T = gr::basic_block]’
  658 |     shared_ptr & operator=( shared_ptr && r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:658:43: note:   no known conversion for argument 1 from ‘soapy_source_c_sptr’ {aka ‘std::shared_ptr<soapy_source_c>’} to ‘boost::shared_ptr<gr::basic_block>&&’
  658 |     shared_ptr & operator=( shared_ptr && r ) BOOST_SP_NOEXCEPT
      |                             ~~~~~~~~~~~~~~^
/usr/include/boost/smart_ptr/shared_ptr.hpp:665:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::shared_ptr<Y>&&) [with Y = Y; T = gr::basic_block]’
  665 |     shared_ptr & operator=( shared_ptr<Y> && r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:665:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:354:15: note:   ‘soapy_source_c_sptr’ {aka ‘std::shared_ptr<soapy_source_c>’} is not derived from ‘boost::shared_ptr<X>’
  354 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:683:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::detail::sp_nullptr_t) [with T = gr::basic_block; boost::detail::sp_nullptr_t = std::nullptr_t]’
  683 |     shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:683:29: note:   no known conversion for argument 1 from ‘soapy_source_c_sptr’ {aka ‘std::shared_ptr<soapy_source_c>’} to ‘boost::detail::sp_nullptr_t’ {aka ‘std::nullptr_t’}
  683 |     shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/gr-osmosdr/lib/source_impl.cc:361:15: error: no match for ‘operator=(operand types are ‘gr::basic_block_sptr’ {aka ‘boost::shared_ptr<gr::basic_block>’} and ‘redpitaya_source_c_sptr’ {aka ‘std::shared_ptr<redpitaya_source_c>’})
  361 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<T>&) [with T = gr::basic_block]’
  547 |     shared_ptr & operator=( shared_ptr const & r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:547:48: note:   no known conversion for argument 1 from ‘redpitaya_source_c_sptr’ {aka ‘std::shared_ptr<redpitaya_source_c>’} to ‘const boost::shared_ptr<gr::basic_block>&’
  547 |     shared_ptr & operator=( shared_ptr const & r ) BOOST_SP_NOEXCEPT
      |                             ~~~~~~~~~~~~~~~~~~~^
/usr/include/boost/smart_ptr/shared_ptr.hpp:556:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(const boost::shared_ptr<Y>&) [with Y = Y; T = gr::basic_block]’
  556 |     shared_ptr & operator=(shared_ptr<Y> const & r) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:556:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:361:15: note:   ‘redpitaya_source_c_sptr’ {aka ‘std::shared_ptr<redpitaya_source_c>’} is not derived from ‘const boost::shared_ptr<X>’
  361 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:567:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&) [with Y = Y; T = gr::basic_block]’
  567 |     shared_ptr & operator=( std::auto_ptr<Y> & r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:567:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:361:15: note:   ‘redpitaya_source_c_sptr’ {aka ‘std::shared_ptr<redpitaya_source_c>’} is not derived from ‘std::auto_ptr<Y>’
  361 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:576:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&) [with Y = Y; T = gr::basic_block]’
  576 |     shared_ptr & operator=( std::auto_ptr<Y> && r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:576:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:361:15: note:   ‘redpitaya_source_c_sptr’ {aka ‘std::shared_ptr<redpitaya_source_c>’} is not derived from ‘std::auto_ptr<Y>’
  361 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:598:18: note: candidate: ‘template<class Y, class D> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::unique_ptr<_Up, _Ep>&&) [with Y = Y; D = D; T = gr::basic_block]’
  598 |     shared_ptr & operator=( std::unique_ptr<Y, D> && r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:598:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:361:15: note:   ‘redpitaya_source_c_sptr’ {aka ‘std::shared_ptr<redpitaya_source_c>’} is not derived from ‘std::unique_ptr<_Tp, _Dp>’
  361 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:607:18: note: candidate: ‘template<class Y, class D> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::movelib::unique_ptr<Y, D>) [with Y = Y; D = D; T = gr::basic_block]’
  607 |     shared_ptr & operator=( boost::movelib::unique_ptr<Y, D> r )
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:607:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:361:15: note:   ‘std::shared_ptr<redpitaya_source_c>’ is not derived from ‘boost::movelib::unique_ptr<Y, D>’
  361 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:658:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::shared_ptr<T>&&) [with T = gr::basic_block]’
  658 |     shared_ptr & operator=( shared_ptr && r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:658:43: note:   no known conversion for argument 1 from ‘redpitaya_source_c_sptr’ {aka ‘std::shared_ptr<redpitaya_source_c>’} to ‘boost::shared_ptr<gr::basic_block>&&’
  658 |     shared_ptr & operator=( shared_ptr && r ) BOOST_SP_NOEXCEPT
      |                             ~~~~~~~~~~~~~~^
/usr/include/boost/smart_ptr/shared_ptr.hpp:665:18: note: candidate: ‘template<class Y> boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::shared_ptr<Y>&&) [with Y = Y; T = gr::basic_block]’
  665 |     shared_ptr & operator=( shared_ptr<Y> && r ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:665:18: note:   template argument deduction/substitution failed:
/tmp/gr-osmosdr/lib/source_impl.cc:361:15: note:   ‘redpitaya_source_c_sptr’ {aka ‘std::shared_ptr<redpitaya_source_c>’} is not derived from ‘boost::shared_ptr<X>’
  361 |       block = src; iface = src.get();
      |               ^~~
In file included from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/local/include/gnuradio/types.h:28,
                 from /usr/local/include/gnuradio/runtime_types.h:27,
                 from /usr/local/include/gnuradio/io_signature.h:27,
                 from /tmp/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/boost/smart_ptr/shared_ptr.hpp:683:18: note: candidate: ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(boost::detail::sp_nullptr_t) [with T = gr::basic_block; boost::detail::sp_nullptr_t = std::nullptr_t]’
  683 |     shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT
      |                  ^~~~~~~~
/usr/include/boost/smart_ptr/shared_ptr.hpp:683:29: note:   no known conversion for argument 1 from ‘redpitaya_source_c_sptr’ {aka ‘std::shared_ptr<redpitaya_source_c>’} to ‘boost::detail::sp_nullptr_t’ {aka ‘std::nullptr_t’}
  683 |     shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/build.make:63: lib/CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:375: lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
root@CL25CA052:/tmp/gr-osmosdr/build# 

I think I have all relevant dev packages and librarys installed. So I can't find the problem with trying to run osmosdr tools with gnuradio.

Thank you very much in advance! Would be great to have this fixed.

Regards
Tobias

No data to display

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)