{"action":"closed","issue":{"url":"https://api.github.com/repos/supertuxkart/stk-code/issues/1798","repository_url":"https://api.github.com/repos/supertuxkart/stk-code","labels_url":"https://api.github.com/repos/supertuxkart/stk-code/issues/1798/labels{/name}","comments_url":"https://api.github.com/repos/supertuxkart/stk-code/issues/1798/comments","events_url":"https://api.github.com/repos/supertuxkart/stk-code/issues/1798/events","html_url":"https://github.com/supertuxkart/stk-code/issues/1798","id":52242276,"number":1798,"title":"Underlinking issue in libwiiuse?","user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2014-12-17T13:55:11Z","updated_at":"2016-11-13T23:21:45Z","closed_at":"2016-11-13T23:21:45Z","body":"Hi,\n\nI get this error when building STK 0.8.2-beta with `-Wl,--no-undefined` on Linux (Mageia 5, 64bit, GCC 4.9.2):\n\n```\nLinking C shared library libwiiuse.so\nCMakeFiles/wiiuse.dir/dynamics.c.o: In function `calc_joystick_state':\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/dynamics.c:184: undefined reference to `atan2f'\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/dynamics.c:186: undefined reference to `sqrtf'\nCMakeFiles/wiiuse.dir/dynamics.c.o: In function `calculate_orientation':\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/dynamics.c:107: undefined reference to `atan2f'\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/dynamics.c:99: undefined reference to `atan2f'\nCMakeFiles/wiiuse.dir/ir.c.o: In function `fix_rotated_ir_dots':\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/ir.c:601: undefined reference to `sincosf'\nCMakeFiles/wiiuse.dir/ir.c.o: In function `calc_yaw':\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/ir.c:792: undefined reference to `atanf'\nCMakeFiles/wiiuse.dir/ir.c.o: In function `ir_distance':\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/ir.c:712: undefined reference to `sqrtf'\nCMakeFiles/wiiuse.dir/os_nix.c.o: In function `wiiuse_os_find':\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/os_nix.c:73: undefined reference to `hci_get_route'\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/os_nix.c:84: undefined reference to `hci_open_dev'\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/os_nix.c:93: undefined reference to `hci_inquiry'\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/os_nix.c:112: undefined reference to `ba2str'\n/home/akien/Mageia/Checkout/supertuxkart/BUILD/supertuxkart-0.8.2/lib/wiiuse/os_nix.c:112: undefined reference to `ba2str'\ncollect2: error: ld returned 1 exit status\nlib/wiiuse/CMakeFiles/wiiuse.dir/build.make:385: recipe for target 'lib/wiiuse/libwiiuse.so' failed\nmake[2]: *** [lib/wiiuse/libwiiuse.so] Error 1\nCMakeFiles/Makefile2:422: recipe for target 'lib/wiiuse/CMakeFiles/wiiuse.dir/all' failed\nmake[1]: *** [lib/wiiuse/CMakeFiles/wiiuse.dir/all] Error 2\nMakefile:117: recipe for target 'all' failed\nmake: *** [all] Error 2\n```\n"}}
{"actor":{"display_login":"auriamg"}}