[Pipet Devel] Overflow install error

Jean-Marc Valin valj01 at gel.usherb.ca
Fri Mar 23 00:15:43 EST 2001

> I know that you just told me not to use GCC 2.96, but I thought that I might
> give the code in CVS a try.  Anyway, FYI, here is an error I caught:

I know, I got that one too... I finally found out what the problem is... because
FFTW is in /usr/include, configure adds a -I/usr/include to the g++ command
line. Now, there's a complex.h in /usr/include that seem to conflict with the
complex.h in /usr/include/g++-3/. It works fine on my Mandrake box (and I have a
/usr/include/complex.h). I don't know exactly who's fault it is (should the
complier guaranty I can add -I/usr/include?)...

I'll try (eventually) to find a workaround. In the mean time, you can either a)
manually edit the Makefile to remove the -I/usr/include b) fix the FFTW autoconf
macro in acinclude.m4

Good luck!


> Making install in src
> make[2]: Entering directory `/usr/src/Overflow/Overflow/audio_blocks/src'
> /bin/sh ../libtool --mode=compile c++ -DLINUX=1 -DPROTOTYPES=1
> -DHAVE_FFTW=1  -I. -I.  -I../../data-flow/include -I../include
> -I/usr/include    -g -O2 -c RFFT.cc
> -I../../data-flow/include -I../include -I/usr/include -g -O2
> -Wp,-MD,.deps/RFFT.pp -c RFFT.cc  -fPIC -DPIC -o RFFT.lo
> In file included from /usr/local/include/g++-3/complex:8,
>                  from RFFT.cc:23:
> /usr/local/include/g++-3/std/complext.h:314: declaration of `double hypot
> (double, double)' throws
> different exceptions
> /usr/include/bits/mathinline.h:617: than previous declaration `double
> hypot (double, double) throw ()'

Jean-Marc Valin
Universite de Sherbrooke - Genie Electrique
valj01 at gel.usherb.ca

More information about the Pipet-Devel mailing list