Здравствуйте. Для того, чтобы собрать qemu, пришлось закомментировать два кусочка кода. В результате qemu получился ограниченно работоспособным, но его хотя бы удалось собрать. Вот эти два кусочка (`&& 0' дописал я): osdep.h: /* specific kludges for OS compatibility (should be moved elsewhere) */ #if defined(__i386__) && !defined(CONFIG_SOFTMMU) && !defined(CONFIG_USER_ONLY) && 0 /* disabled pthread version of longjmp which prevent us from using an alternative signal stack */ extern void __longjmp(jmp_buf env, int val); #define longjmp __longjmp #endif vl.c: #if defined(__linux__) && 0 /* SDL use the pthreads and they modify sigaction. We don't want that. */ #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) extern void __libc_sigaction(); #define sigaction(sig, act, oact) __libc_sigaction(sig, act, oact) #else extern void __sigaction(); #define sigaction(sig, act, oact) __sigaction(sig, act, oact) #endif #endif /* __linux__ */ Вопрос к специалистам по pthread: в чем тут дело и как правильно с этим бороться?