Dear Gnuradio Mailing List, I created a gr-modtool block on my Ubuntu machine; it works well, but I want to run it on my Gentoo machine. At first, I thought I could just copy over the module in dist-packages, but that doesn't seem to work:
I copied my custom module from: /usr/local/lib/python2.7/dist-packages/tom to (on my gentoo machine): /usr/lib/python2.7/site-packages/ I then tried an import and got the following error: >>> import tom Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/tom/__init__.py", line 45, in <module> from tom_swig import * File "/usr/lib/python2.7/site-packages/tom/tom_swig.py", line 26, in <module> _tom_swig = swig_import_helper() File "/usr/lib/python2.7/site-packages/tom/tom_swig.py", line 22, in swig_import_helper _mod = imp.load_module('_tom_swig', fp, pathname, description) ImportError: /usr/lib/python2.7/site-packages/tom/_tom_swig.so: wrong ELF class: ELFCLASS64 This indicates that I need to rebuild my module. Is there a way to build a 32-bit version of the module on a 64 bit machine? Sincerely, Tommy James Tracy II PhD Student High Performance Low Power Lab University of Virginia
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio