tries to link joystick functions that are not enabled in SDL
Status: Alpha
Brought to you by:
afvargas
Joystick functionality is optional in SDL. AdaSDL tries to use it even if it is not enabled and fails:
gnatlink testjoystick.ali -L/usr/lib -L/usr/local/lib -L~/lib -lSDL -lpthread -lGL -lGLU
./testjoystick.o: In function `_ada_testjoystick':
testjoystick.adb:(.text+0x3f): undefined reference to `SDL_NumJoysticks'
This problem can be worked around by removing the line mentioning testjoystick from stdtest/Makefile. But of course it should be detected whether SDL has joystick functionality enabled.