i686-pc-linux-gnu-g++ -DFFTW_DOUBLE_ONLY -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC -Wall -Irubberband -Isrc -c -o src/RubberBandStretcher.o src/RubberBandStretcher.cpp i686-pc-linux-gnu-g++ -DFFTW_DOUBLE_ONLY -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC -Wall -Irubberband -Isrc -c -o src/ConstantAudioCurve.o src/ConstantAudioCurve.cpp i686-pc-linux-gnu-g++ -DFFTW_DOUBLE_ONLY -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC -Wall -Irubberband -Isrc -c -o src/HighFrequencyAudioCurve.o src/HighFrequencyAudioCurve.cpp In file included from src/HighFrequencyAudioCurve.h:20, from src/HighFrequencyAudioCurve.cpp:16: src/Window.h: In member function ‘void RubberBand::Window<T>::encache()’: src/Window.h:126: error: there are no arguments to ‘abs’ that depend on a template parameter, so a declaration of ‘abs’ must be available src/Window.h:126: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) make: *** [src/HighFrequencyAudioCurve.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from src/StretcherImpl.h:21, from src/RubberBandStretcher.cpp:16: src/Window.h: In member function ‘void RubberBand::Window<T>::encache()’: src/Window.h:126: error: there are no arguments to ‘abs’ that depend on a template parameter, so a declaration of ‘abs’ must be available src/Window.h:126: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) make: *** [src/RubberBandStretcher.o] Error 1
Created attachment 151189 [details, diff] rubberband-1.0.1-gcc43.patch Fixes the problem. Home-spun patch.
I have sent a note to upstream.
(In reply to comment #1) > Created an attachment (id=151189) [edit] > rubberband-1.0.1-gcc43.patch > > Fixes the problem. Home-spun patch. > Thanks. Committed. aballier/flameeyes: I needed this to commit & test media-sound/sooperlooper, and assumed it's OK to commit.