XIO: fatal IO error

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

I resolved the problem by replacing MAP_FAILED by NULL. It works but
I’d like to know
how to really resolve the problem.

Thanks, this should be fixed in SDL 1.0.6 when it is released.


XIO: fatal IO error 0 (Success) on X server ":0.0"
after 10 requests (9 known processed) with 0 events remaining.

It sounds like you have a very old Linux distribution.

What version of libc do you have?

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec


XIO: fatal IO error 0 (Success) on X server ":0.0"
after 10 requests (9 known processed) with 0 events remaining.

It sounds like you have a very old Linux distribution.

What version of libc do you have?

It's must be libc5 : I use a slackware 4.0 distribution.--
            \_\_\_\_
             \_
           _/ \_\_\_
          _/   \_
         _/     \_
        _/       \_
       _/
      _/_/_/_/_/_/_/

       LIOULT Florent
     Universit? de Caen
 @LIOULT_Florent
 www.multimania.com/flioult

XIO: fatal IO error 0 (Success) on X server ":0.0"
after 10 requests (9 known processed) with 0 events remaining.

It sounds like you have a very old Linux distribution.

What version of libc do you have?

It's must be libc5 : I use a slackware 4.0 distribution.

You need to upgrade your Linux distribution.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec