[CentOS] centos 4.2 with reiserfs

Lim Wee Cheong centos at xssist.com
Tue Oct 25 14:55:16 UTC 2005


Hi,

I tried to compile the 2.6.9-22.EL kernel with reiserfs enabled. make fails as
follows.  anyone managed to compile with reiserfs successfully?

  CC [M]  fs/reiserfs/stree.o
fs/reiserfs/stree.c: In function `get_lkey':
fs/reiserfs/stree.c:322: warning: return from incompatible pointer type
fs/reiserfs/stree.c:325: warning: return from incompatible pointer type
fs/reiserfs/stree.c:329: warning: return from incompatible pointer type
fs/reiserfs/stree.c:332: warning: return from incompatible pointer type
fs/reiserfs/stree.c:337: warning: return from incompatible pointer type
fs/reiserfs/stree.c:338: warning: return from incompatible pointer type
fs/reiserfs/stree.c: At top level:
fs/reiserfs/stree.c:346: error: conflicting types for 'get_rkey'
include/linux/reiserfs_fs.h:1886: error: previous declaration of 'get_rkey' was
here
fs/reiserfs/stree.c:346: error: conflicting types for 'get_rkey'
include/linux/reiserfs_fs.h:1886: error: previous declaration of 'get_rkey' was
here
fs/reiserfs/stree.c: In function `get_rkey':
fs/reiserfs/stree.c:361: warning: return from incompatible pointer type
fs/reiserfs/stree.c:364: warning: return from incompatible pointer type
fs/reiserfs/stree.c:368: warning: return from incompatible pointer type
fs/reiserfs/stree.c:371: warning: return from incompatible pointer type
fs/reiserfs/stree.c:376: warning: return from incompatible pointer type
fs/reiserfs/stree.c:377: warning: return from incompatible pointer type
fs/reiserfs/stree.c: In function `key_in_buffer':
fs/reiserfs/stree.c:399: warning: passing arg 1 of `comp_keys' from incompatible
pointer type
fs/reiserfs/stree.c:403: warning: passing arg 1 of `comp_keys' from incompatible
pointer type
make[2]: *** [fs/reiserfs/stree.o] Error 1
make[1]: *** [fs/reiserfs] Error 2
make: *** [fs] Error 2




More information about the CentOS mailing list