Re: [linux-audio-user] [ANNOUNCE] polarbear-0.5.0

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] [ANNOUNCE] polarbear-0.5.0
From: Dave Phillips (dlphilp_AT_bright.net)
Date: Wed Feb 26 2003 - 16:44:35 EET


Hi Maarten:

  I had the same problem (with 0.5.1), so I applied your changes and
still fail with this error:

[dlphilp_AT_localhost polarbear-0.5.1]$ make
Making all in src
make[1]: Entering directory `/home/dlphilp/polarbear-0.5.1/src'
make all-am
make[2]: Entering directory `/home/dlphilp/polarbear-0.5.1/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -I/usr/X11R6/include -MT
PoleZeroEditor.o -MD -MP -MF ".deps/PoleZeroEditor.Tpo" \
  -c -o PoleZeroEditor.o `test -f 'PoleZeroEditor.cxx' || echo
'./'`PoleZeroEditor.cxx; \
then mv ".deps/PoleZeroEditor.Tpo" ".deps/PoleZeroEditor.Po"; \
else rm -f ".deps/PoleZeroEditor.Tpo"; exit 1; \
fi
PoleZeroEditor.cxx: In function `void FindCoefs (ComplexArray &,
ComplexArray &)':
PoleZeroEditor.cxx:16: parse error before `('
PoleZeroEditor.cxx:19: `one' undeclared (first use this function)
PoleZeroEditor.cxx:19: (Each undeclared identifier is reported only
once for each function it appears in.)
make[2]: *** [PoleZeroEditor.o] Error 1
make[2]: Leaving directory `/home/dlphilp/polarbear-0.5.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dlphilp/polarbear-0.5.1/src'
make: *** [all-recursive] Error 1
[dlphilp_AT_localhost polarbear-0.5.1]$

  Suggestions ?

Best regards,

== Dave Phillips

        The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
        The Linux Soundapps Site at http://linux-sound.org

Maarten de Boer wrote:
>
> > polarbear sounds really cool, but I can't get it to compile. I get
> > [...]
> > the code looks perfectly reasonable though - I can't see what's causing the
> > error. gcc is 2.95.4.
>
> that is indeed very strange. my gcc is also 2.95.4
> # gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
>
> and i don't experience this problem..
>
> could you try changing the code to:
>
> int i,j,n=roots.size;
> Complex one(1,0);
>
> complexCoefs[n] = -roots[0];
> complexCoefs[n-1] = one;
> complexCoefs.size = n+1;
>
> for (j=1;j<n;j++)
> {
> complexCoefs[n-j-1] = one;
> for (i=n-j;i<n;i++)
>
> Maarten


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Feb 26 2003 - 16:55:32 EET