Threading problem

I recently compiled SDL 1.08 w/ egcs 1.1.2 on an rh-6.2 system.
However, any SDL program that uses SDL’s threading capabilities seems to
seg. Here’s the gdb output for the testhread program:

Breakpoint 1, main (argc=1, argv=0xbffff8d4) at testhread.c:38
38 if ( SDL_Init(0) < 0 ) {
42 atexit(SDL_Quit);
44 alive = 1;
45 thread = SDL_CreateThread(ThreadFunc, “#1”);
[New Thread 13950 (manager thread)]
[New Thread 13949 (initial thread)]
[New Thread 13951]

Program received signal SIGSEGV, Segmentation fault.
0x400b2442 in __pthread_create_2_0 (thread=0x4, attr=0xbffff818,
start_routine=0x40053a60 , arg=0x1ff000) at pthread.c:488

488 pthread.c: No such file or directory.

You must get an Debugger which has included debugging for threads !

cu
-------------- next part --------------
A non-text attachment was scrubbed…
Name: al.vcf
Type: text/x-vcard
Size: 320 bytes
Desc: Karte f?r Anes Lihovac
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20000505/99415035/attachment.vcf