I’m trying to compile a small app which uses SDL,
but I’m having trouble, as I cannot fine the X library which has all
these things :
/usr/lib/libSDL.a(SDL_x11gamma.lo): In function X11_SetGammaNoLock': SDL_x11gamma.lo(.text+0x115): undefined reference to
XF40VidModeSetGamma’
/usr/lib/libSDL.a(SDL_x11gamma.lo): In function X11_GetGammaNoLock': SDL_x11gamma.lo(.text+0x223): undefined reference to
XF40VidModeGetGamma’
/usr/lib/libSDL.a(SDL_x11modes.lo): In function
`XF40VidModeGetModeInfo’:
does anyone know the one ?
thanks,
Olivers
I’m trying to compile a small app which uses SDL,
but I’m having trouble, as I cannot fine the X library which has all
these things :
/usr/lib/libSDL.a(SDL_x11gamma.lo): In function X11_SetGammaNoLock': SDL_x11gamma.lo(.text+0x115): undefined reference to
XF40VidModeSetGamma’
/usr/lib/libSDL.a(SDL_x11gamma.lo): In function X11_GetGammaNoLock': SDL_x11gamma.lo(.text+0x223): undefined reference to
XF40VidModeGetGamma’
/usr/lib/libSDL.a(SDL_x11modes.lo): In function
`XF40VidModeGetModeInfo’:
Either link with the shared library, or build it from source.
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software