Hi James, Frank,


On Fri, Jun 5, 2015 at 3:25 PM, Simmons, James A. <simmonsja@ornl.gov> wrote:

>Hi all,

> 

>I'm running through and documenting the build process of the latest Lustre now from Git according to the procedure in the Lustre Administrator's Manual and everything was going fine until I get to >30.3.2 Configuring and Building Lustre RPMs.

> 

>I can kick off the configure and it completes, no problem:

> 

>cd ~/lustre-release

>./configure --with-linux=home/build/kernel/rpmbuild/BUILD/kernel-3.10.0_229.4.2.el7.centos_lustre.x86_64/

> 

>If I go and run a straight "make" that will complete without any errors, however, if I try to then run a "make rpms", it fails quite quickly with the following spew:

 

First question is do you want to build server rpms or client rpms?

 

Second question is do you have the “linux-source-tree”/include/generated/* files. The kversion is based on that. If not you need to do a make oldconfig;make prepare in your

Kernel source tree. Especially in the case were you are not using linux kernel obj tree from kernel-devel-*.rpm.