Compilation error LMS1xx driver under Fuerte
General information on the system used:
OS: 3.8.0-31-generic #46~precise1-Ubuntu SMP Wed Sep 11 18:21:16 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
ROS: Fuerte
Buildsystem: rosmake
Overlay: Managed with rosws
Output rosws:
Localname S SCM Version-Spec UID (Spec) URI (Spec) [http(s)://...]
--------- - ---- ------------ ----------- ---------------------------
RCPRG_laser_drivers/LMS1xx
RCPRG_laser_drivers/libLMS1xx
/opt/ros/fuerte/stacks
/opt/ros/fuerte/share
/opt/ros/fuerte/share/ros
When I try to compile the LMS1xx package I recieve a linker error.
Linking CXX executable ../bin/LMS100
Linking CXX executable ../bin/set_config
/usr/bin/ld: skipping incompatible /home/user/fuerte_ws/RCPRG_laser_drivers/libLMS1xx/libLMS1xx/lib/libLMS1xx.so when searching for -lLMS1xx
/usr/bin/ld: cannot find -lLMS1xx
/usr/bin/ld: skipping incompatible /home/user/fuerte_ws/RCPRG_laser_drivers/libLMS1xx/libLMS1xx/lib/libLMS1xx.so when searching for -lLMS1xx
/usr/bin/ld: cannot find -lLMS1xx
collect2: ld gab 1 als Ende-Status zurück
make[3]: *** [../bin/set_config] Fehler 1
make[3]: Verlasse Verzeichnis '/home/user/fuerte_ws/RCPRG_laser_drivers/LMS1xx/build'
make[2]: *** [CMakeFiles/set_config.dir/all] Fehler 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
collect2: ld gab 1 als Ende-Status zurück
make[3]: *** [../bin/LMS100] Fehler 1
make[3]: Verlasse Verzeichnis '/home/user/fuerte_ws/RCPRG_laser_drivers/LMS1xx/build'
make[2]: *** [CMakeFiles/LMS100.dir/all] Fehler 2
make[2]: Verlasse Verzeichnis '/home/user/fuerte_ws/RCPRG_laser_drivers/LMS1xx/build'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/home/user/fuerte_ws/RCPRG_laser_drivers/LMS1xx/build'
I created a link named LMS1xx pointing to libLMS1xx.so, but it didn't help.
My linker variables look like this:
OLDPWD=/home/user/fuerte_ws/RCPRG_laser_drivers/libLMS1xx/libLMS1xx/lib
LD_LIBRARY_PATH=/opt/ros/fuerte/lib:/home/user/fuerte_ws/RCPRG_laser_drivers/libLMS1xx/libLMS1xx/lib:
OLDPWDBAK=
Does anybody see the error that prevents me from compiling?
BR