[Lustre-discuss] Compiling lustre 1.8.1.1 against latest CentOS5 kernel fails.
Roy Dragseth
roy.dragseth at uit.no
Fri Nov 6 00:49:06 PST 2009
Hi.
I'm trying to install kernel 2.6.18-164.6.1.el5 on the clients to get the
latest security fixes, but it fails in the compile with an error
"FIEMAP_FLAGS_COMPAT redefined" when compiling lloop.c:
CC [M] /home/royd2/src/lustre-1.8.1.1/lustre/llite/lloop.o
In file included from
/home/royd2/src/lustre-1.8.1.1/lustre/include/lustre/lustre_user.h:44,
from
/home/royd2/src/lustre-1.8.1.1/lustre/include/lustre/lustre_idl.h:97,
from
/home/royd2/src/lustre-1.8.1.1/lustre/include/lustre_lib.h:45,
from /home/royd2/src/lustre-1.8.1.1/lustre/llite/lloop.c:111:
/home/royd2/src/lustre-1.8.1.1/lustre/include/lustre/ll_fiemap.h:82:1: error:
"FIEMAP_FLAGS_COMPAT" redefined
In file included from /usr/src/kernels/2.6.18-164.6.1.el5-
x86_64//include/linux/fs.h:299,
from /home/royd2/src/lustre-1.8.1.1/lustre/llite/lloop.c:88:
/usr/src/kernels/2.6.18-164.6.1.el5-x86_64//include/linux/fiemap.h:42:1: error:
this is the location of the previous definition
make[6]: *** [/home/royd2/src/lustre-1.8.1.1/lustre/llite/lloop.o] Error 1
Any suggestions on how to fix this?
Regards,
r.
--
The Computer Center, University of Tromsø, N-9037 TROMSØ Norway.
phone:+47 77 64 41 07, fax:+47 77 64 41 00
Roy Dragseth, Team Leader, High Performance Computing
Direct call: +47 77 64 62 56. email: roy.dragseth at uit.no
More information about the lustre-discuss
mailing list