On Tue, 2009-04-14 at 16:48 +0200, Matthias Hüsken wrote:
> Sorry, forgot to attach the config.log...
> 
> It seems some kernel header files cannot be found (e.g. posix_types.h), 
> either 
> because they are not in the correct location or lustre does no find them.

From the config.log:

checking that modules can be built at all
configure:5089: cp conftest.c build && make -d modules  CC=gcc -m64 -f 
/tmp/lustre/build/Makefile LUSTRE_LINUX_CONFIG=/tmp/linux-2.6.27/.config 
LINUXINCLUDE= -I/tmp/linux-2.6.27/include -I/tmp/linux-2.6.27/include 
-I/tmp/linux-2.6.27/include2 -include include/linux/autoconf.h -o 
tmp_include_depends -o scripts -o include/config/MARKER -C /tmp/linux-2.6.27 
EXTRA_CFLAGS=-Werror-implicit-function-declaration -g 
-I/tmp/lustre/lnet/include -I/tmp/lustre/lnet/include 
-I/tmp/lustre/lustre/include  M=/tmp/lustre/build
In file included from /tmp/linux-2.6.27/include/linux/types.h:11,
                 from /tmp/linux-2.6.27/include/linux/prefetch.h:13,
                 from /tmp/linux-2.6.27/include/linux/list.h:6,
                 from /tmp/linux-2.6.27/include/linux/module.h:9,
                 from /tmp/lustre/build/conftest.mod.c:1:
/tmp/linux-2.6.27/include/linux/posix_types.h:47:29: error: asm/posix_types.h: 
No such file or directory
In file included from /tmp/linux-2.6.27/include/linux/prefetch.h:13,
                 from /tmp/linux-2.6.27/include/linux/list.h:6,
                 from /tmp/linux-2.6.27/include/linux/module.h:9,
                 from /tmp/lustre/build/conftest.mod.c:1:
/tmp/linux-2.6.27/include/linux/types.h:12:23: error: asm/types.h: No such file 
or directory
In file included from /tmp/linux-2.6.27/include/linux/prefetch.h:13,
                 from /tmp/linux-2.6.27/include/linux/list.h:6,
                 from /tmp/linux-2.6.27/include/linux/module.h:9,
                 from /tmp/lustre/build/conftest.mod.c:1:

Is /tmp/linux-2.6.27 the exact source pool you built your kernel from?
It would seem that the asm->asm-<arch> symlink is not in place.  Can you
paste the output of:

$ ls -l /tmp/linux-2.6.27/include/

here?

b.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to