[Pvfs2-users] Kernel Module - Compilation error

Number Cruncher number.cruncher at ntlworld.com
Mon May 15 12:06:01 EDT 2006


I think this happens because HAVE_XATTR is not successfully detected by 
configure. There has been a change in
include/linux/spinlock.h where LOCK_SECTION_NAME is #define'd and the 
KBUILD_BASENAME is not properly set up. Result: the xattr stuff is still 
present in the kernel files but the pvfs kernel module doesn't #include 
<linux/xattr.h>

Not sure what the answer is, but I think the autoconf test is not 
setting the right kernel compilation CFLAGS.

Simon

Murali Vilayannur wrote:

>Hi Peng,
>Can you point configure to the running kernel's headers/source/build
>directory and see if things work? You could see this error because of an
>incorrect path to --with-kernel..
>Murali
>
>  
>


More information about the Pvfs2-users mailing list