[Pvfs2-users] kmod building problem with 2.8.1 and 2.6.28 kernel
Phil Carns
carns at mcs.anl.gov
Thu Apr 2 08:35:35 EST 2009
As it turns out I think those trunk changes were only helpful for
2.6.29. 2.6.28 should have been Ok.
If you do try 2.6.28 with PVFS again let us know and we'll try to figure
out what went wrong.
thanks,
-Phil
Phil Carns wrote:
> Sorry for the slow reply, but could you try compiling the cvs trunk
> version of PVFS and let us know if that fixes the problem?
>
> Instructions for how to check out the cvs code can be found here:
> http://www.pvfs.org/support/
>
> -Phil
>
> belcampo wrote:
>> Downloaded 2.8.1 as of yesterday, everything builds fine except for
>> the kernel module.
>>
>> ./configure --prefix=/usr --kernel=/path_to_current_kernel
>> make just_kmod results in:
>>
>> CC [M]
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.o
>> In file included from
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:8:
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-kernel.h:1272:
>> error: conflicting types for ‘kzalloc’
>> include/linux/slab.h:304: error: previous definition of ‘kzalloc’ was
>> here
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c: In
>> function ‘pvfs2_inode_removexattr’:
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1019:
>> error: ‘XATTR_REPLACE’ undeclared (first use in this function)
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1019:
>> error: (Each undeclared identifier is reported only once
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.c:1019:
>> error: for each function it appears in.)
>> make[3]: ***
>> [/spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-utils.o]
>> Error 1
>> make[2]: ***
>> [_module_/spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6] Error 2
>> make[1]: *** [default] Error 2
>> make: *** [just_kmod] Error 2
>>
>> Searched the list for conflicting 'kzalloc' and changed
>> according to the mail with
>> Subject: Re: [Pvfs2-users] building kmod on linux-2.6.22
>> where pvfs2-config.h and src/kernel/linux-2.6/Makefile have to be
>> changed and exported CPATH to my configuration, but to no avail.
>> After this changes I get a lot of
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/upcall.h:47:
>> error: expected specifier-qualifier-list before ‘PVFS_object_ref’
>> .....
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/downcall.h:35:
>> error: expected specifier-qualifier-list before ‘PVFS_object_ref’
>> .....
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-dev-proto.h:89:
>> error: expected specifier-qualifier-list before ‘PVFS_offset’
>> .....
>> /spvfs/sources/pvfs2/pvfs-2.8.1/src/kernel/linux-2.6/pvfs2-kernel.h:120:25:
>> error: pvfs2-types.h: No such file or directory
>> but pvfs2-types.h can be found at ./include/pvfs2-types.h
>>
>> And a whole lot more.
>>
>> Could someone be so nice and help me with this.
>> Kernel version is 2.6.28
>>
>> Henk Schoneveld
>> _______________________________________________
>> Pvfs2-users mailing list
>> Pvfs2-users at beowulf-underground.org
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>
>
More information about the Pvfs2-users
mailing list