linux平台是Ubuntu12.04#include <unistd.h>#include <ucontext.h>
...但是,当我编译它时,它会抱怨/usr/include/x86_64-linux-gnu/sys/ucontext.h:139:5: error: unknown type name 'stack_t'。
我需要gcc-5来编译一个较旧的Linux内核(3.19),所以我希望从源代码构建它,通过它给我带来了很大的麻烦。我一直在遵循找到这里的指令,但我发现自己想知道我需要设置哪些设置等等。/md-unwind-support.h:141:18: error: field 'uc' has incomplete typemake[5]: Leaving directory '/home