[sndtools] Installing sndtools on Ubuntu 9.04

Kaya Saman kayasaman at gmail.com
Mon Jun 27 11:22:07 EDT 2011


Hi,

I'm trying to install all the components to sndtools starting with sndpeek.

I have managed so far to get through one error which by following this link:

http://ubuntuforums.org/showthread.php?t=1479086

Installed:

libxmu-dev and libsndfile-dev

and then edited:

LPC.cpp

to include:

#include <cstdlib>


However, now when I run make I still get an error which I can't seem to 
figure out:

# make linux-alsa
make -f makefile.alsa
make[1]: Entering directory `/home/kaya/Desktop/sndpeek-1.3/src/sndpeek'
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/LPC.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/MFCC.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/RMS.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/Rolloff.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/System.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/fvec.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/AutoCorrelation.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/Communicator.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/Hamming.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/MagFFT.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/NormRMS.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/MarSignal.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c 
../marsyas/fmatrix.cpp
g++ -o sndpeek chuck_fft.o RtAudio.o Thread.o sndpeek.o Stk.o Centroid.o 
DownSampler.o Flux.o LPC.o MFCC.o RMS.o Rolloff.o System.o fvec.o 
AutoCorrelation.o Communicator.o Hamming.o MagFFT.o NormRMS.o 
MarSignal.o fmatrix.o -L/usr/X11R6/lib -lglut -lGL -lGLU -lasound -lXmu 
-lX11 -lXext -lXi -lm -lsndfile
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[1]: *** [sndpeek] Error 1
make[1]: Leaving directory `/home/kaya/Desktop/sndpeek-1.3/src/sndpeek'
make: [linux-alsa] Error 2 (ignored)


Google'ing around a little there where a few posts saying that 
glibc-static was needed however that doesn't seem to be in my repos??


I have libc6 and libc6-dev installed but that doesn't seem to work......


Can anyone give me a hand as to what the pre-requisite could be as I'm 
pretty certain it's something to do with my distro rather then the 
source code itself?


Many thanks,


Kaya





More information about the sndtools mailing list