I develop a new block to my own library (called gr_my_divisorcamadas_ff) . The compilation runs successfully, but when I execute a flow graph with any block from the library, I got the following message:
Traceback (most recent call last): File "/home/rt-dsp/Desktop/Howtowrite/gr-my-basic/top_block.py", line 14, in <module> import gr_my File "/usr/local/lib/python2.7/dist-packages/gr_my/__init__.py", line 40, in <module>
from gr_my_swig import * File "/usr/local/lib/python2.7/dist-packages/gr_my/gr_my_swig.py", line 24, in <module> _gr_my_swig = swig_import_helper() File "/usr/local/lib/python2.7/dist-packages/gr_my/gr_my_swig.py", line 20, in swig_import_helper
_mod = imp.load_module('_gr_my_swig', fp, pathname, description) ImportError: /usr/local/lib/libgnuradio-gr_my-3.3.0.so.0: undefined symbol: _ZTV23gr_my_divisorcamadas_ff
Even if I delete the reference from the new block in all make files and re-compile the library, the error still persist.