Looks like the patch was generated at a bad time - delete line 619 in
fs/xfs/linux/xfs_lrw.c and try again. This line snuck out there by mistake.
Steve
> Hi,
> I have been trying to compile xfs into the kernel for a little
> while now and its getting frustrating...I am using 2.4.4 (on a
> side note, I also tried 2.4.4-ac8, which I noticed fails
> miserably...any plans to integrate the two trees?) I am using
> patch version:
> linux-2.4.4-xfs-cvs-05142001.patch
> and this is the error I get when I try to compile it into the
> kernel:
>
> <snipped>
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.4/include -Wall
> -Wstrict-prototypes -O2 -fno-strict-aliasing
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
> -march=i686 -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.4.4/include/linux/modversions.h -I .. -I
> /usr/src/linux-2.4.4/fs -funsigned-char -c -o xfs_lrw.o
> xfs_lrw.c
> xfs_lrw.c: In function `xfs_write':
> xfs_lrw.c:619: warning: implicit declaration of function
> `xfs_check_frozen'
> xfs_lrw.c:619: `XFS_FREEZE_WRITE' undeclared (first use in this
> function)
> xfs_lrw.c:619: (Each undeclared identifier is reported only once
> xfs_lrw.c:619: for each function it appears in.)
> xfs_lrw.c: At top level:
> ../xfs_log.h:60: warning: `_lsn_cmp' defined but not used
> make[3]: *** [xfs_lrw.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.4/fs/xfs/linux'
> make[2]: *** [_modsubdir_linux] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.4/fs/xfs'
> make[1]: *** [_modsubdir_xfs] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.4/fs'
> make: *** [_mod_fs] Error 2
|