Re: compiling rubberband on Debian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Erik de Castro Lopo wrote:
> 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.

i think this is a gcc 4.3+ issue - it now demands explicit includes that
used to be implicit in older versions.

i had those problems with a number of apps after i upgraded to opensuse
11.0. googling around i found that people usually recommended to include
<cstdlib> rather than <stdlib.h> - i guess that's some c++ versus plain
c peculiarity that i'd like to understand - can anyone explain?

plus i also found recommendations not to mix <cFOO> and <FOO.h> includes
- why is that?


-- 
jörn nettingsmeier

home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621

Kurt is up in Heaven now.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux