discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Runtime issue with gr_modtool block


From: Tommy Tracy II
Subject: Re: [Discuss-gnuradio] Runtime issue with gr_modtool block
Date: Thu, 19 Sep 2013 12:29:20 -0400

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 <address@hidden> 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:

address@hidden:~/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:

address@hidden:~/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]