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

Summary: undefined references to joystick functions
Product: SDL Reporter: michalziulek
Component: joystickAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED WORKSFORME QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P4    
Version: HG 2.0   
Hardware: x86   
OS: Linux   

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.