[SDL] Compilation error on DirectFB events

Joao Moreira de Sa Coutinho joao at teaser.fr
Tue Sep 3 13:21:01 PDT 2002


Hi folks,

I'm trying to compile the stable SDL 1.2.4 on a RedHat 7.2, 
and I get the following error : 

SDL_DirectFB_events.c: In function `DirectFB_InitOSKeymap':
SDL_DirectFB_events.c:103: `DIKC_A' undeclared (first use in this function)
SDL_DirectFB_events.c:103: (Each undeclared identifier is reported only once
SDL_DirectFB_events.c:103: for each function it appears in.)
SDL_DirectFB_events.c:104: `DIKC_B' undeclared (first use in this function)
SDL_DirectFB_events.c:105: `DIKC_C' undeclared (first use in this function)
      [...many similar lines removed]
SDL_DirectFB_events.c:189: `DIKC_MENU' undeclared (first use in this function)
SDL_DirectFB_events.c:190: `DIKC_HELP' undeclared (first use in this function)
SDL_DirectFB_events.c:191: `DIKC_BACK' undeclared (first use in this function)
SDL_DirectFB_events.c: In function `DirectFB_TranslateKey':
SDL_DirectFB_events.c:198: structure has no member named `keycode'
SDL_DirectFB_events.c:202: structure has no member named `key_ascii'
SDL_DirectFB_events.c:202: structure has no member named `key_ascii'
SDL_DirectFB_events.c:203: structure has no member named `key_ascii'
SDL_DirectFB_events.c:205: structure has no member named `keycode'
make[3]: *** [SDL_DirectFB_events.lo] Error 1

All I did was download, unpack, ./configure, then make, that's it.

I tried find/grep on the entire SDL source, there's no definition of these DIKC_
constants anywhere. I went over the SDL FAQ as well, no help there.

Any suggestions on might be wrong or missing here ?

The strange thing is, I actually started out with DirectFB 0.9.12, which I
compiled, but without AVI ; then I wanted to add avifile 0.6.0, it said it
required SDL 1.1.3 or higher ; so I got SDL, and now it complains about DirectFB
! This is going circular :-(

Any help will be very welcome,

Thanks,
Joao




More information about the SDL mailing list