i686-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -DNDEBUG -O2 -march=athlon-xp -mtune=athlon-xp -pipe -I. -I./Include -fPIC -DPy_BUILD_CORE -o Modules/config.o Modules/config.c In file included from Python/thread_pthread.h:24, from Python/thread.c:115: /usr/include/semaphore.h:1:36: linuxthreads/semaphore.h: No such file or directory In file included from Python/thread.c:115: Python/thread_pthread.h: In function `PyThread_allocate_lock': Python/thread_pthread.h:250: error: `sem_t' undeclared (first use in this function) Python/thread_pthread.h:250: error: (Each undeclared identifier is reported only once Python/thread_pthread.h:250: error: for each function it appears in.) Python/thread_pthread.h:250: error: `lock' undeclared (first use in this function) Python/thread_pthread.h:257: error: syntax error before ')' token Python/thread_pthread.h: In function `PyThread_free_lock': Python/thread_pthread.h:276: error: `sem_t' undeclared (first use in this function) Python/thread_pthread.h:276: error: `thelock' undeclared (first use in this function) Python/thread_pthread.h:276: error: syntax error before ')' token Python/thread_pthread.h: In function `PyThread_acquire_lock': Python/thread_pthread.h:306: error: `sem_t' undeclared (first use in this function) Python/thread_pthread.h:306: error: `thelock' undeclared (first use in this function) Python/thread_pthread.h:306: error: syntax error before ')' token Python/thread_pthread.h: In function `PyThread_release_lock': Python/thread_pthread.h:333: error: `sem_t' undeclared (first use in this function) Python/thread_pthread.h:333: error: `thelock' undeclared (first use in this function) Python/thread_pthread.h:333: error: syntax error before ')' token make: *** [Python/thread.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-lang/python-2.4.4 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile python-2.4.4.ebuild, line 182: Called die !!! Parallel make failed !!! If you need support, post the topmost build error, and the call stack if relevant.