On Tue, Nov 07, 2006 at 09:47:47AM -0500, Vineet Chadha wrote: > Hi there, > > I am using kernel 2.6.18.1 and getting following error with unionfs-1.4. > Please help. ... > make -C /lib/modules/2.6.18-1.2200.fc5/build > SUBDIRS=/home/vineet/software/unionfs-1.4FISTDEVMK=/home/vineet/software/unionfs- > 1.4/fistdev.mk modules > make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2200.fc5-i686' > CC [M] /home/vineet/software/unionfs-1.4/subr.o > In file included from /home/vineet/software/unionfs-1.4/unionfs.h:6, > from /home/vineet/software/unionfs-1.4/subr.c:23: > include/linux/config.h:6:2: error: #warning Including config.h is > deprecated.
Ok, this should have been caught. > In file included from /home/vineet/software/unionfs-1.4/subr.c:23: > /home/vineet/software/unionfs-1.4/unionfs.h: In function > 'fist_copy_attr_all': > /home/vineet/software/unionfs-1.4/unionfs.h:520: error: 'struct inode' has > no member named 'i_blksize' > /home/vineet/software/unionfs-1.4/unionfs.h:520: error: 'const struct inode' > has no member named 'i_blksize' Hrm. The commit that removed the field from struct inode happened after 2.6.18 was released. It looks like you have the FC patches applied, and my guess is that the guys at RH decided to include it in their kernel. Try this patch: http://www.fsl.cs.sunysb.edu/~jsipek/unionfs/struct_inode-blksize-removed.diff Jeff. -- Bad pun of the week: The formula 1 control computer suffered from a race condition _______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
