i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -finline-limit=300 -O3 -march=pentium3 -pipe -fomit-frame-pointer -c -o LinuxThreadHelpers.o `test -f 'archutils/Unix/LinuxThreadHelpers.cpp' || echo './'`archutils/Unix/LinuxThreadHelpers.cpp archutils/Unix/LinuxThreadHelpers.cpp:32: error: ‘gettid’ has not been declared archutils/Unix/LinuxThreadHelpers.cpp:39: error: expected initializer before ‘CStdStringA’ archutils/Unix/LinuxThreadHelpers.cpp: In function ‘uint64_t GetCurrentThreadIdInternal()’: archutils/Unix/LinuxThreadHelpers.cpp:136: error: ‘gettid’ was not declared in this scope make[2]: *** [LinuxThreadHelpers.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/games-arcade/stepmania-3.9/work/StepMania-3.9-src/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/games-arcade/stepmania-3.9/work/StepMania-3.9-src/src' make: *** [all-recursive] Error 1 !!! ERROR: games-arcade/stepmania-3.9 failed. Call stack: ebuild.sh, line 1603: Called dyn_compile ebuild.sh, line 961: Called src_compile stepmania-3.9.ebuild, line 67: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.