GumROS log4cxx compilation problem
I want to install GumROS to my Overo Fire. I have followed the tutorial on the ROS wiki[1]. Before compiling ROS, I need to compile and install patched version of log4cxx. I got source then configure it with:
./configure --prefix=/opt/gumros \
--host=arm-linux \
--with-apr=/opt/gumros \
--with-apr-util=/opt/gumros \
ac_cv_file__dev_zero=yes \
ac_cv_func_setpgrp_void=yes \
apr_cv_tcp_nodelay_with_cork=no \
apr_cv_process_shared_works=no \
apr_cv_mutex_robust_shared=no \
ac_cv_sizeof_struct_iovec=8
and then i have managed to make install. Everything was fine up to this point. But while i was trying "sudo make install", i got following error:
libtool: install: warning: relinking `liblog4cxx.la'
/usr/bin/ld: ~/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/crti.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: ~/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/crti.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: ~/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/crti.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: ~/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/crti.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: ~/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/crti.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: ~/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/crti.o: Relocations in generic ELF (EM: 40)
~/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/crti.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
libtool: install: error: relink `liblog4cxx.la' with the above command before installing it
make[4]: *** [install-libLTLIBRARIES] Error 1
make[3]: *** [install-am] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
I especially do not understand the error:
~/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/crti.o: could not read symbols: File in wrong format
PS: GCC v4.3.3 (which: ~/overo-oe/tmp/sysroots/i686-linux/usr/armv7a/bin/gcc)
Thanks in advance