From: Dean M Greer gcenx83@gmail.com
This fixes pkgconfig SDL2 detection when SDL2 is installed in a non-standard location.
Signed-off-by: Dean M Greer gcenx83@gmail.com Signed-off-by: Gijs Vermeulen gijsvrm@gmail.com --- configure.ac | 2 +- dlls/winebus.sys/bus_sdl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac index e823543f1cd..168df52f791 100644 --- a/configure.ac +++ b/configure.ac @@ -1712,7 +1712,7 @@ dnl **** Check for libSDL2 **** if test "x$with_sdl" != "xno" then WINE_PACKAGE_FLAGS(SDL2,[sdl2],[-lSDL2],,, - [AC_CHECK_HEADERS([SDL2/SDL.h], + [AC_CHECK_HEADERS([SDL.h], [WINE_CHECK_SONAME(SDL2,SDL_Init,,,[$SDL2_LIBS],[[libSDL2-2.0*]])])]) fi WINE_NOTICE_WITH(sdl,[test "x$ac_cv_lib_soname_SDL2" = "x"], diff --git a/dlls/winebus.sys/bus_sdl.c b/dlls/winebus.sys/bus_sdl.c index 19c6f23e071..06fdaa4dc62 100644 --- a/dlls/winebus.sys/bus_sdl.c +++ b/dlls/winebus.sys/bus_sdl.c @@ -28,7 +28,7 @@ # include <unistd.h> #endif #ifdef HAVE_SDL2_SDL_H -# include <SDL2/SDL.h> +# include <SDL.h> #endif
#define NONAMELESSUNION
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=82995
Your paranoid android.
=== debiant (build log) ===
../wine/dlls/winebus.sys/bus_sdl.c:74:14: error: ‘SDL_GetError’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:75:14: error: ‘SDL_Init’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:76:14: error: ‘SDL_JoystickClose’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:77:14: error: ‘SDL_JoystickEventState’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:78:14: error: ‘SDL_JoystickGetGUID’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:79:14: error: ‘SDL_JoystickGetGUIDString’ undeclared here (not in a function); did you mean ‘pSDL_JoystickGetGUID’? ../wine/dlls/winebus.sys/bus_sdl.c:80:14: error: ‘SDL_JoystickInstanceID’ undeclared here (not in a function); did you mean ‘pSDL_JoystickGetGUID’? ../wine/dlls/winebus.sys/bus_sdl.c:81:14: error: ‘SDL_JoystickName’ undeclared here (not in a function); did you mean ‘pSDL_JoystickClose’? ../wine/dlls/winebus.sys/bus_sdl.c:82:14: error: ‘SDL_JoystickNumAxes’ undeclared here (not in a function); did you mean ‘pSDL_JoystickName’? ../wine/dlls/winebus.sys/bus_sdl.c:83:14: error: ‘SDL_JoystickOpen’ undeclared here (not in a function); did you mean ‘pSDL_JoystickName’? ../wine/dlls/winebus.sys/bus_sdl.c:84:14: error: ‘SDL_WaitEvent’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:85:14: error: ‘SDL_JoystickNumButtons’ undeclared here (not in a function); did you mean ‘pSDL_JoystickNumAxes’? ../wine/dlls/winebus.sys/bus_sdl.c:86:14: error: ‘SDL_JoystickNumBalls’ undeclared here (not in a function); did you mean ‘pSDL_JoystickNumAxes’? ../wine/dlls/winebus.sys/bus_sdl.c:87:14: error: ‘SDL_JoystickNumHats’ undeclared here (not in a function); did you mean ‘pSDL_JoystickNumBalls’? ../wine/dlls/winebus.sys/bus_sdl.c:88:14: error: ‘SDL_JoystickGetAxis’ undeclared here (not in a function); did you mean ‘pSDL_JoystickNumAxes’? ../wine/dlls/winebus.sys/bus_sdl.c:89:14: error: ‘SDL_JoystickGetHat’ undeclared here (not in a function); did you mean ‘pSDL_JoystickGetAxis’? ../wine/dlls/winebus.sys/bus_sdl.c:90:14: error: ‘SDL_IsGameController’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:91:14: error: ‘SDL_GameControllerClose’ undeclared here (not in a function); did you mean ‘pSDL_IsGameController’? ../wine/dlls/winebus.sys/bus_sdl.c:92:14: error: ‘SDL_GameControllerGetAxis’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerClose’? ../wine/dlls/winebus.sys/bus_sdl.c:93:14: error: ‘SDL_GameControllerGetButton’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerGetAxis’? ../wine/dlls/winebus.sys/bus_sdl.c:94:14: error: ‘SDL_GameControllerName’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerClose’? ../wine/dlls/winebus.sys/bus_sdl.c:95:14: error: ‘SDL_GameControllerOpen’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerName’? ../wine/dlls/winebus.sys/bus_sdl.c:96:14: error: ‘SDL_GameControllerEventState’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerOpen’? ../wine/dlls/winebus.sys/bus_sdl.c:97:14: error: ‘SDL_HapticClose’ undeclared here (not in a function); did you mean ‘pSDL_JoystickClose’? ../wine/dlls/winebus.sys/bus_sdl.c:98:14: error: ‘SDL_HapticDestroyEffect’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:99:14: error: ‘SDL_HapticNewEffect’ undeclared here (not in a function); did you mean ‘pSDL_HapticDestroyEffect’? ../wine/dlls/winebus.sys/bus_sdl.c:100:14: error: ‘SDL_HapticOpenFromJoystick’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:101:14: error: ‘SDL_HapticQuery’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:102:14: error: ‘SDL_HapticRumbleInit’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:103:14: error: ‘SDL_HapticRumblePlay’ undeclared here (not in a function); did you mean ‘pSDL_HapticRumbleInit’? ../wine/dlls/winebus.sys/bus_sdl.c:104:14: error: ‘SDL_HapticRumbleSupported’ undeclared here (not in a function); did you mean ‘pSDL_HapticRumbleInit’? ../wine/dlls/winebus.sys/bus_sdl.c:105:14: error: ‘SDL_HapticRunEffect’ undeclared here (not in a function); did you mean ‘pSDL_HapticNewEffect’? ../wine/dlls/winebus.sys/bus_sdl.c:106:14: error: ‘SDL_HapticStopAll’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:107:14: error: ‘SDL_JoystickIsHaptic’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:108:14: error: ‘SDL_memset’ undeclared here (not in a function); did you mean ‘memset’? ../wine/dlls/winebus.sys/bus_sdl.c:109:14: error: ‘SDL_GameControllerAddMapping’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerOpen’? ../wine/dlls/winebus.sys/bus_sdl.c:110:14: error: ‘SDL_RegisterEvents’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:111:14: error: ‘SDL_PushEvent’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:113:16: error: expected declaration specifiers or ‘...’ before ‘*’ token ../wine/dlls/winebus.sys/bus_sdl.c:114:16: error: expected declaration specifiers or ‘...’ before ‘*’ token ../wine/dlls/winebus.sys/bus_sdl.c:115:16: error: expected declaration specifiers or ‘...’ before ‘*’ token ../wine/dlls/winebus.sys/bus_sdl.c:119:5: error: unknown type name ‘SDL_Joystick’ ../wine/dlls/winebus.sys/bus_sdl.c:120:5: error: unknown type name ‘SDL_GameController’ ../wine/dlls/winebus.sys/bus_sdl.c:121:5: error: unknown type name ‘SDL_JoystickID’ ../wine/dlls/winebus.sys/bus_sdl.c:134:5: error: unknown type name ‘SDL_Haptic’ ../wine/dlls/winebus.sys/bus_sdl.c:271:33: error: ‘SDL_CONTROLLER_AXIS_TRIGGERLEFT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:271:77: error: ‘SDL_CONTROLLER_AXIS_TRIGGERRIGHT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:317:14: error: ‘SDL_HAT_CENTERED’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:318:14: error: ‘SDL_HAT_UP’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:319:14: error: ‘SDL_HAT_RIGHTUP’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:320:14: error: ‘SDL_HAT_RIGHT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:321:14: error: ‘SDL_HAT_RIGHTDOWN’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:322:14: error: ‘SDL_HAT_DOWN’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:323:14: error: ‘SDL_HAT_LEFTDOWN’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:324:14: error: ‘SDL_HAT_LEFT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:325:14: error: ‘SDL_HAT_LEFTUP’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:341:9: error: called object ‘pSDL_JoystickIsHaptic’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:343:27: error: called object ‘pSDL_HapticOpenFromJoystick’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:345:15: error: called object ‘pSDL_HapticQuery’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:345:51: error: ‘SDL_HAPTIC_LEFTRIGHT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:346:14: error: called object ‘pSDL_HapticRumbleSupported’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:348:13: error: called object ‘pSDL_HapticStopAll’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:349:13: error: called object ‘pSDL_HapticRumbleInit’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:355:13: error: called object ‘pSDL_HapticClose’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:403:18: error: called object ‘pSDL_JoystickNumAxes’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:419:18: error: called object ‘pSDL_JoystickNumBalls’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:435:20: error: called object ‘pSDL_JoystickNumButtons’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:442:17: error: called object ‘pSDL_JoystickNumHats’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:502:32: error: called object ‘pSDL_JoystickGetAxis’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:504:31: error: called object ‘pSDL_JoystickGetHat’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:509:33: error: unknown type name ‘SDL_GameController’ ../wine/dlls/winebus.sys/bus_sdl.c:599:14: error: ‘SDL_CONTROLLER_AXIS_LEFTX’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:599:45: error: ‘SDL_CONTROLLER_AXIS_MAX’ undeclared (first use in this function); did you mean ‘CONTROLLER_AXIS’? ../wine/dlls/winebus.sys/bus_sdl.c:600:32: error: called object ‘pSDL_GameControllerGetAxis’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:613:5: error: unknown type name ‘SDL_JoystickID’ ../wine/dlls/winebus.sys/bus_sdl.c:614:5: error: unknown type name ‘SDL_JoystickID’ ../wine/dlls/winebus.sys/bus_sdl.c:641:23: error: called object ‘pSDL_GameControllerName’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:643:23: error: called object ‘pSDL_JoystickName’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:679:13: error: called object ‘pSDL_HapticDestroyEffect’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:682:9: error: called object ‘pSDL_HapticStopAll’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:685:13: error: unknown type name ‘SDL_HapticEffect’ ../wine/dlls/winebus.sys/bus_sdl.c:687:45: error: ‘SDL_HapticEffect’ undeclared (first use in this function); did you mean ‘pSDL_HapticRunEffect’? ../wine/dlls/winebus.sys/bus_sdl.c:687:13: error: called object ‘pSDL_memset’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:688:19: error: request for member ‘type’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:688:27: error: ‘SDL_HAPTIC_LEFTRIGHT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:689:19: error: request for member ‘leftright’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:690:19: error: request for member ‘leftright’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:691:19: error: request for member ‘leftright’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:693:37: error: called object ‘pSDL_HapticNewEffect’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:696:17: error: called object ‘pSDL_HapticRunEffect’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:701:17: error: called object ‘pSDL_HapticRumblePlay’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:742:35: error: unknown type name ‘SDL_Event’ ../wine/dlls/winebus.sys/bus_sdl.c:806:42: error: unknown type name ‘SDL_Event’ ../wine/dlls/winebus.sys/bus_sdl.c:875:31: error: unknown type name ‘SDL_JoystickID’ ../wine/dlls/winebus.sys/bus_sdl.c:912:5: error: unknown type name ‘SDL_Joystick’ ../wine/dlls/winebus.sys/bus_sdl.c:913:5: error: unknown type name ‘SDL_JoystickID’ ../wine/dlls/winebus.sys/bus_sdl.c:914:5: error: unknown type name ‘SDL_JoystickGUID’ ../wine/dlls/winebus.sys/bus_sdl.c:915:5: error: unknown type name ‘SDL_GameController’ ../wine/dlls/winebus.sys/bus_sdl.c:917:21: error: called object ‘pSDL_JoystickOpen’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:919:59: error: called object ‘pSDL_GetError’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:923:28: error: called object ‘pSDL_IsGameController’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:924:22: error: called object ‘pSDL_GameControllerOpen’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:926:10: error: called object ‘pSDL_JoystickInstanceID’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:928:9: error: ‘pSDL_JoystickGetProductVersion’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:936:15: error: called object ‘pSDL_JoystickInstanceID’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:940:12: error: called object ‘pSDL_JoystickGetGUID’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:941:5: error: called object ‘pSDL_JoystickGetGUIDString’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:957:22: error: called object ‘pSDL_JoystickNumAxes’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:958:24: error: called object ‘pSDL_JoystickNumButtons’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:994:34: error: unknown type name ‘SDL_Event’ ../wine/dlls/winebus.sys/bus_sdl.c:1011:5: error: unknown type name ‘SDL_Event’ ../wine/dlls/winebus.sys/bus_sdl.c:1013:19: error: ‘SDL_INIT_GAMECONTROLLER’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:1013:43: error: ‘SDL_INIT_HAPTIC’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:1013:9: error: called object ‘pSDL_Init’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1015:37: error: called object ‘pSDL_GetError’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1019:29: error: ‘SDL_ENABLE’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:1019:5: error: called object ‘pSDL_JoystickEventState’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1020:5: error: called object ‘pSDL_GameControllerEventState’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1032:17: error: called object ‘pSDL_GameControllerAddMapping’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1033:64: error: called object ‘pSDL_GetError’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1065:25: error: called object ‘pSDL_GameControllerAddMapping’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1066:69: error: called object ‘pSDL_GetError’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1078:16: error: called object ‘pSDL_WaitEvent’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1079:22: error: request for member ‘type’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:1090:5: error: unknown type name ‘SDL_Event’ ../wine/dlls/winebus.sys/bus_sdl.c:1097:18: error: called object ‘pSDL_RegisterEvents’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1103:10: error: request for member ‘type’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:1104:9: error: called object ‘pSDL_PushEvent’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1169:9: error: ‘pSDL_JoystickGetProduct’ undeclared (first use in this function); did you mean ‘pSDL_JoystickGetHat’? ../wine/dlls/winebus.sys/bus_sdl.c:1170:9: error: ‘pSDL_JoystickGetProductVersion’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:1171:9: error: ‘pSDL_JoystickGetVendor’ undeclared (first use in this function); did you mean ‘pSDL_JoystickGetHat’? Task: The win32 Wine build failed
=== debiant (build log) ===
../wine/dlls/winebus.sys/bus_sdl.c:74:14: error: ‘SDL_GetError’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:75:14: error: ‘SDL_Init’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:76:14: error: ‘SDL_JoystickClose’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:77:14: error: ‘SDL_JoystickEventState’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:78:14: error: ‘SDL_JoystickGetGUID’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:79:14: error: ‘SDL_JoystickGetGUIDString’ undeclared here (not in a function); did you mean ‘pSDL_JoystickGetGUID’? ../wine/dlls/winebus.sys/bus_sdl.c:80:14: error: ‘SDL_JoystickInstanceID’ undeclared here (not in a function); did you mean ‘pSDL_JoystickGetGUID’? ../wine/dlls/winebus.sys/bus_sdl.c:81:14: error: ‘SDL_JoystickName’ undeclared here (not in a function); did you mean ‘pSDL_JoystickClose’? ../wine/dlls/winebus.sys/bus_sdl.c:82:14: error: ‘SDL_JoystickNumAxes’ undeclared here (not in a function); did you mean ‘pSDL_JoystickName’? ../wine/dlls/winebus.sys/bus_sdl.c:83:14: error: ‘SDL_JoystickOpen’ undeclared here (not in a function); did you mean ‘pSDL_JoystickName’? ../wine/dlls/winebus.sys/bus_sdl.c:84:14: error: ‘SDL_WaitEvent’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:85:14: error: ‘SDL_JoystickNumButtons’ undeclared here (not in a function); did you mean ‘pSDL_JoystickNumAxes’? ../wine/dlls/winebus.sys/bus_sdl.c:86:14: error: ‘SDL_JoystickNumBalls’ undeclared here (not in a function); did you mean ‘pSDL_JoystickNumAxes’? ../wine/dlls/winebus.sys/bus_sdl.c:87:14: error: ‘SDL_JoystickNumHats’ undeclared here (not in a function); did you mean ‘pSDL_JoystickNumBalls’? ../wine/dlls/winebus.sys/bus_sdl.c:88:14: error: ‘SDL_JoystickGetAxis’ undeclared here (not in a function); did you mean ‘pSDL_JoystickNumAxes’? ../wine/dlls/winebus.sys/bus_sdl.c:89:14: error: ‘SDL_JoystickGetHat’ undeclared here (not in a function); did you mean ‘pSDL_JoystickGetAxis’? ../wine/dlls/winebus.sys/bus_sdl.c:90:14: error: ‘SDL_IsGameController’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:91:14: error: ‘SDL_GameControllerClose’ undeclared here (not in a function); did you mean ‘pSDL_IsGameController’? ../wine/dlls/winebus.sys/bus_sdl.c:92:14: error: ‘SDL_GameControllerGetAxis’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerClose’? ../wine/dlls/winebus.sys/bus_sdl.c:93:14: error: ‘SDL_GameControllerGetButton’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerGetAxis’? ../wine/dlls/winebus.sys/bus_sdl.c:94:14: error: ‘SDL_GameControllerName’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerClose’? ../wine/dlls/winebus.sys/bus_sdl.c:95:14: error: ‘SDL_GameControllerOpen’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerName’? ../wine/dlls/winebus.sys/bus_sdl.c:96:14: error: ‘SDL_GameControllerEventState’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerOpen’? ../wine/dlls/winebus.sys/bus_sdl.c:97:14: error: ‘SDL_HapticClose’ undeclared here (not in a function); did you mean ‘pSDL_JoystickClose’? ../wine/dlls/winebus.sys/bus_sdl.c:98:14: error: ‘SDL_HapticDestroyEffect’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:99:14: error: ‘SDL_HapticNewEffect’ undeclared here (not in a function); did you mean ‘pSDL_HapticDestroyEffect’? ../wine/dlls/winebus.sys/bus_sdl.c:100:14: error: ‘SDL_HapticOpenFromJoystick’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:101:14: error: ‘SDL_HapticQuery’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:102:14: error: ‘SDL_HapticRumbleInit’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:103:14: error: ‘SDL_HapticRumblePlay’ undeclared here (not in a function); did you mean ‘pSDL_HapticRumbleInit’? ../wine/dlls/winebus.sys/bus_sdl.c:104:14: error: ‘SDL_HapticRumbleSupported’ undeclared here (not in a function); did you mean ‘pSDL_HapticRumbleInit’? ../wine/dlls/winebus.sys/bus_sdl.c:105:14: error: ‘SDL_HapticRunEffect’ undeclared here (not in a function); did you mean ‘pSDL_HapticNewEffect’? ../wine/dlls/winebus.sys/bus_sdl.c:106:14: error: ‘SDL_HapticStopAll’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:107:14: error: ‘SDL_JoystickIsHaptic’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:108:14: error: ‘SDL_memset’ undeclared here (not in a function); did you mean ‘memset’? ../wine/dlls/winebus.sys/bus_sdl.c:109:14: error: ‘SDL_GameControllerAddMapping’ undeclared here (not in a function); did you mean ‘pSDL_GameControllerOpen’? ../wine/dlls/winebus.sys/bus_sdl.c:110:14: error: ‘SDL_RegisterEvents’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:111:14: error: ‘SDL_PushEvent’ undeclared here (not in a function) ../wine/dlls/winebus.sys/bus_sdl.c:113:16: error: expected declaration specifiers or ‘...’ before ‘*’ token ../wine/dlls/winebus.sys/bus_sdl.c:114:16: error: expected declaration specifiers or ‘...’ before ‘*’ token ../wine/dlls/winebus.sys/bus_sdl.c:115:16: error: expected declaration specifiers or ‘...’ before ‘*’ token ../wine/dlls/winebus.sys/bus_sdl.c:119:5: error: unknown type name ‘SDL_Joystick’ ../wine/dlls/winebus.sys/bus_sdl.c:120:5: error: unknown type name ‘SDL_GameController’ ../wine/dlls/winebus.sys/bus_sdl.c:121:5: error: unknown type name ‘SDL_JoystickID’ ../wine/dlls/winebus.sys/bus_sdl.c:134:5: error: unknown type name ‘SDL_Haptic’ ../wine/dlls/winebus.sys/bus_sdl.c:271:33: error: ‘SDL_CONTROLLER_AXIS_TRIGGERLEFT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:271:77: error: ‘SDL_CONTROLLER_AXIS_TRIGGERRIGHT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:317:14: error: ‘SDL_HAT_CENTERED’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:318:14: error: ‘SDL_HAT_UP’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:319:14: error: ‘SDL_HAT_RIGHTUP’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:320:14: error: ‘SDL_HAT_RIGHT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:321:14: error: ‘SDL_HAT_RIGHTDOWN’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:322:14: error: ‘SDL_HAT_DOWN’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:323:14: error: ‘SDL_HAT_LEFTDOWN’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:324:14: error: ‘SDL_HAT_LEFT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:325:14: error: ‘SDL_HAT_LEFTUP’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:341:9: error: called object ‘pSDL_JoystickIsHaptic’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:343:27: error: called object ‘pSDL_HapticOpenFromJoystick’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:345:15: error: called object ‘pSDL_HapticQuery’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:345:51: error: ‘SDL_HAPTIC_LEFTRIGHT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:346:14: error: called object ‘pSDL_HapticRumbleSupported’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:348:13: error: called object ‘pSDL_HapticStopAll’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:349:13: error: called object ‘pSDL_HapticRumbleInit’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:355:13: error: called object ‘pSDL_HapticClose’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:403:18: error: called object ‘pSDL_JoystickNumAxes’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:419:18: error: called object ‘pSDL_JoystickNumBalls’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:435:20: error: called object ‘pSDL_JoystickNumButtons’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:442:17: error: called object ‘pSDL_JoystickNumHats’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:502:32: error: called object ‘pSDL_JoystickGetAxis’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:504:31: error: called object ‘pSDL_JoystickGetHat’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:509:33: error: unknown type name ‘SDL_GameController’ ../wine/dlls/winebus.sys/bus_sdl.c:599:14: error: ‘SDL_CONTROLLER_AXIS_LEFTX’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:599:45: error: ‘SDL_CONTROLLER_AXIS_MAX’ undeclared (first use in this function); did you mean ‘CONTROLLER_AXIS’? ../wine/dlls/winebus.sys/bus_sdl.c:600:32: error: called object ‘pSDL_GameControllerGetAxis’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:613:5: error: unknown type name ‘SDL_JoystickID’ ../wine/dlls/winebus.sys/bus_sdl.c:614:5: error: unknown type name ‘SDL_JoystickID’ ../wine/dlls/winebus.sys/bus_sdl.c:641:23: error: called object ‘pSDL_GameControllerName’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:643:23: error: called object ‘pSDL_JoystickName’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:679:13: error: called object ‘pSDL_HapticDestroyEffect’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:682:9: error: called object ‘pSDL_HapticStopAll’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:685:13: error: unknown type name ‘SDL_HapticEffect’ ../wine/dlls/winebus.sys/bus_sdl.c:687:45: error: ‘SDL_HapticEffect’ undeclared (first use in this function); did you mean ‘pSDL_HapticRunEffect’? ../wine/dlls/winebus.sys/bus_sdl.c:687:13: error: called object ‘pSDL_memset’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:688:19: error: request for member ‘type’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:688:27: error: ‘SDL_HAPTIC_LEFTRIGHT’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:689:19: error: request for member ‘leftright’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:690:19: error: request for member ‘leftright’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:691:19: error: request for member ‘leftright’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:693:37: error: called object ‘pSDL_HapticNewEffect’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:696:17: error: called object ‘pSDL_HapticRunEffect’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:701:17: error: called object ‘pSDL_HapticRumblePlay’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:742:35: error: unknown type name ‘SDL_Event’ ../wine/dlls/winebus.sys/bus_sdl.c:806:42: error: unknown type name ‘SDL_Event’ ../wine/dlls/winebus.sys/bus_sdl.c:875:31: error: unknown type name ‘SDL_JoystickID’ ../wine/dlls/winebus.sys/bus_sdl.c:912:5: error: unknown type name ‘SDL_Joystick’ ../wine/dlls/winebus.sys/bus_sdl.c:913:5: error: unknown type name ‘SDL_JoystickID’ ../wine/dlls/winebus.sys/bus_sdl.c:914:5: error: unknown type name ‘SDL_JoystickGUID’ ../wine/dlls/winebus.sys/bus_sdl.c:915:5: error: unknown type name ‘SDL_GameController’ ../wine/dlls/winebus.sys/bus_sdl.c:917:21: error: called object ‘pSDL_JoystickOpen’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:919:59: error: called object ‘pSDL_GetError’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:923:28: error: called object ‘pSDL_IsGameController’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:924:22: error: called object ‘pSDL_GameControllerOpen’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:926:10: error: called object ‘pSDL_JoystickInstanceID’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:928:9: error: ‘pSDL_JoystickGetProductVersion’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:936:15: error: called object ‘pSDL_JoystickInstanceID’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:940:12: error: called object ‘pSDL_JoystickGetGUID’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:941:5: error: called object ‘pSDL_JoystickGetGUIDString’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:957:22: error: called object ‘pSDL_JoystickNumAxes’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:958:24: error: called object ‘pSDL_JoystickNumButtons’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:994:34: error: unknown type name ‘SDL_Event’ ../wine/dlls/winebus.sys/bus_sdl.c:1011:5: error: unknown type name ‘SDL_Event’ ../wine/dlls/winebus.sys/bus_sdl.c:1013:19: error: ‘SDL_INIT_GAMECONTROLLER’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:1013:43: error: ‘SDL_INIT_HAPTIC’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:1013:9: error: called object ‘pSDL_Init’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1015:37: error: called object ‘pSDL_GetError’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1019:29: error: ‘SDL_ENABLE’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:1019:5: error: called object ‘pSDL_JoystickEventState’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1020:5: error: called object ‘pSDL_GameControllerEventState’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1032:17: error: called object ‘pSDL_GameControllerAddMapping’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1033:64: error: called object ‘pSDL_GetError’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1065:25: error: called object ‘pSDL_GameControllerAddMapping’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1066:69: error: called object ‘pSDL_GetError’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1078:16: error: called object ‘pSDL_WaitEvent’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1079:22: error: request for member ‘type’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:1090:5: error: unknown type name ‘SDL_Event’ ../wine/dlls/winebus.sys/bus_sdl.c:1097:18: error: called object ‘pSDL_RegisterEvents’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1103:10: error: request for member ‘type’ in something not a structure or union ../wine/dlls/winebus.sys/bus_sdl.c:1104:9: error: called object ‘pSDL_PushEvent’ is not a function or function pointer ../wine/dlls/winebus.sys/bus_sdl.c:1169:9: error: ‘pSDL_JoystickGetProduct’ undeclared (first use in this function); did you mean ‘pSDL_JoystickGetHat’? ../wine/dlls/winebus.sys/bus_sdl.c:1170:9: error: ‘pSDL_JoystickGetProductVersion’ undeclared (first use in this function) ../wine/dlls/winebus.sys/bus_sdl.c:1171:9: error: ‘pSDL_JoystickGetVendor’ undeclared (first use in this function); did you mean ‘pSDL_JoystickGetHat’? Task: The wow64 Wine build failed