The sys-kernel/gentoo-sources-2.6.28-r1 kernel fail to compile when reiser4 support is enabled. CC fs/reiser4/debug.o CC fs/reiser4/jnode.o CC fs/reiser4/znode.o CC fs/reiser4/key.o CC fs/reiser4/pool.o CC fs/reiser4/tree_mod.o CC fs/reiser4/estimate.o CC fs/reiser4/carry.o CC fs/reiser4/carry_ops.o CC fs/reiser4/lock.o CC fs/reiser4/tree.o CC fs/reiser4/context.o CC fs/reiser4/tap.o CC fs/reiser4/coord.o CC fs/reiser4/block_alloc.o CC fs/reiser4/txnmgr.o CC fs/reiser4/kassign.o CC fs/reiser4/flush.o CC fs/reiser4/wander.o CC fs/reiser4/eottl.o CC fs/reiser4/search.o CC fs/reiser4/page_cache.o CC fs/reiser4/seal.o CC fs/reiser4/dscale.o CC fs/reiser4/flush_queue.o CC fs/reiser4/ktxnmgrd.o CC fs/reiser4/blocknrset.o CC fs/reiser4/super.o CC fs/reiser4/super_ops.o CC fs/reiser4/fsdata.o CC fs/reiser4/export_ops.o CC fs/reiser4/oid.o CC fs/reiser4/tree_walk.o CC fs/reiser4/inode.o CC fs/reiser4/vfs_ops.o CC fs/reiser4/as_ops.o CC fs/reiser4/entd.o CC fs/reiser4/readahead.o CC fs/reiser4/status_flags.o CC fs/reiser4/init_super.o CC fs/reiser4/safe_link.o CC fs/reiser4/plugin/plugin.o CC fs/reiser4/plugin/plugin_set.o CC fs/reiser4/plugin/node/node.o CC fs/reiser4/plugin/object.o CC fs/reiser4/plugin/cluster.o CC fs/reiser4/plugin/inode_ops.o CC fs/reiser4/plugin/inode_ops_rename.o CC fs/reiser4/plugin/file_ops.o CC fs/reiser4/plugin/file_ops_readdir.o CC fs/reiser4/plugin/file_plugin_common.o CC fs/reiser4/plugin/file/file.o CC fs/reiser4/plugin/file/tail_conversion.o CC fs/reiser4/plugin/file/file_conversion.o fs/reiser4/plugin/file/file_conversion.c: In function ‘reiser4_write_begin_careful’: fs/reiser4/plugin/file/file_conversion.c:689: error: implicit declaration of function ‘__grab_cache_page’ fs/reiser4/plugin/file/file_conversion.c:689: warning: assignment makes pointer from integer without a cast make[2]: *** [fs/reiser4/plugin/file/file_conversion.o] Error 1 make[1]: *** [fs/reiser4] Error 2 make: *** [fs] Error 2 I made a patch to get it work!
Created attachment 181263 [details, diff] Patch to fix the problem
I thought that gentoo-sources wasn't providing reiser4 (and I think that still is not providing it) :-/
Indeed, gentoo-sources does not include reiser4. You must have patched it in, and we can't support kernels that are patched in that way.