discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] .so: undefined symbol: _ZN2gr6blocks12count_bits1


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] .so: undefined symbol: _ZN2gr6blocks12count_bits16E
Date: Tue, 11 Feb 2014 10:47:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bastians solution seems to have fixed your problem by adding the
gr-blocks library to your linker targets.
But now your error exposes that you didn't link against the gr-runtime.
Are you sure you have something like
set(GR_REQUIRED_COMPONENTS RUNTIME BLOCKS)
and not deleted the RUNTIME component, leaving only
set(GR_REQUIRED_COMPONENTS BLOCKS)
?

could you please share your project (preferably on github or bitbucket
or the like) or at least the CMakeLists (e.g gists.github.com,
pastebin, or the like) ?

Greetings,
Marcus


On 11.02.2014 10:41, raf raf wrote:
> Hi,
> 
> Thank you Batian for your feedback;
> 
> I try to install a new module  based on a blocks of ieeee 802.15.4
> for gnuradio 3.7.
> 
> I followed your indications and the advise of Manu, I found after a
> modification a similar error with a message :
> 
> ImportError: /usr/local/lib/libgnuradio-ieee_868_915.so: undefined
> symbol:
> _ZN2gr12msg_accepter4postEN5boost13intrusive_ptrIN3pmt8pmt_baseEEES5_
>
>  After using c++filt I got :
> 
> gr::msg_accepter::post(boost::intrusive_ptr<pmt::pmt_base>,
> boost::intrusive_ptr<pmt::pmt_base>)
> 
> Please help me.
> 
> 
>> From: address@hidden Date: Mon, 10 Feb 2014 21:13:39
>> +0100 To: address@hidden CC: address@hidden Subject:
>> Re: [Discuss-gnuradio] .so: undefined symbol:
>> _ZN2gr6blocks12count_bits16E
>> 
>> Hi Aditya,
>> 
>> just in case the problem still exists, you might miss something
>> like this in your cmake files
>> 
>> https://github.com/bastibl/gr-ieee802-15-4/commit/a586256ad5e3fe1cf8c998a68a7276adf6e2d691
>>
>>
>> 
Best,
>> Bastian
>> 
>> 
>> On 10 Feb 2014, at 19:40, Aditya Dhananjay <address@hidden>
>> wrote:
>> 
>>> You could also try "sudo ldconfig". It looks like the linker
>>> can't find some required symbols.
>>> 
>>> Happy hacking!
>>> 
>>> 
>>> On Mon, Feb 10, 2014 at 12:59 PM, Nick Foster
>>> <address@hidden> wrote: Usually a "make clean" will solve
>>> this.
>>> 
>>> --n
>>> 
>>> 
>>> On Mon, Feb 10, 2014 at 9:57 AM, raf raf <address@hidden>
>>> wrote: Hi all gnuradio users,
>>> 
>>> I have an error when I try to execute a python script after
>>> adding a new block.
>>> 
>>> My block is add to a gnuradio 3.7 with gr_modtool with a
>>> command :
>>> 
>>> 
>>> 
>>> gr_modtool add -t sync packet_sink
>>> 
>>> The module containing a blocks is ieee_868_915. The error is
>>> :
>>> 
>>> Traceback (most recent call last): File
>>> "./qa_symbols_to_chips_bs.py", line 25, in <module> import
>>> ieee_868_915 File
>>> "/usr/local/lib/python2.7/dist-packages/ieee_868_915/__init__.py",
>>> line 45, in <module> from ieee_868_915_swig import * File
>>> "/usr/local/lib/python2.7/dist-packages/ieee_868_915/ieee_868_915_swig.py",
>>> line 26, in <module> _ieee_868_915_swig = swig_import_helper() 
>>> File
>>> "/usr/local/lib/python2.7/dist-packages/ieee_868_915/ieee_868_915_swig.py",
>>> line 22, in swig_import_helper _mod =
>>> imp.load_module('_ieee_868_915_swig', fp, pathname,
>>> description) ImportError:
>>> /usr/local/lib/libgnuradio-ieee_868_915.so: undefined symbol:
>>> _ZN2gr6blocks12count_bits16Ej
>>> 
>>> 
>>> I tried to delete a lib file libgnuradio-ieee_868_915.so and
>>> reinstall all a block, but it didn't give a result.
>>> 
>>> 
>>> Please help me to fix this error.
>>> 
>>> Thank you.
>>> 
>>> _______________________________________________ 
>>> Discuss-gnuradio mailing list address@hidden 
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>> 
>>> 
>>> 
>>> _______________________________________________ 
>>> Discuss-gnuradio mailing list address@hidden 
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>> 
>>> 
>>> _______________________________________________ 
>>> Discuss-gnuradio mailing list address@hidden 
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>> 
>> 
>> _______________________________________________ Discuss-gnuradio
>> mailing list address@hidden 
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> 
> 
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden 
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS+fGrAAoJEAFxB7BbsDrLHTIH/RDGJLZ0zX82hTRCRUP02ppe
Fzvf4lBfSY3+5dKu29tuva17KWOXu+vRJN+B1lWkzn8j2CRXjCp8OPowe+VjQsKl
H9xFrzpWcDTbYbxWVB+hfj4L/h3zHmEnfM++EF0XtQMMDMTl7RDZTZfKBBT8Tvai
B3ogVLz7O93II23pHYO5B08jIL0T60k7t9G3Z+EYm1+jkpK3WBG4SrE186M7AyV1
w2NeYuKhx4sGMw8mkOEl+rGI9tkYErAzzVwBDDdbQILNU70HToMiqV6i2dNvGK//
UN6U5sEegRNhin/9PaxPi2OGAhI7/6j2FrK8bMbnME89Ho7greHtLVVEb4pXQ+I=
=T7rd
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]