[sndtools] sndpeek build fails on linux

Tristan Matthews le.businessman at gmail.com
Wed Mar 4 13:35:00 EST 2015


This patch fixes it here.

On Wed, Mar 4, 2015 at 1:25 PM, Orm Finnendahl
<orm.finnendahl at selma.hfmdk-frankfurt.de> wrote:
> Hi,
>
>  compiling sndpeek on linux fails in version 1.4:
>
> gcc -D__LINUX_JACK__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c ../marsyas/LPC.cpp
> ../marsyas/LPC.cpp: In member function 'virtual void LPC::process(fvec&, fvec&)':
> ../marsyas/LPC.cpp:120:40: error: 'abs' was not declared in this scope
>    rmat_(i-1,j-1) = corr_(abs((int)(i-j)));
>                                         ^
> makefile.jack:26: recipe for target 'LPC.o' failed
> make[1]: *** [LPC.o] Error 1
> make[1]: Leaving directory '/home/orm/work/install/sndpeek-1.4/src/sndpeek'
> makefile:17: recipe for target 'linux-jack' failed
> make: [linux-jack] Error 2 (ignored)
>
> It seems some math libs aren't included.
>
> --
> Orm
> _______________________________________________
> sndtools mailing list
> sndtools at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/sndtools
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LPC.patch
Type: text/x-diff
Size: 222 bytes
Desc: not available
URL: <http://lists.cs.princeton.edu/pipermail/sndtools/attachments/20150304/79d1def1/attachment.bin>


More information about the sndtools mailing list