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:
_Z25mimo_make_ofdm_mapper_bcvRKSt6vectorISt7complexIfESaIS1_EEjjj

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
wei

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.

-Mike

Quoting weizhongshan [email protected]:

wei

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

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

good luck
Mir

2010/7/1 weizhongshan [email protected]