View Single Post
Old 11 August 2017, 12:00   #139
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
thanks alot Nova

while building with SDL_AGA, i get these linker errors:
Code:
../SDL/lib/SDL_AGA_040.a(SDL_joystick.o)(.text+0x10):SDL_joystick.o: undefined reference to `_SDL_SYS_JoystickInit'
../SDL/lib/SDL_AGA_040.a(SDL_joystick.o)(.text+0xcc):SDL_joystick.o: undefined reference to `_SDL_SYS_JoystickName'
../SDL/lib/SDL_AGA_040.a(SDL_joystick.o)(.text+0x3fc):SDL_joystick.o: undefined reference to `_SDL_SYS_JoystickClose'
../SDL/lib/SDL_AGA_040.a(SDL_joystick.o)(.text+0x546):SDL_joystick.o: undefined reference to `_SDL_SYS_JoystickOpen'
../SDL/lib/SDL_AGA_040.a(SDL_joystick.o)(.text+0x71e):SDL_joystick.o: undefined reference to `_SDL_SYS_JoystickQuit'
../SDL/lib/SDL_AGA_040.a(SDL_joystick.o)(.text+0xa0e):SDL_joystick.o: undefined reference to `_SDL_SYS_JoystickUpdate'
collect2: ld returned 1 exit status
in sdl_joystick.h i tried to define it, without success:

Code:
m68k-amigaos-nm.exe SDL_AGA_040.a
...
000007de T _SDL_PrivateJoystickHat
         U _SDL_SYS_JoystickClose
         U _SDL_SYS_JoystickInit
         U _SDL_SYS_JoystickName
         U _SDL_SYS_JoystickOpen
         U _SDL_SYS_JoystickQuit
         U _SDL_SYS_JoystickUpdate
...
older version and rtg got the "T" next to the "U" entry for SDL_SYS_... but it is missing in latest aminet version.
Code:
extern DECLSPEC void SDLCALL SDL_JoystickUpdate(void);
extern DECLSPEC void SDLCALL SDL_SYS_JoystickUpdate(void);
this doesnt happen with your earlier version of sdl-aga nor the rtg version.
any idea?

Last edited by emufan; 11 August 2017 at 12:07.
emufan is offline  
 
Page generated in 0.06303 seconds with 11 queries