On 01/12/2012 08:50 PM, Joshua Stahl wrote: > Hello, > I have created a block in c++ which needs to retune after a certain number > of samples have passed through. To accomplish this I am passing a > uhd_usrp_sink block to my block from python and then I am attempting to > retune after a certain number of samples. The block compiles correctly and > it runs fine unless I have the retune code in the block. If I attempt to > retune from c++ I get this message on trying to import the module: > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > 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/lib64/libgnuradio-gr_my-3.3.0.so.0: undefined > symbol: _ZN3uhd14tune_request_tC1Ed >
Its a missing symbol. Try linking your library against libuhd. -Josh _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio