We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 722 - undefined references to joystick functions
Summary: undefined references to joystick functions
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: HG 2.0
Hardware: x86 Linux
: P4 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-28 10:05 UTC by michalziulek
Modified: 2010-01-13 20:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michalziulek 2009-03-28 10:05:17 UTC
While building my application with SDL 1.3 SVN:

.../lib/libSDL.so: undefined reference to `SDL_SYS_JoystickInit'
.../lib/libSDL.so: undefined reference to `SDL_SYS_JoystickUpdate'
.../lib/libSDL.so: undefined reference to `SDL_SYS_JoystickOpen'
.../lib/libSDL.so: undefined reference to `SDL_SYS_JoystickName'
.../lib/libSDL.so: undefined reference to `SDL_SYS_JoystickClose'
.../lib/libSDL.so: undefined reference to `SDL_SYS_JoystickQuit'

To solve this I had to change the name of the src/joystick/dummy/SDL_sysjoystick.c file to src/joystick/dummy/SDL_dummyjoystick.c and then run ./autogen.sh, ./configure, make, make install again. Thanks.
Comment 1 Sam Lantinga 2009-09-26 03:00:28 UTC
Are you still getting this issue with the latest snapshot?
http://www.libsdl.org/tmp/SDL-1.3.zip
Comment 2 Ryan C. Gordon 2009-12-15 22:37:35 UTC
Changing bug priorities...

--ryan.
Comment 3 Sam Lantinga 2010-01-13 20:43:26 UTC
No response from the user and no idea how this could happen.  I'm closing this for now, please re-open if you have more info.