<div dir="ltr"><div style>Hello - </div><div style><br></div><div style>I&#39;m trying to compile / link STK for the first time on a Fedora LXDE 17 machine.  There is an RPM of it, so I&#39;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&#39;t being linked into the demo projects, but I&#39;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&#39;t even being checked for when I run ./configure (no arguments )</div><div><br></div><div style>And here&#39;s the result of the link error  that I&#39;m seeing.</div><div><br></div>
<div><div>cd projects/demo &amp;&amp; make libdemo</div><div>make[1]: Entering directory `/home/matt/Downloads/STK-4.4.4/stk-4.4.4/projects/demo&#39;</div><div>g++  -O3 -Wall -I../../include -I../../include/../src/include -DHAVE_GETTIMEOFDAY -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -DRAWWAVE_PATH=\&quot;../../rawwaves/\&quot; -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 &#39;pthread_create@@GLIBC_2.1&#39;</div><div>/usr/bin/ld: note: &#39;pthread_create@@GLIBC_2.1&#39; 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&#39;</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>