Hi,
I tried to compile fuse with --enable-kernel-module (as I want to check
exporting of FUSE filesystem over NFS). I tried this with vanilla kernel 2.6.22.
It failed. I tried to find anything related using google but without success. I
wonder if anyone had similar problems and could help.
Thanks in advance. See output from make bellow (broke lines in some places):
Making all in kernel
gmake[1]: Entering directory `/tmp/fuse-2.7.0/kernel'
gmake -C /tmp/linux-build/ SUBDIRS=`pwd` modules
gmake[2]: Entering directory `/tmp/linux-build'
gmake -C /usr/src/linux-2.6.22 O=/tmp/linux-build modules
CC [M] /tmp/fuse-2.7.0/kernel/file.o
In file included from /tmp/fuse-2.7.0/kernel/file.c:9:
/tmp/fuse-2.7.0/kernel/fuse_i.h:70:1: warning: "DEFINE_MUTEX" redefined
In file included from /usr/src/linux-2.6.22/include/linux/notifier.h:13,
from /usr/src/linux-2.6.22/include/linux/memory_hotplug.h:7,
from /usr/src/linux-2.6.22/include/linux/mmzone.h:466,
from /usr/src/linux-2.6.22/include/linux/gfp.h:4,
from /usr/src/linux-2.6.22/include/linux/slab.h:14,
from /usr/src/linux-2.6.22/include/linux/percpu.h:5,
from /usr/src/linux-2.6.22/include/linux/rcupdate.h:41,
from /usr/src/linux-2.6.22/include/linux/dcache.h:10,
from /usr/src/linux-2.6.22/include/linux/fs.h:275,
from /tmp/fuse-2.7.0/kernel/fuse_i.h:59,
from /tmp/fuse-2.7.0/kernel/file.c:9:
/usr/src/linux-2.6.22/include/linux/mutex.h:102:1: \
warning: this is the location
of the previous definition
In file included from /tmp/fuse-2.7.0/kernel/file.c:9:
/tmp/fuse-2.7.0/kernel/fuse_i.h:71:1: warning: "mutex_init" redefined
In file included from /usr/src/linux-2.6.22/include/linux/notifier.h:13,
from /usr/src/linux-2.6.22/include/linux/memory_hotplug.h:7,
from /usr/src/linux-2.6.22/include/linux/mmzone.h:466,
from /usr/src/linux-2.6.22/include/linux/gfp.h:4,
from /usr/src/linux-2.6.22/include/linux/slab.h:14,
from /usr/src/linux-2.6.22/include/linux/percpu.h:5,
from /usr/src/linux-2.6.22/include/linux/rcupdate.h:41,
from /usr/src/linux-2.6.22/include/linux/dcache.h:10,
from /usr/src/linux-2.6.22/include/linux/fs.h:275,
from /tmp/fuse-2.7.0/kernel/fuse_i.h:59,
from /tmp/fuse-2.7.0/kernel/file.c:9:
/usr/src/linux-2.6.22/include/linux/mutex.h:79:1: \
warning: this is the location
of the previous definition
In file included from /tmp/fuse-2.7.0/kernel/file.c:9:
/tmp/fuse-2.7.0/kernel/fuse_i.h:72:1: warning: "mutex_destroy" redefined
In file included from /usr/src/linux-2.6.22/include/linux/notifier.h:13,
from /usr/src/linux-2.6.22/include/linux/memory_hotplug.h:7,
from /usr/src/linux-2.6.22/include/linux/mmzone.h:466,
from /usr/src/linux-2.6.22/include/linux/gfp.h:4,
from /usr/src/linux-2.6.22/include/linux/slab.h:14,
from /usr/src/linux-2.6.22/include/linux/percpu.h:5,
from /usr/src/linux-2.6.22/include/linux/rcupdate.h:41,
from /usr/src/linux-2.6.22/include/linux/dcache.h:10,
from /usr/src/linux-2.6.22/include/linux/fs.h:275,
from /tmp/fuse-2.7.0/kernel/fuse_i.h:59,
from /tmp/fuse-2.7.0/kernel/file.c:9:
/usr/src/linux-2.6.22/include/linux/mutex.h:85:1: \
warning: this is the location
of the previous definition
In file included from /tmp/fuse-2.7.0/kernel/file.c:9:
/tmp/fuse-2.7.0/kernel/fuse_i.h:89:1: warning: "CONFIG_BLOCK" redefined
In file included from <command line>:1:
./include/linux/autoconf.h:969:1: \
warning: this is the location of the previous
definition
/tmp/fuse-2.7.0/kernel/file.c: In function ‘fuse_direct_write’:
/tmp/fuse-2.7.0/kernel/file.c:634: \
error: ‘struct inode’ has no member named ‘i_sem’
/tmp/fuse-2.7.0/kernel/file.c:638: \
error: ‘struct inode’ has no member named ‘i_sem’
gmake[5]: *** [/tmp/fuse-2.7.0/kernel/file.o] Error 1
gmake[4]: *** [_module_/tmp/fuse-2.7.0/kernel] Error 2
gmake[3]: *** [modules] Error 2
gmake[2]: *** [modules] Error 2
gmake[2]: Leaving directory `/tmp/linux-build'
gmake[1]: *** [all-spec] Error 2
gmake[1]: Leaving directory `/tmp/fuse-2.7.0/kernel'
gmake: *** [all-recursive] Error 1
|