|
From: Nicholas N. <nj...@cs...> - 2005-11-12 18:52:50
|
Hi, I get this problem building memcheck/tests/stack_switch.c: ~/grind/trunk2/memcheck/tests] mq check Making check in . stack_switch.c: In function 'main': stack_switch.c:40: error: 'CLONE_THREAD' undeclared (first use in this function) stack_switch.c:40: error: (Each undeclared identifier is reported only once stack_switch.c:40: error: for each function it appears in.) make[2]: *** [stack_switch.o] Error 1 make[1]: *** [check-am] Error 2 make: *** [check-recursive] Error 1 On my machine bits/sched.h (which gets pulled into sched.h) does not defined CLONE_THREAD. But linux/sched.h does. Should we #include <linux/sched.h> as well? Nick |