Hello,
I have problem to successfully build xfs-cmd.
I tried compile (on first time, download CVS tree; "cvs -z3 checkout
linux-2.4-xfs"), in the linux-2.4-xfs/cmd/xfs directory.
make configure
make ...
...
...
=== sim/src ===
Makefile:81: warning: overriding commands for target `xfs_uuid.c'
Makefile:78: warning: ignoring old commands for target `xfs_uuid.c'
make[1]: Nothing to be done for `default'.
=== include ===
make[1]: Nothing to be done for `default'.
=== libxfs ===
gcc -g -DDEBUG -funsigned-char -Wall -Wno-parentheses
-Wno-unknown-pragmas -Wno-unused -I. '-DVERSION="1.0.2-0"' -I../include
-I../../../linux/include -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DXFS_BIG_FILES=1 -DXFS_BIG_FILESYSTEMS=1 -c -o init.o init.c
In file included from ../include/libxfs.h:56,
from init.c:34:
../include/xfs_fsops.h:50: redefinition of `struct xfs_growfs_data'
../include/xfs_fsops.h:53: redefinition of `xfs_growfs_data_t'
../../../linux/include/linux/xfs_fs.h:250: `xfs_growfs_data_t' previously
declared here
../include/xfs_fsops.h:57: redefinition of `struct xfs_growfs_log'
../include/xfs_fsops.h:60: redefinition of `xfs_growfs_log_t'
../../../linux/include/linux/xfs_fs.h:261: `xfs_growfs_log_t' previously
declared here
../include/xfs_fsops.h:64: redefinition of `struct xfs_growfs_rt'
../include/xfs_fsops.h:67: redefinition of `xfs_growfs_rt_t'
../../../linux/include/linux/xfs_fs.h:271: `xfs_growfs_rt_t' previously
declared here
make[1]: *** [init.o] Error 1
make: *** [default] Error 2
Which definitions would have to use? xfs_fsops.h or xfs_fs.h ?
claudio
|