testmodel es una prueba de model.cpp, se ve que se me olvido subirlo.... por el momento puedes quitarlo, lo revisare y vere si interesa subirlo.<br><br>David<br><br><div class="gmail_quote">2010/1/30 Roberto Calvo <span dir="ltr">&lt;<a href="mailto:rocapal@libresoft.es">rocapal@libresoft.es</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Buenas!<br>
<br>
De nuevo problemas de lincado, esta vez en el componente motiondetector.<br>
<br>
Primero, en el Makefile.am aparece:<br>
<br>
motiondetectiontestmodel_SOURCES = testmodel.cpp model.cpp<br>
<br>
Y testmodel.cpp no está subido. No se si hace falta el archivo, o<br>
simplemente hay que quitarlo de esa linea. Yo lo he quitado para seguir<br>
compilando.<br>
<br>
David, ¿Alguna pista sobre el error de lincado.?. Quizás tenga que ver<br>
con el cambio de librería a la hora de compilar gearbox? También mosquea<br>
un poco el mensaje final, &quot;undefined reference to &#39;main&#39; &quot;<br>
<br>
Ahí va el log.<br>
<br>
rocapal@vega:~/robotica/jderobot/src/components/motiondetection$ make<br>
/bin/sh ../../../libtool --tag=CXX   --mode=link g++  -g -O2 -L/usr//lib -lcxcore -lcv -lcvaux -lml  -o motiondetectiontestmodel motiondetectiontestmodel-model.o ../../../src/libs/jderobotice/libJderobotIce.la ../../../src/interfaces/cpp/jderobot/libJderobotInterfaces.la ../../../src/libs/jderobotutil/libJderobotUtil.la ../../../src/libs/colorspaces/<a href="http://libcolorspaces.la" target="_blank">libcolorspaces.la</a> ../../../src/libs/colorspaces/libcolorspaces++.la -lm<br>

libtool: link: g++ -g -O2 -o .libs/motiondetectiontestmodel motiondetectiontestmodel-model.o  -L/usr//lib -lcxcore -lcv -lcvaux -lml ../../../src/libs/jderobotice/.libs/libJderobotIce.so ../../../src/interfaces/cpp/jderobot/.libs/libJderobotInterfaces.so ../../../src/libs/jderobotutil/.libs/libJderobotUtil.so ../../../src/libs/colorspaces/.libs/libcolorspaces.so ../../../src/libs/colorspaces/.libs/libcolorspaces++.so -lm -Wl,-rpath -Wl,/usr/local/lib/jderobot<br>

/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 0 has invalid symbol index 12<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 1 has invalid symbol index 13<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 2 has invalid symbol index 2<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 3 has invalid symbol index 2<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 4 has invalid symbol index 12<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 5 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 6 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 7 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 8 has invalid symbol index 2<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 9 has invalid symbol index 2<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 10 has invalid symbol index 13<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 11 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 12 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 13 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 14 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 15 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 16 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 17 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 18 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 19 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 20 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 21 has invalid symbol index 14<br>
/usr/bin/ld: /usr/lib/debug/usr/lib/crt1.o(.debug_info): relocation 22 has invalid symbol index 22<br>
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start&#39;:<br>
(.text+0x18): undefined reference to `main&#39;<br>
collect2: ld returned 1 exit status<br>
make: *** [motiondetectiontestmodel] Error 1<br>
<font color="#888888"><br>
--<br>
Roberto Calvo Palomino          | Libre Software Engineering Lab (GSyC)<br>
Tel: (+34) 91 488 85 23         | Universidad Rey Juan Carlos<br>
<a href="mailto:rocapal@libresoft.es">rocapal@libresoft.es</a>            | Edif. Departamental II - Despacho 116<br>
<a href="http://libresoft.es/" target="_blank">http://libresoft.es/</a>            | c/Tulipán s/n 28933 Móstoles (Madrid)<br>
<br>
GPG-KEY: <a href="http://gsyc.es/%7Erocapal/rocapal.gpg" target="_blank">http://gsyc.es/~rocapal/rocapal.gpg</a><br>
</font><br>_______________________________________________<br>
Jde-developers mailing list<br>
<a href="mailto:Jde-developers@gsyc.es">Jde-developers@gsyc.es</a><br>
<a href="http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers" target="_blank">http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers</a><br>
<br></blockquote></div><br>