Building 1.0 on 64-bit Fedora failed

• Feb 21, 2011 - 19:34

Hello,
MuseScore 1.0 on 64-bit fedora 14.
I followed the instruction for compiling trunk on Ubuntu, installed qt-sdk, all needed libraries, libsndfile, but compilation failed:
...
Linking CXX shared library libqtscript_gui.so
make[3]: Opuszczenie katalogu `/home/piter/Pobrane/mscore-1.0/build'
[ 95%] Built target qtscript_gui
make[2]: Opuszczenie katalogu `/home/piter/Pobrane/mscore-1.0/build'
make[1]: *** [all] Błąd 2
make[1]: Opuszczenie katalogu `/home/piter/Pobrane/mscore-1.0/build'
make: *** [release] Błąd 2

So, cd to build and tried make:
[piter@localhost build]$ make
[ 0%] Built target al
[ 3%] Built target awl
[ 6%] Built target awlplugin
[ 6%] Built target ltest
[ 6%] Built target bww
[ 6%] Built target bww2mxml
[ 6%] Built target osdabzip
[ 6%] Built target rtf2html
[ 11%] Built target genft
[ 11%] Built target qtsingleapp
[ 12%] Built target fluid
Linking CXX executable mscore
/usr/bin/ld: CMakeFiles/mscore.dir/alsa.cpp.o: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [mscore/mscore] Błąd 1
make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Błąd 2
make: *** [all] Błąd 2
Thanks for any help!


Comments

By executing
export VERBOSE=TRUE
and capturing the output of the build command in a file I managed to capture the failing build command.
I added to the end of the build command:
-l pthread -lrt

I cd'd to the directory in which it failed (I think it was ........./build/mscore ) and executed the adjusted build command -
and I had built the mscore binary. Seems to do the notation and printing stuff OK. Still strugging with voices on
Bach-style piano-score - bujt that is probably my fault.

Good luck!

Tom Lake

Do you still have an unanswered question? Please log in first to post your question.