I develop a component in my desktop environment ( ubuntu 10.04 + gnulinux as target on Orocos 2.4.0 installation). All is fine on it.
But later,when I get the source project of my component and transfer it to my embedded platform (Debian 6.0.2 with Xenomai target on Orocos 2.4.0), the linker compilation crashed:
Linking CXX shared library libmydriver-xenomai.so /usr/bin/ld: cannot find -llog4cpp collect2: ld returned 1 exit status make: ***[libmydriver-xenomai.so] Error 1 make: ***[CMakeFiles/ ... Error 2 make: *** [all] Error 2
I have references on log4cpp and dependencies on my CMakeList.txt
[...] orocos_use_package(ocl-logging) [...] target_link_libraries(mydriver log4cpp) [...]
Any ideas¿? Thanks in advance Toni