[Lustre-discuss] building against kernel-lustre-source

Wojciech Turek wjt27 at cam.ac.uk
Tue Nov 27 10:29:08 PST 2007


Hi,

Try to follow these steps:

cd /usr/src/<linux-lustre-kernel-source>/
make mrproper
cp /usr/src/<linux-kernel-source-obj>/x86_64/smp/.config .
#Edit Makefile
EXTRAVERSION = -55.0.9.EL_lustre.1.6.3smp
make menuconfig
make include/asm
make include/linux/version.h
make SUBDIRS=scripts

cd ../lustre-source/
make clean
./configure --with-linux=/usr/src/<linux-lustre-kernel-source>

I assume your kernel-source and lustre source are located in /usr/src
Another assumption for steps above is that you are #root when  
performing these steps. However you don't have to be root to perform  
these steps. You can unpack rpms with kernel and lustre source under  
your home directory and then build  lustre there.

I hope this helps

Wojciech Turek

On 27 Nov 2007, at 18:16, Aaron Knister wrote:

> I've downloaded the kernel-lustre-source packge for rhel5-x86_64. I'm
> wanting to build some modules against the pre-patched source and then
> also build lustre from it. When I try to build lustre using the
> command ./configure --with-linux=/usr/src/
> linux-2.6.18-8.1.14.el5_lustre.1.6.3 --with-linux-obj=/usr/src/
> linux-2.6.18-8.1.14.el5_lustre.1.6.3-obj/x86_64/smp/ I get this  
> error--
>
> checking that modules can be built at all... no
> configure: WARNING: Consult config.log for details.
> configure: WARNING: If you are trying to build with a kernel-source
> rpm, consult build/README.kernel-source
>
> I tried the instructions on the lustre wiki to build against the
> kernel source but to no avail.
>
> Any ideas?
>
> Aaron Knister
> Associate Systems Administrator/Web Designer
> Center for Research on Environment and Water
>
> (301) 595-7001
> aaron at iges.org
>
>
>
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at clusterfs.com
> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Mr Wojciech Turek
Assistant System Manager
University of Cambridge
High Performance Computing service
email: wjt27 at cam.ac.uk
tel. +441223763517



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20071127/fe2a2fd1/attachment.htm>


More information about the lustre-discuss mailing list