Using Kernel 3.1.1 (older versions since 3.x seems to have the same problem) and OpenAFS 1.6 - both unpatched except Grsec for the Kernel.
Upon the compile run of the OpenAFS module it stops pointing out:
- Code: Select all
rx_event.c: In function '_rxevent_Post':
rx_event.c:312:2: error: assignment of member 'newfunc' in read-only object
rx_event.c:314:38: error: assignment of member 'oldfunc' in read-only object
make[3]: *** [..../..../rx_event.o] Error 1
make[2]: *** [_module_.....] Error 2
Just replaced some long directory names with "...."
When the Kernel isn't patched with Grsec, everything compiles & runs fine. Using the same configuration of the Kernel, patching with Grsec , then re-configuring only Grsec features and touching nothing else, still no luck so far.
Thanks for some help