Well, the symbol is brought into swig here (at the bottom)
http://gnuradio.org/cgit/gnuradio.git/tree/gr-uhd/swig/uhd_swig.i?h=next&id=d74eacddbb8875479fef1d9ca75f36fca78df792#n117
Maybe the libuhd.so is not in your library path, or ldconfig, or just
rebuilt the source to be sure. -Josh
On 11/22/2010 07:32 AM, Alonso Asier wrote:
Hi all!
I'm trying to use the uhd driver in the grc environment with the gr-uhd blocks
(more exactly the single USRP source) but in runtime I receive the following
error:
Traceback (most recent call last):
File "/home/sdrproject/gnuradio/gnuradio-examples/grc/top_block.py", line 16,
in<module>
import uhd_swig
File "/usr/local/lib/python2.6/dist-packages/uhd_swig/__init__.py", line 25,
in<module>
from uhd_swig_swig import *
File "/usr/local/lib/python2.6/dist-packages/uhd_swig/uhd_swig_swig.py", line 24,
in<module>
_uhd_swig_swig = swig_import_helper()
File "/usr/local/lib/python2.6/dist-packages/uhd_swig/uhd_swig_swig.py",
line 20, in swig_import_helper
_mod = imp.load_module('_uhd_swig_swig', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-uhd_swig-3.3.0.so.0: undefined symbol:
_ZN3uhd4usrp10multi_usrp9ALL_GAINSE
My files names look like this (interesting?):
ls /usr/local/lib/libgnuradio-uhd*
/usr/local/lib/libgnuradio-uhd-3.4git.so.0
/usr/local/lib/libgnuradio-uhd-3.4git.so.0.0.0
/usr/local/lib/libgnuradio-uhd.la
/usr/local/lib/libgnuradio-uhd.so
/usr/local/lib/libgnuradio-uhd.so.0
/usr/local/lib/libgnuradio-uhd.so.0.0.0
does anyone has some clue?
Un saludo / Best Regards
Asier Alonso Muñoz
Investigador / Researcher
TECNALIA-Telecom
Tecnalia, Parque Tecnológico, Edificio 202. E-48170 Zamudio (Bizkaia) (SPAIN)
Tel: +34 94 600 22 66 ext: 229, Fax: +34 94 600 22 99
asier.alo...@tecnalia.com, www.tecnalia.com<http://www.tecnalia.com>
**************** AVISO LEGAL **************** DISCLAIMER ****************
Este mensaje es personal y confidencial y su uso no autorizado está prohibido
legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo
ni conservarlo.
This message is personal and confidential, unauthorised use is legally
prohibited. If you are not the intended recipient, delete it without resending
or backing it.
**************************************************************************************
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio