OpenVZ Forum


Home » General » Support » *SOLVED* can't compile latest RHEL 2.6.18 Kernel from source
*SOLVED* can't compile latest RHEL 2.6.18 Kernel from source [message #36008] Mon, 11 May 2009 20:31 Go to next message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
Hi!

I'm not sure wether this is a bug in the newest patchset (062.3) or in my kernel config.

But when i try to compile the whole kernel i get:
CC [M] drivers/scsi/scsi_dh_export.o
drivers/scsi/scsi_dh_export.c:26: error: redefinition of 'store_scsi_dh_data'
include/scsi/scsi_dh.h:78: error: previous definition of 'store_scsi_dh_data' was here
drivers/scsi/scsi_dh_export.c:34: error: redefinition of 'retrieve_scsi_dh_data'
include/scsi/scsi_dh.h:81: error: previous definition of 'retrieve_scsi_dh_data' was here
make[3]: *** [drivers/scsi/scsi_dh_export.o] Error 1
make[2]: *** [drivers/scsi] Error 2
make[1]: *** [drivers] Error 2

[Updated on: Tue, 12 May 2009 13:32] by Moderator

Report message to a moderator

Re: can't compile latest RHEL 2.6.18 Kernel from source [message #36009 is a reply to message #36008] Mon, 11 May 2009 21:07 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Were you able to build it with the stock config?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: can't compile latest RHEL 2.6.18 Kernel from source [message #36015 is a reply to message #36008] Tue, 12 May 2009 07:30 Go to previous message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
OK found the problem i had to enable SCSI_DH module.
Previous Topic: Warn when maxheld reaches barrier
Next Topic: About URL to download Debian 5.0 and Ubuntu 9.10
Goto Forum:
  


Current Time: Sat Dec 21 14:18:54 GMT 2024

Total time taken to generate the page: 0.04798 seconds