Maxim Sobolev wrote: > P.S. I've compiled the program as follows: > > $ cc -pthread testkse.c -o a.out -lkse That is wrong, you linked it to both thread libraries. Either use -pthread and libmap, or just -lkse should be OK. Kris