Hello!
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
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
src/sysutils.cpp: In function 'void RubberBand::freeFloat(float*)':
src/sysutils.cpp:125: error: 'free' was not declared in this scope
src/sysutils.cpp: In function 'double* RubberBand::allocDouble(double*, int)':
src/sysutils.cpp:130: error: 'free' was not declared in this scope
src/sysutils.cpp:133: error: 'posix_memalign' was not declared in this scope
src/sysutils.cpp:135: error: 'malloc' was not declared in this scope
src/sysutils.cpp: In function 'void RubberBand::freeDouble(double*)':
src/sysutils.cpp:147: error: 'free' was not declared in this scope
make: *** [src/sysutils.o] Error 1
gcc -v shows:
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.3.2-1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-targets=all --enable-cld
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1)
Any suggestions as to what I should do to move forward?
--
Josh Lawrence
http://www.hardbop200.blogspot.com