[JdeRobot] Problem with ICE

imalo ignaciomalo5 at gmail.com
Mon Mar 28 19:48:51 CEST 2016


Hi everyone, 

I´ve been trying to run some examples with ICE, following this tutorial in
"zeroc.com" : https://doc.zeroc.com/pages/viewpage.action?pageId=14680411
It´s a simple HelloWorld with ICE. After writing the Server and Client, and
after compiling the slicedefinition for C++, I find some problems trying to
execute the server. 

When I write this line it seems to be OK: 
$ c++ -I. -I$ICE_HOME/include -c Printer.cpp Server.cpp

But after that when I run: 
$ c++ -o server Printer.o Server.o -L$ICE_HOME/lib -lIce -lIceUtil
I get this error:
/usr/bin/ld: Printer.o: referencia sin definir al símbolo
'pthread_mutexattr_settype@@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

I don know if it doesn´t work because of the ICE installation or because I´m
writting something wrong. 
In this example, I´m replacing "$ICE_HOME" writting there the path to the
ICE folder(in this case: "/home/ignacio/ice-3.5.1")

Thank you. 
Ignacio. 





--
View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/Problem-with-ICE-tp4642987.html
Sent from the Jderobot Developer List mailing list archive at Nabble.com.


More information about the Jde-developers mailing list