yes, I followed you, copied the one /boot/config-2.6.18-openvz-sparc64-smp , and did finish the "make menuconfig". then "make all" , same error message like:
# make all
CHK include/linux/version.h
UPD include/linux/version.h
CC init/main.o
In file included from include/linux/fs.h:214,
from include/linux/proc_fs.h:6,
from init/main.c:17:
include/linux/dcache.h: In function âdgetâ:
include/linux/dcache.h:315: error: âub_dentry_onâ undeclared (first use in this function)
include/linux/dcache.h:315: error: (Each undeclared identifier is reported only once
include/linux/dcache.h:315: error: for each function it appears in.)
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
seems some code error in dcache.h file, Any suggestion?