Try --with-kernel=/lib/modules/`uname -r`/source
Hope that helps, Elaine From: [email protected] [mailto:[email protected]] On Behalf Of g_p g_p Sent: Wednesday, February 01, 2012 4:13 PM To: pvfs2 Subject: [Pvfs2-users] configure: error: The kernel source tree does not appear to be 2.6 Hello, i'm using pvfs2 and i'm trying to load the kernel module So i did: 1st try: //print version [~] cat /proc/version Linux version 2.6.35.7-23Mar (gcc version 4.1.2 (Red Hat 4.1.2-48)) [~] cd /usr/pvfs-2.8.1 [pvfs-2.8.1] sudo ./configure --with-kernel=/boot/vmlinuz-2.6.35.7-23Mar Checking ... (etc) ERROR: configure: error: The --with-kernel path /boot/vmlinuz- 2.6.35.7-23Mar is not a directory. 2nd try: [pvfs-2.8.1] sudo ./configure --with-kernel=/usr/src/linux-2.6.35.7 Checking ... (etc) ERROR: grep: /usr/src/linux-2.6.35.7/include/linux/utsrelease.h: No such file or directory configure: error: The kernel source tree does not appear to be 2.6 So what shall i do in order to fix that? Thanks, in advance
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
