discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Discuss-gnuradio] Problems building swig 1.3.23


From: hamlin
Subject: RE: [Discuss-gnuradio] Problems building swig 1.3.23
Date: Thu, 30 Dec 2004 16:52:09 -0800

I had the same problem as Bill reported on Dec 13, when trying to execute the 
dial_tone.py program that I copied from the  "Exploring GnuRadio" web-page.  
On my Fedora-2 core system,  I built  and installed the following:

  osalp-0.7.3.tar.gz from osalp.sourceforge.net
  fftw-3.0.1.tar.gz from www.fftw.org
  cppunit-1.10.2.tar.gz from sourceforge.net/projects/cppunit
  swig-1.3.23.tar.gz from swig.org  (I first uninstalled swig-1.3.19
       using the command "rpm -e swig-1.3.19-6.1")
  gnuradio-core-2.3.tar.gz from gnu.org/software/gnuradio/
  gr-audio-oss-0.3.tar.gz from gnu.org/software/gnuradio/
  gnuradio-examples-0.2.tar.gz from gnu.org/software/gnuradio/

Executing the dial_done example program produces the following
error messages:
 audio: using audio_oss
Traceback (most recent call last):
  File "./dialtone.py", line 20, in ?
    fg = build_graph ()
  File "./dialtone.py", line 14, in build_graph
    fg.connect ((src0, 0), (dst, 0))
  File 
"/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", line 
83, in connect
    self._check_valid_dst_port (dst_endpoint)
  File 
"/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", line 
175, in _check_valid_dst_port
    self._check_port (dst_endpoint.block.input_signature(), dst_endpoint.port)
  File 
"/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", line 
180, in _check_port
    if signature.max_streams () == -1: # infinite
AttributeError: 'PyCObject' object has no attribute 'max_streams'
                                                                                
I suspect the problem is related to the OSS audio, but I'm new to all this.

Griff  (W5VWP)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]