Re: compiling fuse

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

 



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@xxxxxxxx> 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@xxxxxxxxxx
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux