error adding symbols: DSO missing from command line

735 views
Skip to first unread message

al3x G.

unread,
May 29, 2016, 4:09:44 PM5/29/16
to Kaa project
Hi,

I'm trying to build a sample c++ app using the kaaproject/demo_c_cpp_environment docker image and getting the following error:

/usr/bin/ld: /opt/demo/build/libkaacpp_s.a(DefaultLogger.cpp.o): undefined reference to symbol '_ZN5boost6detail12get_tss_dataEPKv'
/opt/boost/boost_1_56_0/stage/lib/libboost_thread.so.1.56.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [demo_client] Error 1
make[1]: *** [CMakeFiles/demo_client.dir/all] Error 2
make: *** [all] Error 2

Any help would be greatly appreciated.

Thanks

Denis Kimcherenko

unread,
May 30, 2016, 3:50:30 AM5/30/16
to Kaa project
Hi,

What demo did you build?
It seems like the Boost Thread library is not in the list of linkage dependencies.

Here are dependencies for C++ SDK and applications based on this SDK.

Best regards,
Denis

al3x G.

unread,
May 30, 2016, 9:13:36 PM5/30/16
to Kaa project
Denis,

Thank you for replying to my post. My issue has been resolved. I was trying to build a notification demo app that I cloned from the kaa's sample-apps repo. I then replaced the code with the c++ one from here and was able to build it.

Alex
Reply all
Reply to author
Forward
0 new messages