Page 1 of 1

2.6.38.2 compile problem

PostPosted: Sun Apr 17, 2011 2:01 pm
by franz
Hi,

Not able to compile vanilla 2.6.38.2 with grsecurity-2.2.2-2.6.38.2-201104161725.patch

Error:
CC kernel/mutex-debug.o
kernel/mutex-debug.c: I funktion "debug_mutex_add_waiter":
kernel/mutex-debug.c:57:4: fel: "struct thread_info" har ingen medlem med namnet "task"
kernel/mutex-debug.c: I funktion "mutex_remove_waiter":
kernel/mutex-debug.c:64:2: fel: "struct thread_info" har ingen medlem med namnet "task"
kernel/mutex-debug.c:65:2: fel: "struct thread_info" har ingen medlem med namnet "task"
kernel/mutex-debug.c:66:4: fel: "struct thread_info" har ingen medlem med namnet "task"
make[1]: *** [kernel/mutex-debug.o] Fel 1
make: *** [kernel] Fel 2

Error Translated from swedish
kernel/mutex-debug.c: In function "debug_mutex_add_waiter":
wrong: "struct thread_info" has no member with name "task"
kernel/mutex-debug.c: In function "mutex_remove_waiter":

Working fine when compiling without patch applied

/franz

Re: 2.6.38.2 compile problem

PostPosted: Sun Apr 17, 2011 5:53 pm
by spender
This should be fixed in the latest patch. Let me know if you still have problems.

-Brad