Hi raf,

I had similar problems when I was making OOT modules last summer. The
problem with me was that I had not defined the destructor for my blocks in
the .cc file.

You can run

cd /usr/local/lib/
nm libgnuradio-ieee_868_915.so | grep _ZN2gr6blocks12count_bits16Ej

and see if this symbol is undefined.

I had run

c++filt symbol-name

(replace symbol-name with _ZN2gr6blocks12count_bits16Ej in your case) to
see what this symbol is.


On Tue, Feb 11, 2014 at 1:43 AM, raf raf <raf...@hotmail.fr> wrote:

> Thank you, I had the same error when I did sudo ldconfig.
>
> Can you give me an other suggestion.
>
>
>
> ------------------------------
> From: adi...@cs.nyu.edu
> Date: Mon, 10 Feb 2014 13:40:34 -0500
> Subject: Re: [Discuss-gnuradio] .so: undefined symbol:
> _ZN2gr6blocks12count_bits16E
> To: bistrom...@gmail.com
> CC: raf...@hotmail.fr; discuss-gnuradio@gnu.org
>
>
> 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 <bistrom...@gmail.com>wrote:
>
> Usually a "make clean" will solve this.
>
> --n
>
>
> On Mon, Feb 10, 2014 at 9:57 AM, raf raf <raf...@hotmail.fr> 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
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>


-- 
Manu T S
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to