I'm using autotools. And I checked many times, and all the Makefiles are updated correctly with the new block's information.
One strange point is that even if I delete all the references from the block from all the Makefiles, the problem still persist. Att, 2012/2/29 Tom Rondeau <t...@trondeau.com> > On Wed, Feb 29, 2012 at 5:26 PM, André Selva <andrefse...@gmail.com>wrote: > >> Hi! >> >> 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. >> >> Any ideas? >> >> >> Best Regards, >> -- >> André F. B. Selva - >> > > We're going to need more information. Are you using cmake or autotools > (Makefile.am) to do this? Are you sure you're editing the .cc, .h, and .i > files, AND are you making sure that the relevant files in your build system > are updated with the correct information? > > The error just sounds like you haven't gotten all of the files updated > correctly. > > Tom > > -- André F. B. Selva - SECOMP - Semana da Computação da Unicamp 2012 Coordenador Geral CACo - Centro Acadêmico da Computação
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio