From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Balaji Rao <balajirrao@gmail.com>
Cc: Ke Wei <kewei@marvell.com>, linux-kernel@vger.kernel.org
Subject: Re: Trouble compiling kvm.git
Date: Mon, 07 Apr 2008 10:20:36 -0500 [thread overview]
Message-ID: <1207581636.3838.9.camel@localhost.localdomain> (raw)
In-Reply-To: <200804072037.08069.balajirrao@gmail.com>
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
next prev parent reply other threads:[~2008-04-07 15:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-07 15:07 Trouble compiling kvm.git Balaji Rao
2008-04-07 15:20 ` James Bottomley [this message]
2008-04-07 15:37 ` Balaji Rao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1207581636.3838.9.camel@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=balajirrao@gmail.com \
--cc=kewei@marvell.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.