[Gluster-devel] compiling fuse

Krishna Srinivas krishna at zresearch.com
Thu Dec 20 11:16:37 UTC 2007


Albert,

--enable-kernel-module indicates whether fuse.ko should be build which would
be "insmod"ed into the kernel. It is need if you want to take advantage of
certain performance features that are there in fuse-glfs.
Also you will have to build fuse.ko yourself and use it in case you want to
NFS export the glusterfs mounted directory.

It looks like there is some incompatibility with your kernel version because
of
which compilation is failing. What kernel are you running?

Krishna

On Dec 20, 2007 4:35 PM, Albert Shih <Albert.Shih at obspm.fr> wrote:

> Hi all
>
> I'm trying to make up2date version of fuse and glusterfs.
>
> For that I try to follow the instruction find
>
>
> http://www.gluster.org/docs/index.php/Install_and_run_GlusterFS_v1.3_in_10mins
>
> On fuse-2.7.0-glfs7 when I try
>
>        ./configure --prefix=/usr --enable-kernel-module
>        make
>
> I've got :
>
>        <quadri11> /usr/local/tmp/fuse-2.7.0-glfs7# make
>        Making all in kernel
>        make[1]: Entering directory `/usr/local/tmp/fuse-2.7.0-glfs7
> /kernel'
>        make -C /usr/src/linux-2.6.23.1 SUBDIRS=`pwd`  modules
>        make[2]: Entering directory `/usr/src/linux-2.6.23.1'
>          CC [M]  /usr/local/tmp/fuse-2.7.0-glfs7/kernel/dev.o
>        /usr/local/tmp/fuse-2.7.0-glfs7/kernel/dev.c: In function
> 'fuse_dev_init':
>        /usr/local/tmp/fuse-2.7.0-glfs7/kernel/dev.c:1098: error: too many
>        arguments to function 'kmem_cache_create'
>        make[3]: *** [/usr/local/tmp/fuse-2.7.0-glfs7/kernel/dev.o] Error 1
>        make[2]: *** [_module_/usr/local/tmp/fuse-2.7.0-glfs7/kernel] Error
> 2
>        make[2]: Leaving directory `/usr/src/linux-2.6.23.1'
>        make[1]: *** [all-spec] Error 2
>        make[1]: Leaving directory `/usr/local/tmp/fuse-2.7.0-glfs7/kernel'
>        make: *** [all-recursive] Error 1
>        <quadri11> /usr/local/tmp/fuse-2.7.0-glfs7#
>
> But it's working when I don't put the option --enable-kernel-module.
> What's
> that mean if I don't use this option ? Is that mean I use the new version
> of the client but old version of the kernel module ?
>
> Thanks for any help.
>
> Regards.
>
>
> --
> Albert SHIH
> Observatoire de Paris Meudon
> SIO batiment 15
> Heure local/Local time:
> Jeu 20 déc 2007 11:59:03 CET
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>



More information about the Gluster-devel mailing list