# XML-RPC URCap Sample issue

**URL:** <https://forum.universal-robots.com/t/xml-rpc-urcap-sample-issue/973>\
**Category:** URCap Development\
**Tags:** build-error, xml-rpc\
**Created:** [July 14, 2017, 10:04am UTC](https://forum.universal-robots.com/t/xml-rpc-urcap-sample-issue/973 "2017-07-14T10:04:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon60482005](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@anon60482005](https://forum.universal-robots.com/u/anon60482005)\
**Post date:** [July 14, 2017, 10:04am UTC](https://forum.universal-robots.com/t/xml-rpc-urcap-sample-issue/973/1 "2017-07-14T10:04:54Z")

</div>

Hello everyone,

I have been trying to make this XMLRPC example work for a day now: [https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/xml-rpc-communication-16326/](https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/xml-rpc-communication-16326/)

There must be some kind of linking error because of the Makefile because I alsways get the error message:

cc -g -Wall -o xmlrpc\_camera utilities.o server.o XMLRPCConverters.o -lxmlrpc\_server++ -lxmlrpc++ -lxmlrpc\_server -lxmlrpc -lxmlrpc\_server\_pstream++ -lxmlrpc\_packetsocket -lxmlrpc\_xmlparse -lxmlrpc\_xmltok -lxmlrpc\_util -lxmlrpc\_client++ -lxmlrpc\_client -lcurl  
/usr/bin/ld: server.o: undefined reference to symbol ‘\_ZNSt7\_\_cxx1112basic\_stringIcSt11char\_traitsIcESaIcEEaSEPKc@@GLIBCXX\_3.4.21’  
//usr/lib/x86\_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line  
collect2: error: ld returned 1 exit status  
Makefile:16: recipe for target ‘xmlrpc\_camera’ failed  
make: \*\*\* [xmlrpc\_camera] Error 1

Please if you had the same issue tell me what you did to fix it because internet has been no help and I really need this example to work.

Cheers,  
Alissa

ps: I use Ubuntu 16.04.2

---

<div class="post-metadata">

**Author:** ![anon93371559](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@anon93371559](https://forum.universal-robots.com/u/anon93371559)\
**Post date:** [July 18, 2017, 4:05pm UTC](https://forum.universal-robots.com/t/xml-rpc-urcap-sample-issue/973/2 "2017-07-18T16:05:55Z")

</div>

You are properly using the wrong compiler.  
Try using g++ as stated in the documentation by running: `make CC=g++`

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/system/32/1_2.png) [@system](https://forum.universal-robots.com/u/system)\
**Post date:** [January 23, 2021, 6:32pm UTC](https://forum.universal-robots.com/t/xml-rpc-urcap-sample-issue/973/3 "2021-01-23T18:32:51Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
