Just for future reference,

Problem:
If moving a module from one version of gnu radio to another, the shared object 
(DLL) links may break.

Solution:
Use the gr_modtool script on the destination machine to create a new module and 
add the blocks in your old module. Copy over the source, and everything should 
work.


Tommy James Tracy II
Ph.D Student
High Performance Low Power Lab
University of Virginia
Phone: 913-775-2241

On Sep 16, 2013, at 12:00 AM, Tommy Tracy II <tj...@virginia.edu> wrote:

> Dear List,
> 
>       I recently moved a custom block to a new virtual machine, built and 
> compiled, and tried to import. I get the following error:
> 
> >>> import router
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File 
> "/home/tjt7a/Src/target/lib/python2.7/dist-packages/router/__init__.py", line 
> 45, in <module>
>     from router_swig import *
>   File 
> "/home/tjt7a/Src/target/lib/python2.7/dist-packages/router/router_swig.py", 
> line 26, in <module>
>     _router_swig = swig_import_helper()
>   File 
> "/home/tjt7a/Src/target/lib/python2.7/dist-packages/router/router_swig.py", 
> line 22, in swig_import_helper
>     _mod = imp.load_module('_router_swig', fp, pathname, description)
> ImportError: /home/tjt7a/Src/target/lib/libgnuradio-router.so: undefined 
> symbol: _ZN2gr12msg_accepter4postEN5boost13intrusive_ptrIN3pmt8pmt_baseEEES5_
> 
> Investigating this line, I get:
> 
> tjt7a@ubuntu:~/Src$ c++filt 
> _ZN2gr12msg_accepter4postEN5boost13intrusive_ptrIN3pmt8pmt_baseEEES5_
> gr::msg_accepter::post(boost::intrusive_ptr<pmt::pmt_base>, 
> boost::intrusive_ptr<pmt::pmt_base>)
> 
> I'm running the new pybombs version:
> 
> tjt7a@ubuntu:~/Src$ gnuradio-config-info -v
> 3.7.2git-0-gd19aa281
> 
> Has anyone seen this?
> 
> Sincerely,
> Tommy James Tracy II
> Ph.D Student
> High Performance Low Power Lab
> University of Virginia
> Phone: 913-775-2241
> 

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

Reply via email to