Hello, Anatoly A. Kazantsev, le Sat 14 Jun 2008 20:45:12 +0700, a écrit : > But if I compile it with command: > $gcc -o pytest pytest.c -lpython2.5 -lfshelp > > and when I run it, I get error: > pytest: > /build/mbanck/hurd-20080607/build-tree/hurd/libpthread/pthread/pt-self.c:28: > pthread_self: Assertion `__pthread_threads' failed.
That's because you have a conflict between libpthread and libcthread. fshelp uses cthread, and in that case libc doesn't initialize libpthread. It is one of the tasks on savannah to port hurd stuff on libpthread instead of libcthread precisely for such issues :/ Samuel