| When I try to build I get
cd projects/demo && make libdemo
make[1]: Entering directory `/home/jpff/Audio/stk-4.4.4/projects/demo'
g++ -O3 -Wall -I../../include -I../../include/../src/include
-DHAVE_GETTIMEOFDAY -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__
-DRAWWAVE_PATH=\"../../rawwaves/\" -o demo utilities.cpp demo.cpp
-L../../src -lstk -lasound -lm
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
../../src/libstk.a(Thread.o): undefined reference to symbol
'pthread_cancel@@GLIBC_2.2.5'
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/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: error: ld returned 1 exit status
Clearly it needs a -lpthread somewhere but where?
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |