( rubberband is recommended for qtractor for example)
> I've run into a little problem getting rubberband to compile on my
> > Lenny system. ./configure works just fine, but make throws this up:
> >
> > josh@studio:~/src/rubberband-1.2$ make
> > g++ -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -g -O2 -fPIC
> > -Wall -I/usr/local/include -Irubberband -Isrc -c -o
> > src/sysutils.o src/sysutils.cpp
> > src/sysutils.cpp: In function 'float* RubberBand::allocFloat(float*, int)':
> > src/sysutils.cpp:108: error: 'free' was not declared in this scope
The free() function is defined in <stdlib.h> so make sure that
is included at the top of that file.
> > src/sysutils.cpp:111: error: 'posix_memalign' was not declared in this scope
> > src/sysutils.cpp:113: error: 'malloc' was not declared in this scope
Same for those two.
HTH,
Erik
The original error was in a file called src/sysutils.cpp.
Find that file and open it in a text editor.
Scroll down past the copyright header and find the first line
where is says something like (it may not be exactly like that):
#include <stdio.h>
Then, just before that line add this one (exactly, ignoring
leading white space):
#include <stdlib.h>
Save the file.
Recompile.