Errors after build attempts


#1

I have been trying to build GNU Radio and get the USRP working all
night…
I had some success with the 3.0.x binary packages that come with Ubuntu
hardy, but was having some interesting problems getting the hardware to
cooperate.

I decided to get a more updated version. First I compiled from source,
following the directions here
http://gnuradio.org/trac/wiki/UbuntuInstalland here
http://gnuradio.org/trac/browser/gnuradio/trunk/README.building-boost .
I was receiving an undefined symbol error… something having to do with
boost or SWIG…

daniel@daniel-desktop:/usr/share/gnuradio/usrp$ ./usrp_tv_rcv.py
Traceback (most recent call last):
File “./usrp_tv_rcv.py”, line 12, in
from gnuradio import gr, gru, eng_notation, optfir
File “/usr/local/lib/python2.5/site-packages/gnuradio/gr/init.py”,
line 43, in
from gnuradio_swig_python import *
File
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_python.py”,
line 23, in
from gnuradio_swig_py_runtime import *
File
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 6, in
import _gnuradio_swig_py_runtime
ImportError:
/usr/local/lib/python2.5/site-packages/gnuradio/gr/_gnuradio_swig_py_runtime.so:
undefined symbol:
_Z20gr_buffer_add_readerN5boost10shared_ptrI9gr_bufferEEiNS0_I8gr_blockEE

Next, I tried the stable release package, without boost. That resulted
in
the following:

daniel@daniel-desktop:/usr/share/gnuradio/usrp$ sudo ./usrp_tv_rcv.py
Traceback (most recent call last):
File “./usrp_tv_rcv.py”, line 12, in
from gnuradio import gr, gru, eng_notation, optfir
File “/usr/local/lib/python2.5/site-packages/gnuradio/gr/init.py”,
line 43, in
from gnuradio_swig_python import *
File
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_python.py”,
line 23, in
from gnuradio_swig_py_runtime import *
File
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 6, in
import _gnuradio_swig_py_runtime
ImportError: libgromnithread.so.0: cannot open shared object file: No
such
file or directory

Any ideas on either front? Besides re-installing the OS or going to a
different distro, my ideas are exhausted.

Thanks,
Dan


#2

On Sat, Oct 25, 2008 at 05:13:48AM -0500, Daniel H. wrote:

I have been trying to build GNU Radio and get the USRP working all night…
I had some success with the 3.0.x binary packages that come with Ubuntu
hardy, but was having some interesting problems getting the hardware to
cooperate.

Be sure that you remove the old versions.

Then follow the instructions on the wiki.

Be sure to add /usr/local/lib to /etc/ld.so.conf and
then $ sudo ldconfig

Eric