<div dir="ltr"><div style>Hello - </div><div style><br></div><div style>I'm trying to compile / link STK for the first time on a Fedora LXDE 17 machine. There is an RPM of it, so I'm using that for now, but would like to be able to compile new versions, debug options etc as well.</div>
<div style><br></div><div style>It appears that pthread isn't being linked into the demo projects, but I'm not a configure guru to figure out where it needs to be checked/added... </div><div style><br></div><div style>
In fact, it appears that pthread isn't even being checked for when I run ./configure (no arguments )</div><div><br></div><div style>And here's the result of the link error that I'm seeing.</div><div><br></div>
<div><div>cd projects/demo && make libdemo</div><div>make[1]: Entering directory `/home/matt/Downloads/STK-4.4.4/stk-4.4.4/projects/demo'</div><div>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 </div>
<div>/usr/bin/ld: ../../src/libstk.a(RtAudio.o): undefined reference to symbol 'pthread_create@@GLIBC_2.1'</div><div>/usr/bin/ld: note: 'pthread_create@@GLIBC_2.1' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line</div>
<div>/lib/libpthread.so.0: could not read symbols: Invalid operation</div><div>collect2: error: ld returned 1 exit status</div><div>make[1]: *** [libdemo] Error 1</div><div>make[1]: Leaving directory `/home/matt/Downloads/STK-4.4.4/stk-4.4.4/projects/demo'</div>
<div>make: *** [all] Error 2</div></div><div><br></div><div><br></div><div style>Any thoughts / help are welcome.<br><br>Thanks</div><div style><br></div><div style>Matt</div><div style><br></div></div>