Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ld error #8

Open
wants to merge 1 commit into
base: hydro-devel
Choose a base branch
from
Open

Conversation

mintar
Copy link

@mintar mintar commented Mar 6, 2015

This fixes the following error:

Linking CXX executable

/home/martin/ros-hydro-ws/devel/lib/lms1xx/set_config
Linking CXX executable
/home/martin/ros-hydro-ws/devel/lib/lms1xx/LMS1xx_node
/usr/bin/ld: cannot find -llms1xx
collect2: ld returned 1 exit status
make[2]: *** [/home/martin/ros-hydro-ws/devel/lib/lms1xx/set_config] Error
1
make[1]: *** [CMakeFiles/set_config.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -llms1xx
collect2: ld returned 1 exit status
make[2]: *** [/home/martin/ros-hydro-ws/devel/lib/lms1xx/LMS1xx_node] Error
1
make[1]: *** [CMakeFiles/LMS1xx_node.dir/all] Error 2
make: *** [all] Error 2

The error happens sometimes with catkin_make (especially after first
removing the build directory), but can be reliably reproduced with the new
catkin tool.

This fixes the following error:

    Linking CXX executable /home/martin/ros-hydro-ws/devel/lib/lms1xx/set_config
    Linking CXX executable /home/martin/ros-hydro-ws/devel/lib/lms1xx/LMS1xx_node
    /usr/bin/ld: cannot find -llms1xx
    collect2: ld returned 1 exit status
    make[2]: *** [/home/martin/ros-hydro-ws/devel/lib/lms1xx/set_config] Error 1
    make[1]: *** [CMakeFiles/set_config.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    /usr/bin/ld: cannot find -llms1xx
    collect2: ld returned 1 exit status
    make[2]: *** [/home/martin/ros-hydro-ws/devel/lib/lms1xx/LMS1xx_node] Error 1
    make[1]: *** [CMakeFiles/LMS1xx_node.dir/all] Error 2
    make: *** [all] Error 2

The error happens sometimes with `catkin_make` (especially after first
removing the build directory), but can be reliably reproduced with the
new [catkin tool](http://catkin-tools.readthedocs.org).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant