I’ve asked this question before. But there are lots of ambiguity and
uncertainty. Thus, this is the clarification.
I am using Reed-Solomon En/decoder in my own OOT module sources. The
Reed-Solomon en/decoder are implemented in gr-dvbt.
Important codes are:
I’ve built and installed my module. But when I import my module in
for tests, error occurs:
>>> import myOOTmodule Traceback (most recent call last): File "<stdin>", line 1, in <module> File
from myOOTmodule_swig import *
line 28, in
_myOOTmodule_swig = swig_import_helper()
line 24, in swig_import_helper
_mod = imp.load_module(’_myOOTmodule_swig’, fp, pathname,
ImportError: /usr/local/lib/libgnuradio-myOOTmodule.so: undefined
You can also see the error above in gist
The problem is that the above error occurs since I am using
gr:dvbt::reed_solomon, which is neither in GNU Radio source tree nor in
I don’t know the exact reason for this. But in my guess…
It seems that myOOTmodule thinks gr::dvbt::reed_solomon is a part of
myOOTmodule itself. But there is no declaration and implementation and
causes the error.
Or myOOTmodule has no idea where to import gr:dvbt:reed_solomon.
Another hypothesis is that, an OOT module cannot use other OOT modules
swig-python?). I’m not sure about it. Or, there is a way to do this, but
just don’t know about it.