Hello, I just tried to make a statically linked 2.6.17 with the latest unionfs snapshot using patch-kernel.sh. The compile gave me the following errors:
fs/built-in.o(.text+0x390c7): In function `get_hidden_parent': : undefined reference to `export_op_default' fs/built-in.o(.text+0x39497): In function `unionfs_encode_fh': : undefined reference to `export_op_default' fs/built-in.o(.text+0x39577): In function `unionfs_decode_fh': : undefined reference to `export_op_default' The problem seems to be there is no NFS support in my kernel, so the invisible CONFIG_EXPORTFS option doesn't get set, so fs/exportfs/expfs.c isn't built into the kernel which contains the export_op_default symbol. It worked after I added "select EXPORTFS" to the Kconfig entry for unionfs. Attached is a trivial patch that adds this line. Regards, Torsten
diff -urN unionfs-20060622-1201.orig/patch-kernel.sh unionfs-20060622-1201/patch-kernel.sh --- unionfs-20060622-1201.orig/patch-kernel.sh 2006-06-22 18:01:08.000000000 +0200 +++ unionfs-20060622-1201/patch-kernel.sh 2006-06-25 23:08:34.000000000 +0200 @@ -58,6 +58,7 @@ echo -e "config UNION_FS \ttristate \"Union fs support\" \tdepends on EXPERIMENTAL +\tselect EXPORTFS \thelp \t Unionfs is a stackable unification file system, which can \t appear to merge the contents of several directories (branches),
_______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
