Skip to contentSkip to conversation

Problems with make rpms

Lustre-devel Kit Westneat 2 participants 4 messages Dec 6, 2007 – Dec 8, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to compile the b1_6 CVS branch, but I'm running into problems with 'make rpms'. 'make' works fine, but when I do 'make rpms' I get:

make[4]: *** No rule to make target /usr/src/redhat/BUILD/lustre-1.6.4.50/ldiskfs/Module.symvers', needed by Module.symvers'. Stop.

Any thoughts?

Thanks,
Kit

#1 lore raw

Hello Kit,

What kernel you used? is you build new kernel before build lustre? I'm ask about it, because some times ago in kernel series was added new patch for correctly create Module.symvers, if kernel sources not have this patch - this will be produce similar error.

Quoted 18 lines · Kit Westneat

Hello,

I'm trying to compile the b1_6 CVS branch, but I'm running into problems with 'make rpms'. 'make' works fine, but when I do 'make rpms' I get:

make[4]: *** No rule to make target /usr/src/redhat/BUILD/lustre-1.6.4.50/ldiskfs/Module.symvers', needed by Module.symvers'. Stop.

Any thoughts?

Thanks,
Kit

_______________________________________________
Lustre-devel mailing list
Lustre-devel at clusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

#2 lore raw

Hi Alex,

This is using 2.6.9-55.0.9.EL_lustre.1.6.3smp, on a Centos4 machine. I used the kernel-source rpm off of lustre.org, and then did make oldconfig and make, after changing the EXTRAVERSION to say smp instead of custom.

I've attached a capture of make rpms after doing a make clean. Let me know if there is anything else that would be interesting.

Thanks,
Kit

Quoted 30 lines · Alex Lyashkov

Hello Kit,

What kernel you used? is you build new kernel before build lustre? I'm ask about it, because some times ago in kernel series was added new patch for correctly create Module.symvers, if kernel sources not have this patch - this will be produce similar error.

Quoted 19 lines · Kit Westneat

Hello,

I'm trying to compile the b1_6 CVS branch, but I'm running into problems with 'make rpms'. 'make' works fine, but when I do 'make rpms' I get:

make[4]: *** No rule to make target /usr/src/redhat/BUILD/lustre-1.6.4.50/ldiskfs/Module.symvers', needed by Module.symvers'. Stop.

Any thoughts?

Thanks,
Kit

_______________________________________________
Lustre-devel mailing list
Lustre-devel at clusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: attachments.zip
Type: application/octet-stream
Size: 8473 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20071207/f02e987b/attachment.obj>

#3 lore raw
Quoted 9 lines · Kit Westneat

Hi Alex,

This is using 2.6.9-55.0.9.EL_lustre.1.6.3smp, on a Centos4 machine. I used the kernel-source rpm off of lustre.org, and then did make oldconfig and make, after changing the EXTRAVERSION to say smp instead of custom.

I've attached a capture of make rpms after doing a make clean. Let me know if there is anything else that would be interesting.

In this rpm not included patch which added to kernel series after 1.6.3 released and new kernels for 1.6.4 is not released.
If you want build b1_6, you can have two cases:
1) install quilt and apply rhel4 CFS kernel series into stock redhat kernel.
2) or need go into lustre/kernel_patches/patches and apply modpost_external_module_updates_rhel4.patch to you kernel sources by hand.

after it kernel need to rebuild (for second case not need install because changes only on build rules and modpost utility)

Quoted 36 lines

Thanks,
Kit

Quoted 30 lines · Alex Lyashkov

Hello Kit,

What kernel you used? is you build new kernel before build lustre? I'm ask about it, because some times ago in kernel series was added new patch for correctly create Module.symvers, if kernel sources not have this patch - this will be produce similar error.

Quoted 19 lines · Kit Westneat

Hello,

I'm trying to compile the b1_6 CVS branch, but I'm running into problems with 'make rpms'. 'make' works fine, but when I do 'make rpms' I get:

make[4]: *** No rule to make target /usr/src/redhat/BUILD/lustre-1.6.4.50/ldiskfs/Module.symvers', needed by Module.symvers'. Stop.

Any thoughts?

Thanks,
Kit

_______________________________________________
Lustre-devel mailing list
Lustre-devel at clusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-devel