[Pvfs2-users] compiling kernel module of pvfs2.7.1pre and RHEL4
kernel 2.6.9-55 - red hat
Phil Carns
carns at mcs.anl.gov
Wed Jan 30 08:35:12 EST 2008
Michael Will wrote:
> I checked pvfs 2.7.1pre out again from
> :pserver:anonymous at cvs.parl.clemson.edu:/anoncvs
> this morning and did a ./prepare, then a 'make kmod' which failed with:
>
> CC [M] /root/x/pvfs2/src/kernel/linux-2.6/dir.o
> /root/x/pvfs2/src/kernel/linux-2.6/dir.c: In function `pvfs2_dir_llseek':
> /root/x/pvfs2/src/kernel/linux-2.6/dir.c:890: error: `SEEK_SET'
> undeclared (first use in this function)
> /root/x/pvfs2/src/kernel/linux-2.6/dir.c:890: error: (Each undeclared
> identifier is reported only once
> /root/x/pvfs2/src/kernel/linux-2.6/dir.c:890: error: for each function
> it appears in.)
> make[3]: *** [/root/x/pvfs2/src/kernel/linux-2.6/dir.o] Error 1
> make[2]: *** [_module_/root/x/pvfs2/src/kernel/linux-2.6] Error 2
> make[1]: *** [default] Error 2
> make: *** [just_kmod] Error 2
>
> after defining SEEK_SET 0 in dir.c, I get past that:
This part (sorry, only the easy part of what you are looking at) is
fixed in trunk now. The older 2.6.x kernels didn't have a #define for
that. Thanks!
-Phil
More information about the Pvfs2-users
mailing list