Compilation issue

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/.

Dimitri Stolnikov horiz0n at gmx.net
Mon Nov 12 20:15:56 UTC 2012


Hi Leonardo,

you should have provided a little more information than this, like what is  
your gr version (there are *many* of them out there) and which compiler  
are you using?


Best regards,

Dimitri


On Mon, 12 Nov 2012 20:28:42 +0100, Leonardo Lazzaro  
<lazzaroleonardo at gmail.com> wrote:

> Hi!
>
> I was trying to compile the osmocom sdr project and also trying to  
> report a
> compilation error.
> I will like to have an account to contribute.
>
> this was the error I got:
>
> In file included from
> /home/llazzaro/tmp/gr-osmosdr/lib/osmosdr_source_c_impl.h:23:0,
>                  from
> /home/llazzaro/tmp/gr-osmosdr/lib/osmosdr_source_c_impl.cc:30:
> /home/llazzaro/tmp/gr-osmosdr/include/osmosdr/osmosdr_source_c.h: In
> constructor ‘osmosdr_source_c::osmosdr_source_c()’:
> /home/llazzaro/tmp/gr-osmosdr/include/osmosdr/osmosdr_source_c.h:57:19:
> error: no matching function for call to  
> ‘gr_hier_block2::gr_hier_block2()’
> /home/llazzaro/tmp/gr-osmosdr/include/osmosdr/osmosdr_source_c.h:57:19:
> note: candidates are:
> /usr/include/gnuradio/gr_hier_block2.h:57:3: note:
> gr_hier_block2::gr_hier_block2(const string&, gr_io_signature_sptr,
> gr_io_signature_sptr)
> /usr/include/gnuradio/gr_hier_block2.h:57:3: note:   candidate expects 3
> arguments, 0 provided
> /usr/include/gnuradio/gr_hier_block2.h:43:7: note:
> gr_hier_block2::gr_hier_block2(const gr_hier_block2&)
> /usr/include/gnuradio/gr_hier_block2.h:43:7: note:   candidate expects 1
> argument, 0 provided
> /home/llazzaro/tmp/gr-osmosdr/lib/osmosdr_source_c_impl.cc: In  
> constructor
> ‘osmosdr_source_c_impl::osmosdr_source_c_impl(const string&)’:
> /home/llazzaro/tmp/gr-osmosdr/lib/osmosdr_source_c_impl.cc:83:35: note:
> synthesized method ‘osmosdr_source_c::osmosdr_source_c()’ first required
> here
> make[2]: ***
> [lib/CMakeFiles/gnuradio-osmosdr.dir/osmosdr_source_c_impl.cc.o] Error 1
> make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
> make: *** [all] Error 2




More information about the osmocom-sdr mailing list