unless specified otherwise, the file at /lib/modules/`uname -r`/build/Makefile will be used to determine the kernel version. Inside that Makefile there is some variables at the top defining the version.<div><br></div><div>
If you need more help you need to tell us what distro you are using and the output of:</div><div><br></div><div>&quot;uname -a&quot;</div><div>&quot;ls -la /lib/modules&quot;</div><div>&quot;ls -la lib/modules/`uname -r`&quot;</div>
<div>&quot;cat /lib/modules/`uname -r`/build/Makefile&quot;</div><div><div><br clear="all"><div>Moises Silva<br>Senior Software Engineer<br>Sangoma Technologies Inc. | NEW 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada<br>
t. 1 905 474 1990 x128 | e. <a href="mailto:moy@sangoma.com" target="_blank">moy@sangoma.com</a></div><br>
<br><br><div class="gmail_quote">On Sun, Aug 1, 2010 at 3:11 PM, Jim <span dir="ltr">&lt;<a href="mailto:jim@k4gvo.com">jim@k4gvo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;m installing the latest wanpipe drivers and it&#39;s not working.  I&#39;m<br>
wondering where he&#39;s getting the linux source name in this warning<br>
from?  There is no directory in /usr/src/linux or /lib/moduels that<br>
matches it.  In fact, locate doesn&#39;t match it either.  There are no<br>
strings in the wanpipe source tree that match either.  Where&#39;s it coming<br>
from?<br>
<br>
WARNING: Module installation dir mismatch!<br>
          Linux source name  = 2.6.31.12<br>
          Current image name = 2.6.31-21-generic<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div>