Josh Lawrence wrote:
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
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
Gambling(n): A discretionary tax on those asleep during high school
maths.