Fscache compile error with grsecurity-2.2.2-2.6.38.4-2011043

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Fscache compile error with grsecurity-2.2.2-2.6.38.4-2011043

Postby moseleymark » Mon May 02, 2011 2:27 pm

Could just be me but I get this with grsecurity-2.2.2-2.6.38.4-201104302012.patch. Last one I used was grsecurity-2.2.2-2.6.38.4-201104232142.patch which did not produce this error. This is 32-bit Debian Lenny, gcc=4.3.2.

# make
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC fs/fscache/cookie.o
fs/fscache/cookie.c: In function '__fscache_acquire_cookie':
fs/fscache/cookie.c:71: error: implicit declaration of function 'fscache_stat_unchecked'
fs/fscache/cookie.c:71: error: 'fscache_n_acquires' undeclared (first use in this function)
fs/fscache/cookie.c:71: error: (Each undeclared identifier is reported only once
fs/fscache/cookie.c:71: error: for each function it appears in.)
fs/fscache/cookie.c:75: error: 'fscache_n_acquires_null' undeclared (first use in this function)
fs/fscache/cookie.c:90: error: 'fscache_n_acquires_oom' undeclared (first use in this function)
fs/fscache/cookie.c:112: error: 'fscache_n_cookie_index' undeclared (first use in this function)
fs/fscache/cookie.c:115: error: 'fscache_n_cookie_data' undeclared (first use in this function)
fs/fscache/cookie.c:118: error: 'fscache_n_cookie_special' undeclared (first use in this function)
fs/fscache/cookie.c:129: error: 'fscache_n_acquires_nobufs' undeclared (first use in this function)
fs/fscache/cookie.c:135: error: 'fscache_n_acquires_ok' undeclared (first use in this function)
fs/fscache/cookie.c: In function 'fscache_acquire_non_index_cookie':
fs/fscache/cookie.c:171: error: 'fscache_n_acquires_no_cache' undeclared (first use in this function)
fs/fscache/cookie.c: In function 'fscache_alloc_object':
fs/fscache/cookie.c:259: error: 'fscache_n_object_no_alloc' undeclared (first use in this function)
fs/fscache/cookie.c:264: error: 'fscache_n_object_alloc' undeclared (first use in this function)
fs/fscache/cookie.c: In function '__fscache_update_cookie':
fs/fscache/cookie.c:380: error: 'fscache_n_updates' undeclared (first use in this function)
fs/fscache/cookie.c:383: error: 'fscache_n_updates_null' undeclared (first use in this function)
fs/fscache/cookie.c: In function '__fscache_relinquish_cookie':
fs/fscache/cookie.c:417: error: 'fscache_n_relinquishes' undeclared (first use in this function)
fs/fscache/cookie.c:419: error: 'fscache_n_relinquishes_retire' undeclared (first use in this function)
fs/fscache/cookie.c:422: error: 'fscache_n_relinquishes_null' undeclared (first use in this function)
fs/fscache/cookie.c:438: error: 'fscache_n_relinquishes_waitcrt' undeclared (first use in this function)
make[2]: *** [fs/fscache/cookie.o] Error 1
make[1]: *** [fs/fscache] Error 2
make: *** [fs] Error 2
moseleymark
 
Posts: 53
Joined: Fri Sep 05, 2008 5:19 pm

Re: Fscache compile error with grsecurity-2.2.2-2.6.38.4-201

Postby PaX Team » Tue May 03, 2011 5:08 am

moseleymark wrote:Could just be me but I get this with grsecurity-2.2.2-2.6.38.4-201104302012.patch. Last one I used was grsecurity-2.2.2-2.6.38.4-201104232142.patch which did not produce this error.
thanks, i fixed this last night.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Fscache compile error with grsecurity-2.2.2-2.6.38.4-201

Postby moseleymark » Thu May 05, 2011 1:49 pm

Yup, works like a charm now, thanks!
moseleymark
 
Posts: 53
Joined: Fri Sep 05, 2008 5:19 pm


Return to grsecurity support