Thanks to put me on the picture about this problem :
I’ve easily installed SDL 0.10.0 but I have troubles with compiling
its last release (1.0.4). The
compilation abort in error :------------------------------------------------------------------------------
SDL_dmaaudio.c: In function DMA_OpenAudio': SDL_dmaaudio.c:391:
MAP_FAILED’ undeclared (first use this function)
With the corresponding piece of code :
if ( dma_buf == MAP_FAILED ) {
SDL_SetError(“DMA memory map failed”);
dma_buf = NULL;
return(-1);
}
memset(dma_buf, spec->silence, dma_len);
I resolved the problem by replacing MAP_FAILED by NULL. It works but
I’d like to know
how to really resolve the problem.
Unfortunately there is another problem at the execution. I’ve got the
following message :
XIO: fatal IO error 0 (Success) on X server ":0.0"
after 10 requests (9 known processed) with 0 events remaining.
It doesnt occur all the time. With some tests programs and if only one
xterm is open I could
sometime properly run the program. In the other cases, it’s crash at
start or just after. Where
could be the problem ?
Florent Lioult
P.S. I understand english better than I write it…
–
____
_
/ ___
/ _
/ _
/ _
/
///////
LIOULT Florent
Universit? de Caen
@LIOULT_Florent
www.multimania.com/flioult