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 &quot;kernel.release&quot; file inside /usr/src/kernels/2.6.9-78.0.8.EL-x86_64/include/linux<br>
<br><div class="gmail_quote">On Mon, Dec 22, 2008 at 10:48 PM, Matt Lawrence <span dir="ltr">&lt;<a href="mailto:matt.lawrence@tamu.edu">matt.lawrence@tamu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Harshavardhana Ranganath wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Matt,<br>
<br>
 &nbsp; &nbsp; Check the rpm spec file for few more options to specify the kernel and<br>
<br>
# &nbsp; --define &quot;ksrc &lt;srcdir&gt;&quot;<br>
# &nbsp; &nbsp; &nbsp; Build with kernel header files found in &lt;srcdir&gt;.<br>
# &nbsp; &nbsp; &nbsp; By default, the build script will try to find the kernel headers<br>
# &nbsp; &nbsp; &nbsp; matching the specified kernel or, if no kernel was specified, the<br>
# &nbsp; &nbsp; &nbsp; current kernel.<br>
#<br>
# &nbsp; --define &quot;kernel &lt;version&gt;&quot;<br>
# &nbsp; &nbsp; &nbsp; Specify kernel version to build the module for.<br>
# &nbsp; &nbsp; &nbsp; By default, the version is derived from the kernel source files, or<br>
# &nbsp; &nbsp; &nbsp; failing that, from &quot;uname -r&quot;.<br>
<br>
 &nbsp; &nbsp; &nbsp;If you have kernel source in non standard path or looks like you have src release tag different than the kernel installed. <br>
 &nbsp; &nbsp; &nbsp;Check if you have ls -l /usr/src/kernels/ and uname -r match. If they don&#39;t match then a proper work around to fix this is to use --define &quot;kernel &lt;version&gt;&quot;. Let us see give it a try, if there are issues then we can look into it.<br>

</blockquote>
<br></div>
Here is what I&#39;m getting:<br>
<br>
[root@windfarm-gw ~]# uname -r<br>
2.6.9-78.0.8.ELsmp<br>
[root@windfarm-gw ~]# ls -l /usr/src/kernels/<br>
total 8<br>
drwxr-xr-x &nbsp;17 root root 4096 Dec 21 18:44 2.6.9-78.0.8.EL-smp-x86_64<br>
drwxr-xr-x &nbsp;17 root root 4096 Dec 21 18:43 2.6.9-78.0.8.EL-x86_64<br>
<br>
Not quite an exact match.<br>
<br>
[root@windfarm-gw ~]# rpmbuild -ta fuse-2.7.3glfs10.tar.gz --with modules --define &quot;kernel 2.6.9-78.0.8.EL-smp&quot;<br>
<br>
Gives:<br>
RPM build errors:<br>
 &nbsp; 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<br>
 &nbsp; 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<br>
<br>
And, rpmbuild -ta fuse-2.7.3glfs10.tar.gz --with modules --define &quot;kernel 2.6.9-78.0.8.EL-smp-x86_64&quot;<br>
<br>
RPM build errors:<br>
 &nbsp; 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<br>
 &nbsp; 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<br>
<br>
<br>
What should I try next?<br><font color="#888888">
<br>
-- Matt<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Harshavardhana<br>[y4m4 on #<a href="mailto:gluster@irc.freenode.net">gluster@irc.freenode.net</a>]<br>&quot;Samudaya TantraShilpi&quot;<br>Z Research Inc - <a href="http://www.zresearch.com">http://www.zresearch.com</a><br>
<br>