[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xfs: 2.4.22-ben2 compile pagebuf errors



Hello,

After a couple of attemts this time and seeing the same results for compliling XFS into my working 2.4.22-ben2 kernel, I keep on getting these errors.

/usr/bin/make -C pagebuf
make[4]: Entering directory `/usr/src/kernel-2.4.22/linux-2.4.22-ben2-xfs/fs/xfs/pagebuf'
/usr/bin/make all_targets
make[5]: Entering directory `/usr/src/kernel-2.4.22/linux-2.4.22-ben2-xfs/fs/xfs/pagebuf'
gcc -D__KERNEL__ -I/usr/src/kernel-2.4.22/linux-2.4.22-ben2-xfs/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fn
o-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/kernel-2.4.22/linux-2.4.22-ben2-xfs/arch/ppc -fsigned-char
-msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring  -I.. -nostdinc -iwithprefix include -DKBUILD_BASE
NAME=page_buf  -DEXPORT_SYMTAB -c page_buf.c
page_buf.c:2314: error: `VM_PAGEBUF' undeclared here (not in a function)
page_buf.c:2314: error: initializer element is not constant
page_buf.c:2314: error: (near initialization for `pagebuf_dir_table[0].ctl_name')
page_buf.c:2314: error: initializer element is not constant
page_buf.c:2314: error: (near initialization for `pagebuf_dir_table[0]')
page_buf.c:2315: error: initializer element is not constant
page_buf.c:2315: error: (near initialization for `pagebuf_dir_table[1]')
make[5]: *** [page_buf.o] Error 1
make[5]: Leaving directory `/usr/src/kernel-2.4.22/linux-2.4.22-ben2-xfs/fs/xfs/pagebuf'
make[4]: *** [first_rule] Error 2
make[4]: Leaving directory `/usr/src/kernel-2.4.22/linux-2.4.22-ben2-xfs/fs/xfs/pagebuf'
make[3]: *** [_subdir_pagebuf] Error 2
make[3]: Leaving directory `/usr/src/kernel-2.4.22/linux-2.4.22-ben2-xfs/fs/xfs'
make[2]: *** [_subdir_xfs] Error 2
make[2]: Leaving directory `/usr/src/kernel-2.4.22/linux-2.4.22-ben2-xfs/fs'
make[1]: *** [_dir_fs] Error 2
make[1]: Leaving directory `/usr/src/kernel-2.4.22/linux-2.4.22-ben2-xfs'
make: *** [stamp-build] Error 2


My xfs options are as follows:
CONFIG_XFS_FS = Y
CONFIG_XFS_POSIX_ACL = Y
CONFIG_XFS_RT = N
CONFIG_XFS_QUOTA = Y
CONFIG_XFS_DMAPI = Y
CONFIG_XFS_TRACE = N
CONFIG_XFS_DEBUG = N


I have not been able to ever compile xfs into a functioning Ben H. tree.  I have been able to a raw kernel source from kernel.org.

I used a patch: patch-2.4.22-ben2-stew1-xfs.bz2  which patched without a problem into the kernel.

Any sujestions would be very helpful.

-Adam
Reply to: