Add -rdynamic to LDFLAGS
Without it, the AprQ2 game{ARCH}.so produces undefined symbol: Com_Error at runtimewereHamster wrote: If the aq2 exe loads a library, and the library needs to resolve symbols that are in the exe itself, then you have to use -rdynamic.
./linux/rw_sdl.c
Call SDL_EnableKeyRepeat()
Keyboard autorepeat is disabled by default when using SDL, and it gets rather annoying when scrolling up/down in the console.
./ui/ui_video.c
Change Cvar_Set( "gl_driver", "libGL.so" ); to "libGL.so.1"
./game/q_shared.h
Change # define GL_DRIVERNAME "libGL.so" to "libGL.so.1"
libGL.so is wrong according to the linux opengl ABI, it should be libGL.so.1