Re: [LAU] compiling rubberband on Debian

From: Erik de Castro Lopo <mle+la@email-addr-hidden-nerd.com>
Date: Mon Oct 20 2008 - 07:50:10 EEST

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@email-addr-hidden:~/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.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Mon Oct 20 08:15:03 2008

This archive was generated by hypermail 2.1.8 : Mon Oct 20 2008 - 08:15:03 EEST