"from gnuradio import audio" - Not Working in Ubuntu 10.04 + GNU Radio 3.3.0 + ALSA

Hi ALL,

Everything compiled properly with no errors with GNU radio 3.3.0 with
that
latest Boost 1_46_1.
GRC generate works but will not execute the dial_tone.grc example due
the
following error:
Anyone can shed some light on this strange python command line test
error?

Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

from gnuradio import gr
from gnuradio import audio
Traceback (most recent call last):
File “”, line 1, in
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/audio/init.py”,
line 22, in
from audio_swig import *
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/audio/audio_swig.py”,
line
24, in
_audio_swig = swig_import_helper()
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/audio/audio_swig.py”,
line
20, in swig_import_helper
_mod = imp.load_module(’_audio_swig’, fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-core-3.4.0git.so.0: undefined
symbol: _ZN5boost6system19get_system_categoryEv

I had completely disabled pulseaudio hoping that ALSA would kick in
automatically. but it did now work :frowning:

Any clue why this is not working, is Greatly appreciated!

Sincerely,

TVZ

On 05/15/2011 01:31 PM, turbovectorz turbovectorz wrote:

Hi ALL,

Everything compiled properly with no errors with GNU radio 3.3.0 with that
latest Boost 1_46_1.

Using one boost library often pulls in boost system as a requirement.
This must be true for Boost 1_46_1. You may want to use an older boost
or switch to the master branch.

If you still see the error w/ master, you may try adding
$(BOOST_SYSTEM_LIB) to libgnuradio_core_la_LIBADD
http://gnuradio.org/cgit/gnuradio.git/tree/gnuradio-core/src/lib/Makefile.am#n44

-josh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs