Can you please paste ls -l /var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules, you will be able to see for which kernel version fuse module is built and also check the "kernel.release" file inside /usr/src/kernels/2.6.9-78.0.8.EL-x86_64/include/linux On Mon, Dec 22, 2008 at 10:48 PM, Matt Lawrence <matt.lawrence at tamu.edu>wrote: > Harshavardhana Ranganath wrote: > >> Hi Matt, >> >> Check the rpm spec file for few more options to specify the kernel and >> >> # --define "ksrc <srcdir>" >> # Build with kernel header files found in <srcdir>. >> # By default, the build script will try to find the kernel headers >> # matching the specified kernel or, if no kernel was specified, the >> # current kernel. >> # >> # --define "kernel <version>" >> # Specify kernel version to build the module for. >> # By default, the version is derived from the kernel source files, >> or >> # failing that, from "uname -r". >> >> If you have kernel source in non standard path or looks like you have >> src release tag different than the kernel installed. >> Check if you have ls -l /usr/src/kernels/ and uname -r match. If they >> don't match then a proper work around to fix this is to use --define "kernel >> <version>". Let us see give it a try, if there are issues then we can look >> into it. >> > > Here is what I'm getting: > > [root at windfarm-gw ~]# uname -r > 2.6.9-78.0.8.ELsmp > [root at windfarm-gw ~]# ls -l /usr/src/kernels/ > total 8 > drwxr-xr-x 17 root root 4096 Dec 21 18:44 2.6.9-78.0.8.EL-smp-x86_64 > drwxr-xr-x 17 root root 4096 Dec 21 18:43 2.6.9-78.0.8.EL-x86_64 > > Not quite an exact match. > > [root at windfarm-gw ~]# rpmbuild -ta fuse-2.7.3glfs10.tar.gz --with modules > --define "kernel 2.6.9-78.0.8.EL-smp" > > Gives: > RPM build errors: > File not found: > /var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/2.6.9-78.0.8.EL-smp/kernel/fs/fuse > File not found: > /var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/2.6.9-78.0.8.EL-smp/kernel/fs/fuse/fuse.ko > > And, rpmbuild -ta fuse-2.7.3glfs10.tar.gz --with modules --define "kernel > 2.6.9-78.0.8.EL-smp-x86_64" > > RPM build errors: > File not found: > /var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/2.6.9-78.0.8.EL-smp-x86_64/kernel/fs/fuse > File not found: > /var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/2.6.9-78.0.8.EL-smp-x86_64/kernel/fs/fuse/fuse.ko > > > What should I try next? > > -- Matt > > -- Harshavardhana [y4m4 on #gluster at irc.freenode.net] "Samudaya TantraShilpi" Z Research Inc - http://www.zresearch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://zresearch.com/pipermail/gluster-users/attachments/20081222/922e40e9/attachment.htm