Ok I tried to clone the gnuradio repo and it worked!!
Now this is strange, using gr v3.6.2-112-gfa4f1c2f here myself. Others have confirmed it builds fine on recent Ubuntu as well (didn't try that myself).
Can you check if there are any leftovers from the package version of gr and then delete build directory & retry from scratch?
Best regards,
Dimitriyes sure!
gnurario is 3.6.2
gr version is the master from git repo. (Building for version: cf807398 /
0.0.1git)
compiler : gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
I followed this guide : http://sdr.osmocom.org/trac/wiki/rtl-sdr
Thanks!
On Mon, Nov 12, 2012 at 5:15 PM, Dimitri Stolnikov <horiz0n@gmx.net> wrote:
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@gmail.com> wrote:
Hi!
/home/llazzaro/tmp/gr-osmosdr/**lib/osmosdr_source_c_impl.h:**23:0,
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
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_**/usr/include/gnuradio/gr_hier_**block2.h:57:3: note:
source_c.h:57:19:
note: candidates are:
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[lib/CMakeFiles/gnuradio-**osmosdr.dir/osmosdr_source_c_**impl.cc.o]
required
here
make[2]: ***
Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-**osmosdr.dir/all] Error 2
make: *** [all] Error 2