On Mon, Sep 22, 2008 at 10:39:58PM -0500, Murtuza wrote:
> Hi friends,
> 
> I made a new gnuradio block and  installed it in the gnuradio python install
> path. When I tried importing this in python I got this Import error.
> 
> >>> from gnuradio import dsss
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python2.5/site-packages/gnuradio/dsss.py", line 6, in
> <module>
>     import _dsss
> ImportError: /usr/local/lib/python2.5/site-packages/gnuradio/_dsss.so:
> undefined symbol: _Z25dsss_make_spreading_blk_bj
> 
> I dont understand what it means and I didn't found any helpful answer in the
> archive. I tried the same thing on a different computer with the same
> result.
> 
> Has it got something to do with SWIG or the .i file.
> 
> I use SWIG 1.3.31 and gnuradio 3.1.3.
> 
> Any help will be appreciated
> 
> Thanks
> Ali


$ c++filt _Z25dsss_make_spreading_blk_bj
dsss_make_spreading_blk_b(unsigned int)

The "make" function (the function that returns the shared pointer)
should be name:

  dsss_make_spreading_blk_b(unsigned int)


I suspect that it's missing or incorrectly named in your code.

Eric


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to