Compiling errors

Hello All

I’ve got a weird compiling error while trying to compile SDL 1.1.7 on
Linux/i386 (gcc) :
While trying to compile src/video/x11/SDL_x11events.c it returns
SDL_x11events.c: In function X11_InitKeymap': SDL_x11events.c:545:SDLK_COMPOSE’ undeclared (first use in this
function)
SDL_x11events.c:545: (Each undeclared identifier is reported only once
SDL_x11events.c:545: for each function it appears in.)

The weird thing is that it has SDLK_COMPOSE = 314 definded in
include/SDL_keysym.h ,but for some reason SDL_x11events.c doesn’t know
it. The more weird thing is that other keysyms it knows as well…

Anybody has an idea ?

Thanks!
Oren.

Hello All

I’ve got a weird compiling error while trying to compile SDL 1.1.7 on
Linux/i386 (gcc) :
While trying to compile src/video/x11/SDL_x11events.c it returns
SDL_x11events.c: In function X11_InitKeymap': SDL_x11events.c:545:SDLK_COMPOSE’ undeclared (first use in this
function)
SDL_x11events.c:545: (Each undeclared identifier is reported only once
SDL_x11events.c:545: for each function it appears in.)

The weird thing is that it has SDLK_COMPOSE = 314 definded in
include/SDL_keysym.h ,but for some reason SDL_x11events.c doesn’t know
it. The more weird thing is that other keysyms it knows as well…

Anybody has an idea ?

Very strange. Do you have another version of the SDL headers installed?

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software