Make error on Ubuntu 14.04.1 LTS (macbook) - undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'

41 views
Skip to first unread message

textchimp

unread,
Mar 21, 2015, 1:10:33 AM3/21/15
to osce...@googlegroups.com


Hi all,

Osceleton built without problems on my older PC-based system, but now I'm getting the following error during make:

In member function ‘XnStatus xn::PoseDetectionCapability::RegisterToPoseCallbacks(xn::PoseDetectionCapability::PoseDetection, xn::PoseDetectionCapability::PoseDetection, void*, void*&)’,
    inlined from ‘int main(int, char**)’ at src/OSCeleton.cpp:696:117:
/usr/include/ni/XnCppWrapper.h:4661:161: warning: call to ‘xnRegisterToPoseCallbacks’ declared with attribute warning: This function is deprecated: Please use PoseDetected and/or OutOfPose callbacks [enabled by default]
   nRetVal = xnRegisterToPoseCallbacks(GetHandle(), PoseDetectionStartBundleCallback, PoseDetectionStartEndBundleCallback, pPoseCookie, &pPoseCookie->hCallback);
                                                                                                                                                                 ^
/usr/bin/ld: liblo-0.26-modified/src/.libs/liblo_la-server_thread.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Full build log is attached. My system is a Macbook Pro Retina, running Ubuntu 14.04.1 LTS (Trusty), kernel 3.13.0-32-lowlatency. 

Can anyone suggest how to fix this? Maybe a Glib version problem? Osceleton is the only way my C application can talk to the kinect. Thanks in advance!

Luke


build.log

Lentin Joseph

unread,
Apr 24, 2016, 5:00:24 AM4/24/16
to OSCeleton
Hi


I had this same error. I just tried OSCeleton 1.0 and its worked . For me its working and running in Ubuntu 14.04 LTS


Regards
Lentin Joseph
Reply all
Reply to author
Forward
0 new messages