[Gluster-devel] Re : fuse module compilation problem

Amar Tumballi (bulde) amar at gluster.com
Sat Jan 3 00:26:52 UTC 2009


Hi Mohan,

 With any kernel above version 2.6.24, kernel module shipped with the
standard kernel should be used, and the fuse tarball's kernel module won't
compile.

Regards,
Amar

2009/1/2 mohan L <l.mohanphy at gmail.com>

> Dear all,
>
> I am installing GlusterFS patched fuse . when I am trying to make . I am
> getting the following error .
>
> [root at localhost fuse-2.7.2glfs9]# make
> Making all in kernel
> make[1]: Entering directory `/tmp/gluster/fuse-2.7.2glfs9/kernel'
> make -C /usr/src/kernels/2.6.25-14.fc9.i686/ SUBDIRS=`pwd`  modules
> make[2]: Entering directory `/usr/src/kernels/2.6.25-14.fc9.i686'
>   CC [M]  /tmp/gluster/fuse-2.7.2glfs9/kernel/dev.o
>   CC [M]  /tmp/gluster/fuse-2.7.2glfs9/kernel/dir.o
>   CC [M]  /tmp/gluster/fuse-2.7.2glfs9/kernel/file.o
>   CC [M]  /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.o
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:683: error: unknown field
> 'read_inode' specified in initializer
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:938: error: expected ')' before
> '(' token
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:940: error: expected ')' before
> '(' token
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:941: error: expected ')' before
> '(' token
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c: In function 'fuse_sysfs_init':
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1009: error: implicit
> declaration of function 'subsystem_register'
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1009: error: 'fs_subsys'
> undeclared (first use in this function)
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1009: error: (Each undeclared
> identifier is reported only once
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1009: error: for each function
> it appears in.)
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1014: error: implicit
> declaration of function 'kobj_set_kset_s'
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1014: error: 'fuse_subsys'
> undeclared (first use in this function)
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1023: error:
> 'connections_subsys' undeclared (first use in this function)
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1034: error: implicit
> declaration of function 'subsystem_unregister'
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c: In function
> 'fuse_sysfs_cleanup':
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1044: error:
> 'connections_subsys' undeclared (first use in this function)
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1045: error: 'fuse_subsys'
> undeclared (first use in this function)
> /tmp/gluster/fuse-2.7.2glfs9/kernel/inode.c:1047: error: 'fs_subsys'
> undeclared (first use in this function)
> make[3]: *** [/tmp/gluster/fuse-2.7.2glfs9/kernel/inode.o] Error 1
> make[2]: *** [_module_/tmp/gluster/fuse-2.7.2glfs9/kernel] Error 2
> make[2]: Leaving directory `/usr/src/kernels/2.6.25-14.fc9.i686'
> make[1]: *** [all-spec] Error 2
> make[1]: Leaving directory `/tmp/gluster/fuse-2.7.2glfs9/kernel'
> make: *** [all-recursive] Error 1
>
> I think ,I have to apply some patch for perticular version . How to apply
> patch for fuse?
>
> Thanks
> L.mohan
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
>


-- 
Amar Tumballi
Gluster/GlusterFS Hacker
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Super Storage!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20090102/342d3d51/attachment-0003.html>


More information about the Gluster-devel mailing list