discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Audio Sink hang


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Audio Sink hang
Date: Fri, 25 Jul 2003 11:50:50 -0700
User-agent: Mutt/1.4i

On Fri, Jul 25, 2003 at 06:00:37PM +0100, Matthew Burnham wrote:
> I've had a couple of problems compiling GnuRadio from CVS. I've been
> able to compile okay by commenting out the errors concerned, but I'm not
> sure what effect this is having. For a start, its hanging whenever
> anything tries to use an AudioSink.
> 
> -- first problem --
> 
> gr_FlowGraphImpl.cc: In method `bool gr_FlowGraphImpl::add_sigproc(VrSigProc 
> *)':
> gr_FlowGraphImpl.cc:156: implicit declaration of function `int find(...)'
> gr_FlowGraphImpl.cc:156: initialization to `VrSigProc **' from `int' lacks a 
> cast
> 
> -- end --
> 
> I commented out the offending code in add_sigproc in
> src/gnu/lib/gr/gr_FlowGraphImpl.cc to solve this one temporarily. Eric's
> already suggested prefixing std:: to the find, which doesn't seem to
> help.

> -- second problem --
> 
> In file included from /usr/include/unistd.h:175,
>                  from ../../../src/pspectra/lib/vr/VrTypes.h:43,
>                  from GnuRadioPython.cc:765:
> /usr/include/bits/posix_opt.h:70: warning: `_POSIX_THREADS' redefined
> /usr/include/python2.1/config.h:174: warning: this is the location of the 
> previo
> us definition
> In file included from ../../../src/gnu/lib/gr/GrHilbert.h:29,
>                  from GnuRadioPython.cc:777:
> ../../../src/gnu/lib/gr/gr_fir.h:25: warning: #warning "gr_fir.h is 
> deprecated. 
>  Please transition to gr_fir_???.h"
> ../../../src/pspectra/lib/vrp/VrInterpolatingSigProc.h: In method `int 
> VrInterpo
> latingSigProc<atsc_data_segment,float>::work(VrSampleRange, void **, 
> VrSampleRan
> ge *, void **)':
> ../../../src/gnu/lib/dtv/GrAtscSymbolMapper.h:44:   instantiated from here
> ../../../src/pspectra/lib/vrp/VrInterpolatingSigProc.h:114: `class 
> atsc_data_seg
> ment' used where a floating point value was expected
> ../../../src/pspectra/lib/vrp/VrInterpolatingSigProc.h:114: aggregate value 
> used
>  where a float was expected
> 
> -- end --
> 
> I cleared this one by commenting out the last function (word) in
> src/pspectra/lib/vrp/VrInterpolatingSigProc.h

commenting out "work" will cause a bunch of other code break.


What version of g++ are you using?    (g++ --version)

The second problem is a g++ problem where it's trying to instantiate a
method of a template that is overloaded and shouldn't ever have been
instantiated.   I've looked at a work around, but it's pretty ugly,
and requires touching a bunch of code.  The problem doesn't occur in
at least gcc 3.2.2.

For the first problem, you might try adding:

  #include <algorithm>

to gr_FlowGraphImpl.cc

Eric




reply via email to

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