thanks a lot. Now I have can run it. yeah,I disable the pthreads when cross compiling sdl. but I am not sure whether disable pthreads have any effect on running games of SDL. Regards, Andy