Hi Matt, <br><br>&nbsp;&nbsp;&nbsp;&nbsp; Check the rpm spec file for few more options to specify the kernel and <br><br>#&nbsp;&nbsp; --define &quot;ksrc &lt;srcdir&gt;&quot;<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Build with kernel header files found in &lt;srcdir&gt;.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; By default, the build script will try to find the kernel headers<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; matching the specified kernel or, if no kernel was specified, the<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; current kernel.<br>#<br>#&nbsp;&nbsp; --define &quot;kernel &lt;version&gt;&quot;<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Specify kernel version to build the module for.<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; By default, the version is derived from the kernel source files, or<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; failing that, from &quot;uname -r&quot;.<br><br>&nbsp;&nbsp;&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.&nbsp; <br><br>&nbsp;&nbsp;&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>
<br>Regards<br><div class="gmail_quote">On Mon, Dec 22, 2008 at 6:18 AM, 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;">
When I try to build fuse-2.7.3glfs10 with the command &quot;rpmbuild -ta<br>
fuse-2.7.3glfs10.tar.gz --with modules&quot;, it runs through quite a bit and<br>
then dies with<br>
<br>
RPM build errors:<br>
 &nbsp; &nbsp;Macro %kernel has empty body<br>
 &nbsp; &nbsp;File not found:<br>
/var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/%{kernel}/kernel/fs/fuse<br>
 &nbsp; &nbsp;File not found:<br>
/var/tmp/fuse-2.7.3glfs10-1-root-root/lib/modules/%{kernel}/kernel/fs/fuse/fuse.ko<br>
<br>
<br>
Help? &nbsp;I&#39;m trying to get glusterfs up on multiple CentOS4 systems<br>
<br>
-- Matt<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
</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>