Page 1 of 1

grsecurity-2.2.1-2.6.37-201101241824

PostPosted: Tue Jan 25, 2011 2:00 pm
by forsaken
Hi,

I'm getting this when compiling on amd64:

CC arch/x86/kernel/cpu/mcheck/mce.o
arch/x86/kernel/cpu/mcheck/mce.c:1463:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'open_count'
arch/x86/kernel/cpu/mcheck/mce.c: In function 'mce_open':
arch/x86/kernel/cpu/mcheck/mce.c:1470:2: error: implicit declaration of function 'local_read'
arch/x86/kernel/cpu/mcheck/mce.c:1470:33: error: 'open_count' undeclared (first use in this function)
arch/x86/kernel/cpu/mcheck/mce.c:1470:33: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kernel/cpu/mcheck/mce.c:1478:2: error: implicit declaration of function 'local_inc'
arch/x86/kernel/cpu/mcheck/mce.c: In function 'mce_release':
arch/x86/kernel/cpu/mcheck/mce.c:1489:2: error: implicit declaration of function 'local_dec'
arch/x86/kernel/cpu/mcheck/mce.c:1489:13: error: 'open_count' undeclared (first use in this function)
make[4]: *** [arch/x86/kernel/cpu/mcheck/mce.o] Error 1

Re: grsecurity-2.2.1-2.6.37-201101241824

PostPosted: Tue Jan 25, 2011 3:13 pm
by minipli

Re: grsecurity-2.2.1-2.6.37-201101241824

PostPosted: Tue Jan 25, 2011 3:16 pm
by PaX Team
forsaken wrote: CC arch/x86/kernel/cpu/mcheck/mce.o
arch/x86/kernel/cpu/mcheck/mce.c:1463:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'open_count'
thanks, others reported it already as well, will be fixed in the next patch.

Re: grsecurity-2.2.1-2.6.37-201101241824

PostPosted: Wed Jan 26, 2011 4:54 am
by forsaken
Yes it compiles now, thanks.