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.

If you need more help you need to tell us what distro you are using and the output of:

"uname -a"
"ls -la /lib/modules"
"ls -la lib/modules/`uname -r`"
"cat /lib/modules/`uname -r`/build/Makefile"

Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | NEW 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada
t. 1 905 474 1990 x128 | e. moy@sangoma.com



On Sun, Aug 1, 2010 at 3:11 PM, Jim <jim@k4gvo.com> wrote:
I'm installing the latest wanpipe drivers and it's not working.  I'm
wondering where he's getting the linux source name in this warning
from?  There is no directory in /usr/src/linux or /lib/moduels that
matches it.  In fact, locate doesn't match it either.  There are no
strings in the wanpipe source tree that match either.  Where's it coming
from?

WARNING: Module installation dir mismatch!
         Linux source name  = 2.6.31.12
         Current image name = 2.6.31-21-generic


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org