There are places in the code where we use pthread_* functions, but forgot to add corresponding bits onto the compiler command line. Because of that the build fails: CCLD virgl_test_server ../src/.libs/libvirglrenderer.so: undefined reference to `pthread_sigmask' ../src/.libs/libvirglrenderer.so: undefined reference to `pthread_join' ../src/.libs/libvirglrenderer.so: undefined reference to `pthread_create' ../src/.libs/libvirglrenderer.so: undefined reference to `pthread_mutexattr_init' ../src/.libs/libvirglrenderer.so: undefined reference to `pthread_mutexattr_destroy' collect2: error: ld returned 1 exit status Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>macos/master
parent
7b776ec866
commit
77ad82dcf6
Loading…
Reference in new issue