[Lustre-discuss] Patchless client ppc64 with 2.6.27+ kernel

Brian J. Murrell Brian.Murrell at Sun.COM
Tue Apr 14 09:36:06 PDT 2009


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20090414/740f1da1/attachment.pgp>


More information about the lustre-discuss mailing list