Write my own module ,but get an import error

I am trying to write my own module ,“make” ,“make check” and “make
install” are all ok ,but when i use it in my own module ,i get the
following error:
ImportError: /usr/loca/lib/python2.6/dist-packages/gnuradio/_mimo.so:
undefined symbol:

i met a helper in a forum ,he tested my module in his pc ,and it is ok,
i am totally lost .
really need your help

I just started working with gnuradio and I was running into the same
problem. After the ‘make install’, I had to run the following

sudo ldconfig /usr/local/lib

in order to get my module linked to the library.


Quoting weizhongshan [email protected]:


Michael R.
Graduate Research Assistant
Smart Lighting Engineering Research Center
Boston University
[email protected]

this usually happens when the SWIG interface file is incorrect.
check the interface definition of “mimo_make_ofdm_mapper” block. I am
the mistake lies here and correcting this will fix it. I had such errors
and I always found the error in the SWIG interface file.

good luck

2010/7/1 weizhongshan [email protected]