g++ -Wl,--no-undefined -shared -Wl,-soname,libLastFmFingerprint.so.1 -o libLastFmFingerprint.so.1.0.0 ../../build/LastFmFingerprint/release/Sha256File.o ../../build/LastFmFingerprint/release/Sha256.o ../../build/LastFmFingerprint/release/MP3_Source_Qt.o ../../build/LastFmFingerprint/release/Fingerprinter2.o ../../build/LastFmFingerprint/release/FingerprintCollector.o ../../build/LastFmFingerprint/release/FingerprintQueryer.o ../../build/LastFmFingerprint/release/moc_Fingerprinter2.o ../../build/LastFmFingerprint/release/moc_FingerprintCollector.o ../../build/LastFmFingerprint/release/moc_FingerprintQueryer.o -L/home/travis/Desktop/last.fm-1.4.2.58240/bin -L/home/travis/Desktop/last.fm-1.4.2.58240/build/LastFmFingerprint/../fplib -L/usr/lib -lMoose -L/home/travis/Desktop/last.fm-1.4.2.58240/bin -lLastFmTools /home/travis/Desktop/last.fm-1.4.2.58240/build/fplib/libfplib.a -lsamplerate -lfftw3f -lQtSql -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread ../../build/LastFmFingerprint/release/MP3_Source_Qt.o: In function `MP3_Source::fetchData(QFile&, unsigned char*, int, mad_stream&)': MP3_Source_Qt.cpp:(.text+0x15d): undefined reference to `mad_stream_buffer' ../../build/LastFmFingerprint/release/MP3_Source_Qt.o: In function `MP3_Source::release()': MP3_Source_Qt.cpp:(.text+0x1de): undefined reference to `mad_frame_finish' MP3_Source_Qt.cpp:(.text+0x1e9): undefined reference to `mad_stream_finish' ../../build/LastFmFingerprint/release/MP3_Source_Qt.o: In function `MP3_Source::init(QString const&)': MP3_Source_Qt.cpp:(.text+0xa18): undefined reference to `mad_stream_init' MP3_Source_Qt.cpp:(.text+0xa23): undefined reference to `mad_frame_init' MP3_Source_Qt.cpp:(.text+0xa31): undefined reference to `mad_synth_init' MP3_Source_Qt.cpp:(.text+0xa37): undefined reference to `mad_timer_zero' ../../build/LastFmFingerprint/release/MP3_Source_Qt.o: In function `MP3_Source::updateBuffer(short*, unsigned int)': MP3_Source_Qt.cpp:(.text+0x15c9): undefined reference to `mad_frame_decode' MP3_Source_Qt.cpp:(.text+0x160f): undefined reference to `mad_timer_add' MP3_Source_Qt.cpp:(.text+0x1624): undefined reference to `mad_synth_frame' ../../build/LastFmFingerprint/release/MP3_Source_Qt.o: In function `MP3_Source::skip(int)': MP3_Source_Qt.cpp:(.text+0x16ab): undefined reference to `mad_header_init' MP3_Source_Qt.cpp:(.text+0x16f1): undefined reference to `mad_header_decode' MP3_Source_Qt.cpp:(.text+0x172d): undefined reference to `mad_timer_add' MP3_Source_Qt.cpp:(.text+0x174d): undefined reference to `mad_timer_count' ../../build/LastFmFingerprint/release/MP3_Source_Qt.o: In function `MP3_Source::skipSilence(double)': MP3_Source_Qt.cpp:(.text+0x17a6): undefined reference to `mad_frame_init' MP3_Source_Qt.cpp:(.text+0x17ae): undefined reference to `mad_synth_init' MP3_Source_Qt.cpp:(.text+0x1835): undefined reference to `mad_frame_decode' MP3_Source_Qt.cpp:(.text+0x1870): undefined reference to `mad_synth_frame' ../../build/LastFmFingerprint/release/MP3_Source_Qt.o: In function `MP3_Source::getInfo(QString const&, int&, int&, int&, int&)': MP3_Source_Qt.cpp:(.text+0x1a4f): undefined reference to `mad_stream_init' MP3_Source_Qt.cpp:(.text+0x1a55): undefined reference to `mad_timer_zero' MP3_Source_Qt.cpp:(.text+0x1ab9): undefined reference to `mad_header_decode' MP3_Source_Qt.cpp:(.text+0x1aee): undefined reference to `mad_stream_finish' MP3_Source_Qt.cpp:(.text+0x1bb5): undefined reference to `mad_timer_add' collect2: ld returned 1 exit status make[1]: *** [../../bin/libLastFmFingerprint.so.1.0.0] Error 1 make[1]: Leaving directory `/home/travis/Desktop/last.fm-1.4.2.58240/src/libFingerprint' make: *** [sub-src-libFingerprint-make_default-ordered] Error 2