* Trouble compiling kvm.git
@ 2008-04-07 15:07 Balaji Rao
2008-04-07 15:20 ` James Bottomley
0 siblings, 1 reply; 3+ messages in thread
From: Balaji Rao @ 2008-04-07 15:07 UTC (permalink / raw)
To: Ke Wei; +Cc: linux-kernel, James Bottomley
Hi,
I had trouble compiling kvm.git.
LD drivers/scsi/built-in.o
drivers/scsi/mvsas.o: In function `sas_ata_init_host_and_port':
/kernels/git/kvm/include/scsi/sas_ata.h:50: multiple definition of `sas_ata_init_host_and_port'
drivers/scsi/libsas/built-in.o:/kernels/git/kvm/include/scsi/sas_ata.h:50: first defined here
drivers/scsi/mvsas.o: In function `sas_ata_task_abort':
/kernels/git/kvm/include/scsi/sas_ata.h:54: multiple definition of `sas_ata_task_abort'
drivers/scsi/libsas/built-in.o:/kernels/git/kvm/include/scsi/sas_ata.h:54: first defined here
make[2]: *** [drivers/scsi/built-in.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
git-bisect pointed me to the following commit.
commit 0eb9ddd82a5cb08f3622345e723d236eefa0039f
Author: Ke Wei <kewei@marvell.com>
Date: Thu Mar 27 14:53:24 2008 +0800
[SCSI] mvsas: fill in error info record and phy mode6 bits.
and remove some unused members from struct.
Signed-off-by: Ke Wei <kewei@marvell.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
--
regards,
Balaji Rao
Dept. of Mechanical Engineering,
National Institute of Technology Karnataka, India
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Trouble compiling kvm.git
2008-04-07 15:07 Trouble compiling kvm.git Balaji Rao
@ 2008-04-07 15:20 ` James Bottomley
2008-04-07 15:37 ` Balaji Rao
0 siblings, 1 reply; 3+ messages in thread
From: James Bottomley @ 2008-04-07 15:20 UTC (permalink / raw)
To: Balaji Rao; +Cc: Ke Wei, linux-kernel
On Mon, 2008-04-07 at 20:37 +0530, Balaji Rao wrote:
> Hi,
>
> I had trouble compiling kvm.git.
>
> LD drivers/scsi/built-in.o
> drivers/scsi/mvsas.o: In function `sas_ata_init_host_and_port':
> /kernels/git/kvm/include/scsi/sas_ata.h:50: multiple definition of `sas_ata_init_host_and_port'
> drivers/scsi/libsas/built-in.o:/kernels/git/kvm/include/scsi/sas_ata.h:50: first defined here
> drivers/scsi/mvsas.o: In function `sas_ata_task_abort':
> /kernels/git/kvm/include/scsi/sas_ata.h:54: multiple definition of `sas_ata_task_abort'
> drivers/scsi/libsas/built-in.o:/kernels/git/kvm/include/scsi/sas_ata.h:54: first defined here
> make[2]: *** [drivers/scsi/built-in.o] Error 1
> make[1]: *** [drivers/scsi] Error 2
> make: *** [drivers] Error 2
Actually, the problem is a long standing one. The fix is in scsi-misc:
http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=6bd758961524129d2ad0163001681ebc2c7809e4
The work around is to compile SCSI as a module or not include mvsas.
James
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Trouble compiling kvm.git
2008-04-07 15:20 ` James Bottomley
@ 2008-04-07 15:37 ` Balaji Rao
0 siblings, 0 replies; 3+ messages in thread
From: Balaji Rao @ 2008-04-07 15:37 UTC (permalink / raw)
To: James Bottomley; +Cc: Ke Wei, linux-kernel
On Monday 07 April 2008 08:50:36 pm James Bottomley wrote:
> On Mon, 2008-04-07 at 20:37 +0530, Balaji Rao wrote:
> > Hi,
> >
> > I had trouble compiling kvm.git.
> >
> > LD drivers/scsi/built-in.o
> > drivers/scsi/mvsas.o: In function `sas_ata_init_host_and_port':
> > /kernels/git/kvm/include/scsi/sas_ata.h:50: multiple definition of `sas_ata_init_host_and_port'
> > drivers/scsi/libsas/built-in.o:/kernels/git/kvm/include/scsi/sas_ata.h:50: first defined here
> > drivers/scsi/mvsas.o: In function `sas_ata_task_abort':
> > /kernels/git/kvm/include/scsi/sas_ata.h:54: multiple definition of `sas_ata_task_abort'
> > drivers/scsi/libsas/built-in.o:/kernels/git/kvm/include/scsi/sas_ata.h:54: first defined here
> > make[2]: *** [drivers/scsi/built-in.o] Error 1
> > make[1]: *** [drivers/scsi] Error 2
> > make: *** [drivers] Error 2
>
> Actually, the problem is a long standing one. The fix is in scsi-misc:
>
> http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=6bd758961524129d2ad0163001681ebc2c7809e4
>
> The work around is to compile SCSI as a module or not include mvsas.
>
OK, thanks. But surprisingly i discovered it only today, after I updated my kvm.git tree. :)
--
thanks and regards,
Balaji Rao
Dept. of Mechanical Engineering,
National Institute of Technology Karnataka, India
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-07 15:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-07 15:07 Trouble compiling kvm.git Balaji Rao
2008-04-07 15:20 ` James Bottomley
2008-04-07 15:37 ` Balaji Rao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).