Hello,
I just tried to compile a lustre client for fedora 12. For the test, I
used the commit 2bbc622214a3dad366a81cb2883ca612dd84f7a1 on branch b1_8.
Unfortunately, it fails to compile. Here''s an excerpt of the build
process:
(uname -r is 2.6.31.5-127.fc12.x86_64)
./configure --with-linux=/usr/src/kernels/`uname -r` --disable-server
[skipping config output lines]
after the make, I get the following compiler error:
CC [M] /home/esirola/lustre/lustre/llite/dcache.o
In file included from
/home/esirola/lustre/lustre/include/linux/obd_support.h:171,
from /home/esirola/lustre/lustre/include/obd_support.h:730,
from /home/esirola/lustre/lustre/llite/dcache.c:45:
/usr/src/kernels/2.6.31.5-127.fc12.x86_64/include/linux/blkdev.h:1014:
error: expected identifier or ?(? before ?struct?
/usr/src/kernels/2.6.31.5-127.fc12.x86_64/include/linux/blkdev.h:1014:
error: expected ?)? before ?->? token
/usr/src/kernels/2.6.31.5-127.fc12.x86_64/include/linux/blkdev.h:1019:
error: expected identifier or ?(? before ?struct?
/usr/src/kernels/2.6.31.5-127.fc12.x86_64/include/linux/blkdev.h:1019:
error: expected ?)? before ?->? token
/usr/src/kernels/2.6.31.5-127.fc12.x86_64/include/linux/blkdev.h:1024:
error: expected identifier or ?(? before ?struct?
/usr/src/kernels/2.6.31.5-127.fc12.x86_64/include/linux/blkdev.h:1024:
error: expected ?)? before ?->? token
/usr/src/kernels/2.6.31.5-127.fc12.x86_64/include/linux/blkdev.h:1029:
error: expected identifier or ?(? before ?struct?
/usr/src/kernels/2.6.31.5-127.fc12.x86_64/include/linux/blkdev.h:1029:
error: expected ?)? before ?->? token
make[6]: *** [/home/esirola/lustre/lustre/llite/dcache.o] Error 1
make[5]: *** [/home/esirola/lustre/lustre/llite] Error 2
make[4]: *** [/home/esirola/lustre/lustre] Error 2
make[3]: *** [_module_/home/esirola/lustre] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.31.5-127.fc12.x86_64''
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/home/esirola/lustre''
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/esirola/lustre''
make: *** [all] Error 2
Am I missing something? Does anyone know if there is a F12 kernel known
to work with a specific b1_8 tag / commit?
Do you need any additional info?
Thanks in advance for your help,
Enrico