GNOME Bugzilla – Bug 686787
testrtpool must be linked to pthreads
Last modified: 2012-10-24 12:26:30 UTC
Otherwise i get: testrtpool.o: In function `default_join': f:\gstreamer-buildslave\slave\gst-core-bin\build\tests\examples\manual/testrtpool.c:90: undefined reference to `_imp__pthread_join' testrtpool.o: In function `default_push': f:\gstreamer-buildslave\slave\gst-core-bin\build\tests\examples\manual/testrtpool.c:62: undefined reference to `_imp__pthread_attr_init' f:\gstreamer-buildslave\slave\gst-core-bin\build\tests\examples\manual/testrtpool.c:63: undefined reference to `_imp__pthread_attr_setschedpolicy' f:\gstreamer-buildslave\slave\gst-core-bin\build\tests\examples\manual/testrtpool.c:67: undefined reference to `_imp__pthread_attr_setschedparam' f:\gstreamer-buildslave\slave\gst-core-bin\build\tests\examples\manual/testrtpool.c:70: undefined reference to `_imp__pthread_attr_setinheritsched' f:\gstreamer-buildslave\slave\gst-core-bin\build\tests\examples\manual/testrtpool.c:73: undefined reference to `_imp__pthread_create'
Created attachment 227137 [details] [review] Links testrtpool to pthreads
commit bbc908795b23758fa7a7ae3d682ac2f2fcebcd0b Author: Руслан Ижбулатов <lrn1986@gmail.com> Date: Wed Oct 24 16:13:34 2012 +0400 examples: link testrtpool to pthreads Fixes #686787