SDL2 build error

Building latest SDL2 from trunk under Xubuntu 14.04 gives me the following:

neo at matrix ~/projects/sdl/build $ make
Warning, configure.in is out of date
#(cd /home/neo/projects/sdl && sh autogen.sh && sh configure)
/bin/bash …/build-scripts/updaterev.sh
LTLINK build/libSDL2.la
build/.libs/SDL_gamecontroller.o: In function SDL_PrivateGetControllerMapping': /home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261: undefined reference toSDL_SYS_IsXInputGamepad_DeviceIndex’
/home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261:
undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex' /home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261: undefined reference toSDL_SYS_IsXInputGamepad_DeviceIndex’
/home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261:
undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex' /home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261: undefined reference toSDL_SYS_IsXInputGamepad_DeviceIndex’
build/.libs/SDL_gamecontroller.o:/home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261:
more undefined references to `SDL_SYS_IsXInputGamepad_DeviceIndex’
follow
collect2: error: ld returned 1 exit status
make: *** [build/libSDL2.la] Error 1

Are you using the absolute latest version (i.e. https://hg.libsdl.org/SDL/rev/1a5d959d7b32 or later)?On Jul 7, 2014, at 3:29 PM, Aggelos Kolaitis wrote:

Building latest SDL2 from trunk under Xubuntu 14.04 gives me the following:

neo at matrix ~/projects/sdl/build $ make
Warning, configure.in is out of date
#(cd /home/neo/projects/sdl && sh autogen.sh && sh configure)
/bin/bash …/build-scripts/updaterev.sh
LTLINK build/libSDL2.la
build/.libs/SDL_gamecontroller.o: In function SDL_PrivateGetControllerMapping': /home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261: undefined reference toSDL_SYS_IsXInputGamepad_DeviceIndex’
/home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261:
undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex' /home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261: undefined reference toSDL_SYS_IsXInputGamepad_DeviceIndex’
/home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261:
undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex' /home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261: undefined reference toSDL_SYS_IsXInputGamepad_DeviceIndex’
build/.libs/SDL_gamecontroller.o:/home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261:
more undefined references to `SDL_SYS_IsXInputGamepad_DeviceIndex’
follow
collect2: error: ld returned 1 exit status
make: *** [build/libSDL2.la] Error 1


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Today I updated again and the error was fixed.On Jul 7, 2014, at 9:33 PM, Alex Szpakowski wrote:

Are you using the absolute latest version (i.e. https://hg.libsdl.org/SDL/rev/1a5d959d7b32 or later)?

On Jul 7, 2014, at 3:29 PM, Aggelos Kolaitis <@Aggelos_Kolaitis> wrote:

Building latest SDL2 from trunk under Xubuntu 14.04 gives me the following:

neo at matrix ~/projects/sdl/build $ make
Warning, configure.in is out of date
#(cd /home/neo/projects/sdl && sh autogen.sh && sh configure)
/bin/bash …/build-scripts/updaterev.sh
LTLINK build/libSDL2.la
build/.libs/SDL_gamecontroller.o: In function SDL_PrivateGetControllerMapping': /home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261: undefined reference toSDL_SYS_IsXInputGamepad_DeviceIndex’
/home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261:
undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex' /home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261: undefined reference toSDL_SYS_IsXInputGamepad_DeviceIndex’
/home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261:
undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex' /home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261: undefined reference toSDL_SYS_IsXInputGamepad_DeviceIndex’
build/.libs/SDL_gamecontroller.o:/home/neo/projects/sdl/src/joystick/SDL_gamecontroller.c:261:
more undefined references to `SDL_SYS_IsXInputGamepad_DeviceIndex’
follow
collect2: error: ld returned 1 exit status
make: *** [build/libSDL2.la] Error 1


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org