Compilation issue

Leonardo Lazzaro lazzaroleonardo at gmail.com
Tue Nov 13 13:59:23 UTC 2012


Ok I tried to clone the gnuradio repo and it worked!!

It was failing with the gnuradio 3.6.2 that I downloaded from
http://gnuradio.org/releases/gnuradio/

Thanks!!

On Mon, Nov 12, 2012 at 6:26 PM, Dimitri Stolnikov <horiz0n at gmx.net> wrote:

> 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,
>
> Dimitri
>
>
> On Mon, 12 Nov 2012 21:31:59 +0100, Leonardo Lazzaro <
> lazzaroleonardo at gmail.com> wrote:
>
>  yes 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<http://sdr.osmocom.org/trac/wiki/rtl-sdr>
>>
>> Thanks!
>>
>> On Mon, Nov 12, 2012 at 5:15 PM, Dimitri Stolnikov <horiz0n at 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 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
>>>>
>>>>
>>>
>>


-- 
http://www.lazzaroleonardo.com.ar/
twitter @llazzaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20121113/fefeadec/attachment.html>


More information about the osmocom-sdr mailing list