While using sdl in programs on my laptop (slackware) I had no problems. Then
I went and installed sdl and the development packages on this comp which is
running Suse 8.2 and I get plenty of errors.
I’m no pro at programming and am just learning to use SDL so go easy. The
simplest programs that just initialize sdl error out quite badly. Here’s a
sample of the errors…
: undefined reference to XGetModifierMapping' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libSDL.a(SDL_x11events.lo)(.text+0xe8f): In function
get_modifier_masks’:
: undefined reference to XKeycodeToKeysym' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libSDL.a(SDL_x11events.lo)(.text+0xf17): In function
get_modifier_masks’:
: undefined reference to XFreeModifiermap' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libSDL.a(SDL_x11events.lo)(.text+0x1038): In function
X11_KeyToUnicode’:
: undefined reference to XKeysymToKeycode' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libSDL.a(SDL_x11events.lo)(.text+0x10e7): In function
X11_KeyToUnicode’:
: undefined reference to XLookupString' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libSDL.a(SDL_x11events.lo)(.text+0x1144): In function
X11_SetKeyboardState’:
: undefined reference to XQueryKeymap' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libSDL.a(SDL_x11events.lo)(.text+0x119a): In function
X11_SetKeyboardState’:
: undefined reference to XQueryPointer' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libSDL.a(SDL_x11gamma.lo)(.text+0x123): In function
X11_SetGammaNoLock’:
: undefined reference to XSync' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libSDL.a(SDL_x11gl.lo)(.text+0x63): In function
X11_GL_GetVisual’:
: undefined reference to `XGetWindowAttributes’
The list scrolls on and on. Any suggestions are appreciated. I was using SDL
1.2.6 and then installed the latest CVS version and the errors are the
same.
thanks!
Art-