Hi, ?I am trying to compile de fuse-2.7.3glfs10 and I receive the error bellow when I execute de make command. I haven't any idea how to solve this problem. I need --enable-kernel-module to reexport to NFS. What can I do? # cat /etc/SuSE-release SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 1 #HW - Dell PowerEdge 850 8GB RAM ECC Intel(R) Xeon(R) CPU X3360 @ 2.83GHz # zcat /proc/config.gz | grep CONFIG_FUSE_FS CONFIG_FUSE_FS=m # uname -a Linux sirius99 2.6.28.4-smp #1 SMP Mon Feb 9 14:13:58 CET 2009 x86_64 x86_64 x86_64 GNU/Linux START INSTALLATION # ./configure --prefix=/usr --enable-kernel-module checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 32768 checking whether the shell understands some XSI constructs... yes checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r checking how to recognise dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether gcc and cc understand -c and -o together... yes checking for fork... yes checking for setxattr... yes checking for fdatasync... yes checking for struct stat.st_atim... yes checking for struct stat.st_atimespec... no checking for library containing dlopen... -ldl checking for library containing clock_gettime... -lrt checking for ld used by GCC... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); configure: creating ./config.status config.status: creating fuse.pc config.status: creating Makefile config.status: creating lib/Makefile config.status: creating util/Makefile config.status: creating example/Makefile config.status: creating include/Makefile config.status: creating include/config.h config.status: include/config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in kernel (/opt/fuse-2.7.3glfs10/kernel) configure: running /bin/sh ./configure '--prefix=/usr/' '--enable-kernel-module' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking kernel source directory... /usr/src/linux-2.6.28.4 checking kernel build directory... /usr/src/linux-2.6.28.4 checking kernel source version... 2.6.28.4-smp checking if FUSE is configured in the kernel... yes checking if kernel defines kzalloc function... yes checking if kernel defines fs_subsys... no checking whether lookup_instantiate_filp is defined... yes checking if umount_begin is passed a vfsmount... no checking if inode has i_blksize field... no checking if inode has i_private field... yes checking if inode has i_mutex field ... yes checking if kernel has mutex.h ... yes checking if kernel has exportfs.h ... yes checking if kernel has BLOCK option ... yes checking if this is user mode linux... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged # make Making all in kernel make[1]: Entering directory `/opt/fuse-2.7.3glfs10/kernel' make -C /usr/src/linux-2.6.28.4 SUBDIRS=`pwd` modules make[2]: Entering directory `/usr/src/linux-2.6.28.4' CC [M] /opt/fuse-2.7.3glfs10/kernel/dir.o /opt/fuse-2.7.3glfs10/kernel/dir.c: In function ?fuse_permission?: /opt/fuse-2.7.3glfs10/kernel/dir.c:860: error: ?LOOKUP_ACCESS? undeclared (first use in this function) /opt/fuse-2.7.3glfs10/kernel/dir.c:860: error: (Each undeclared identifier is reported only once /opt/fuse-2.7.3glfs10/kernel/dir.c:860: error: for each function it appears in.) /opt/fuse-2.7.3glfs10/kernel/dir.c: At top level: /opt/fuse-2.7.3glfs10/kernel/dir.c:1329: warning: initialization from incompatible pointer type /opt/fuse-2.7.3glfs10/kernel/dir.c:1348: warning: initialization from incompatible pointer type make[3]: *** [/opt/fuse-2.7.3glfs10/kernel/dir.o] Error 1 make[2]: *** [_module_/opt/fuse-2.7.3glfs10/kernel] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.28.4' make[1]: *** [all-spec] Error 2 make[1]: Leaving directory `/opt/fuse-2.7.3glfs10/kernel' make: *** [all-recursive] Error 1 -- Martin Gumbau - mgumbau at iciq.es Responsable Informatic dels grups teorics de Quimica Computacional del ICIQ
Amar (ಅಮರ್ ತುಂಬಳ್ಳಿ)
2009-Feb-09 17:43 UTC
[Gluster-users] Compiling fuse-2.7.3glfs10 - Error
Hi Martin, For GNU/Linux kernels above 2.6.26, you have to use the kernel module present with the kernel itself. The '--enable-kernel-module' option of fuse tarball doesnt work. Regards, Amar 2009/2/9 Martin Gumbau <mgumbau at iciq.es>> Hi, > ?I am trying to compile de fuse-2.7.3glfs10 and I receive the error > bellow when I execute de make command. I haven't any idea how to solve > this problem. I need --enable-kernel-module to reexport to NFS. > What can I do? >> make[2]: Leaving directory `/usr/src/linux-2.6.28.4' > make[1]: *** [all-spec] Error 2 > make[1]: Leaving directory `/opt/fuse-2.7.3glfs10/kernel' > make: *** [all-recursive] Error 1 > > > -- > Martin Gumbau - mgumbau at iciq.es > Responsable Informatic > dels grups teorics > de Quimica Computacional > del ICIQ > >-- 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-users/attachments/20090209/f8f82023/attachment.html>