I tried to compile 2.1.0 on Linux (Crux) using these commands:
./configure --prefix=/usr --with-libsndfile --with-libmad --with-libid3tag
–with-libflac --with-ffmpeg --with-lame
make
Everything went fine until it came to linking:
audacity-AudioIO.o: In function `AudioIO::StartStream(WaveTrackArray, WaveTrackArray, TimeTrack*, double, double, double, AudioIOListener*, bool, double, double, double const*)':
AudioIO.cpp:(.text+0x76f9): undefined reference to `Resample::Resample(bool, double, double)'
audacity-Mix.o: In function `Mixer::Mixer(int, WaveTrack**, TimeTrack*, double, double, int, int, bool, double, sampleFormat, bool, MixerSpec*)':
Mix.cpp:(.text+0x4f8): undefined reference to `Resample::Resample(bool, double, double)'
Mix.cpp:(.text+0x5a6): undefined reference to `Resample::Resample(bool, double, double)'
audacity-WaveClip.o: In function `WaveClip::Resample(int, ProgressDialog*)':
WaveClip.cpp:(.text+0x42cf): undefined reference to `Resample::Resample(bool, double, double)'
effects/audacity-ChangeSpeed.o: In function `EffectChangeSpeed::ProcessOne(WaveTrack*, long long, long long)':
ChangeSpeed.cpp:(.text+0x5b15): undefined reference to `Resample::Resample(bool, double, double)'
ChangeSpeed.cpp:(.text+0x5bc1): undefined reference to `Resample::Process(double, float*, int, bool, int*, float*, int)'
ChangeSpeed.cpp:(.text+0x5d03): undefined reference to `Resample::~Resample()'
ChangeSpeed.cpp:(.text+0x5e04): undefined reference to `Resample::~Resample()'
prefs/audacity-QualityPrefs.o: In function `QualityPrefs::PopulateOrExchange(ShuttleGui&)':
QualityPrefs.cpp:(.text+0x92e): undefined reference to `Resample::GetFastMethodDefault()'
QualityPrefs.cpp:(.text+0x93a): undefined reference to `Resample::GetFastMethodKey()'
QualityPrefs.cpp:(.text+0xdad): undefined reference to `Resample::GetBestMethodDefault()'
QualityPrefs.cpp:(.text+0xdb9): undefined reference to `Resample::GetBestMethodKey()'
prefs/audacity-QualityPrefs.o: In function `QualityPrefs::GetNamesAndLabels()':
QualityPrefs.cpp:(.text+0x2a9c): undefined reference to `Resample::GetNumMethods()'
QualityPrefs.cpp:(.text+0x2add): undefined reference to `Resample::GetMethodName(int)'
collect2: error: ld returned 1 exit status
It seems that I’m missing a library which wasn’t requested in former versions - but which one?
Thanks for any help,
Bernd