I tried to build lustre 1.6.1 patchless on Centos5 (RHEL5) with the
2.6.18-8.1.8.el5 kernel.  It fails to build with
make[3]: Entering directory `/tmp/lustre-1.6.1/lnet/utils''
if gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../..   -include ../../config.h
-I../../lnet/include -I../../lnet/include -I../../lustre/include
-I../../lustre/include   -g -O2 -MT lst.o -MD -MP -MF ".deps/lst.Tpo"
\
          -c -o lst.o `test -f ''lst.c'' || echo
''./''`lst.c; \
        then mv -f ".deps/lst.Tpo" ".deps/lst.Po"; \
        else rm -f ".deps/lst.Tpo"; exit 1; \
        fi
lst.c: In function ???lst_get_bulk_param???:
lst.c:2836: error: ???PAGE_SIZE??? undeclared (first use in this
function)
lst.c:2836: error: (Each undeclared identifier is reported only once
lst.c:2836: error: for each function it appears in.)
make[3]: *** [lst.o] Error 1
make[3]: Leaving directory `/tmp/lustre-1.6.1/lnet/utils''
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/lustre-1.6.1/lnet''
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/lustre-1.6.1''
make: *** [all] Error 2
I configured with ./configure
--with-linux=/usr/src/kernels/2.6.18-8.1.8.el5-x86_64
Any ideas?
Thanks.
--
Dr Stuart Midgley
sdm900@gmail.com