[JdeRobot] Problem with ICE

JoseMaria Cañas Plaza jmplaza at gsyc.es
Mon Mar 28 20:29:21 CEST 2016


Uhm... I answer to you in private email as this question is not about
JdeRobot at all, just about ICE.

Best regards,

JoseMaria

On Mon, Mar 28, 2016 at 7:54 PM, imalo <ignaciomalo5 en gmail.com> wrote:
> 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 slice definition 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´t know if it doesn´t work because of the ICE installation or because
> I´m writing something wrong.
> In this example, I´m replacing "$ICE_HOME", writing there the path to the
> ICE folder(in this case: "/home/ignacio/ice-3.5.1")
>
> Thank you. (Sorry if you receive some copies of this message)
> Ignacio.
>
>
>
> --
> View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/Problem-with-ICE-tp4642988.html
> Sent from the Jderobot Developer List mailing list archive at Nabble.com.
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers



-- 
Universidad Rey Juan Carlos
http://gsyc.urjc.es/jmplaza


More information about the Jde-developers mailing list