{"action":"closed","issue":{"url":"https://api.github.com/repos/robotology/robotology-superbuild/issues/191","repository_url":"https://api.github.com/repos/robotology/robotology-superbuild","labels_url":"https://api.github.com/repos/robotology/robotology-superbuild/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/robotology/robotology-superbuild/issues/191/comments","events_url":"https://api.github.com/repos/robotology/robotology-superbuild/issues/191/events","html_url":"https://github.com/robotology/robotology-superbuild/issues/191","id":427725242,"node_id":"MDU6SXNzdWU0Mjc3MjUyNDI=","number":191,"title":"YARP shared library is linked against static system libSDL.a instead of libSDL.so ","user":{"login":"VenusPasandi","id":34647611,"node_id":"MDQ6VXNlcjM0NjQ3NjEx","avatar_url":"https://avatars3.githubusercontent.com/u/34647611?v=4","gravatar_id":"","url":"https://api.github.com/users/VenusPasandi","html_url":"https://github.com/VenusPasandi","followers_url":"https://api.github.com/users/VenusPasandi/followers","following_url":"https://api.github.com/users/VenusPasandi/following{/other_user}","gists_url":"https://api.github.com/users/VenusPasandi/gists{/gist_id}","starred_url":"https://api.github.com/users/VenusPasandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VenusPasandi/subscriptions","organizations_url":"https://api.github.com/users/VenusPasandi/orgs","repos_url":"https://api.github.com/users/VenusPasandi/repos","events_url":"https://api.github.com/users/VenusPasandi/events{/privacy}","received_events_url":"https://api.github.com/users/VenusPasandi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2019-04-01T14:05:45Z","updated_at":"2019-05-07T12:44:32Z","closed_at":"2019-05-07T12:44:32Z","author_association":"NONE","body":"I tried to install the robotology-superbuild and I got the following error when I do `make`,\r\n\r\n>[ 63%] Built target yarp_test_grabber\r\n[ 63%] Linking CXX shared module ../../../lib/yarp/yarp_SDLJoypad.so\r\n/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libSDL.a(SDL.o): relocation R_X86_64_PC32 against symbol `SDL_InitSubSystem' can not be used when making a shared object; recompile with -fPIC\r\n/usr/bin/ld: final link failed: Bad value\r\ncollect2: error: ld returned 1 exit status\r\nsrc/devices/SDLJoypad/CMakeFiles/yarp_SDLJoypad.dir/build.make:125: recipe for target 'lib/yarp/yarp_SDLJoypad.so' failed\r\nmake[5]: *** [lib/yarp/yarp_SDLJoypad.so] Error 1\r\nCMakeFiles/Makefile2:2417: recipe for target 'src/devices/SDLJoypad/CMakeFiles/yarp_SDLJoypad.dir/all' failed\r\nmake[4]: *** [src/devices/SDLJoypad/CMakeFiles/yarp_SDLJoypad.dir/all] Error 2\r\nMakefile:151: recipe for target 'all' failed\r\nmake[3]: *** [all] Error 2\r\nCMakeFiles/YARP.dir/build.make:108: recipe for target 'robotology/YARP/CMakeFiles/YCMStamp/YARP-build' failed\r\nmake[2]: *** [robotology/YARP/CMakeFiles/YCMStamp/YARP-build] Error 2\r\nCMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/YARP.dir/all' failed\r\nmake[1]: *** [CMakeFiles/YARP.dir/all] Error 2\r\nMakefile:140: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n\r\nI don't know what is the reason but I got the following warning when I did `cmake` \r\n\r\n> CMake Warning (dev) at build/CMakeFiles/YCMEPHelper.cmake:171 (message):\r\n>    YCM_BOOTSTRAP HASH mismatch\r\n> \r\n>      for file: [/home/vpasandi/Documents/repositories/robotology-superbuild/cmake/IncludeUrl.cmake]\r\n>        expected hash: [e31dffed0897729283ef4e945bbdeb1921b438b5]\r\n>          actual hash: [ae6de83398115e5b8fd6c261972dea82d1aeb3fd]\r\n> \r\n>    Perhaps it is outdated or you have local modification.  Please consider\r\n>    upgrading it, or contributing your changes to YCM.\r\n> \r\n>  Call Stack (most recent call first):\r\n>    build/CMakeFiles/YCMEPHelper.cmake:1330 (_ycm_hash_check)\r\n>    cmake/YCMBootstrap.cmake:114 (ycm_bootstrap)\r\n>    CMakeLists.txt:104 (include)\r\n>  This warning is for project developers.  Use -Wno-dev to suppress it."}}
{"actor":{"display_login":"traversaro"}}