Skip to contentSkip to conversation

XFS compile error

DISCUSSION Jeff 1 participant 1 message Feb 4, 2008

lore
Share & tools
lore

Jeff

author
#0 lore raw

Enabling CONFIG_XFS_DEBUG as well as XFS_TRANS_DEBUG (by editing the makefile) results in a compile error:

$ make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC [M]  fs/xfs/xfs_rtalloc.o
  CC [M]  fs/xfs/xfs_acl.o
  CC [M]  fs/xfs/linux-2.6/xfs_stats.o
  CC [M]  fs/xfs/linux-2.6/xfs_sysctl.o
  CC [M]  fs/xfs/xfs_alloc.o
  CC [M]  fs/xfs/xfs_alloc_btree.o
  CC [M]  fs/xfs/xfs_attr.o
  CC [M]  fs/xfs/xfs_attr_leaf.o
  CC [M]  fs/xfs/xfs_bit.o
  CC [M]  fs/xfs/xfs_bmap.o
  CC [M]  fs/xfs/xfs_bmap_btree.o
  CC [M]  fs/xfs/xfs_btree.o
  CC [M]  fs/xfs/xfs_buf_item.o
fs/xfs/xfs_buf_item.c: In function ‘xfs_buf_item_log_debug’:
fs/xfs/xfs_buf_item.c:64: error: implicit declaration of function ‘bfset’
fs/xfs/xfs_buf_item.c: In function ‘xfs_buf_item_log_check’:
fs/xfs/xfs_buf_item.c:127: error: implicit declaration of function ‘btst’
fs/xfs/xfs_buf_item.c:130: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘struct xfs_buf_log_item_t *’
fs/xfs/xfs_buf_item.c:130: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘struct xfs_buf_t *’
fs/xfs/xfs_buf_item.c:130: warning: format ‘%x’ expects type ‘unsigned int’, but argument 5 has type ‘char *’
make[2]: *** [fs/xfs/xfs_buf_item.o] Error 1
make[1]: *** [fs/xfs] Error 2
make: *** [fs] Error 2