All of lore.kernel.org
 help / color / mirror / Atom feed
* Failed to compile kvm-88
       [not found] <fdaac4d50907161957q64309de8sb04e661e20c07084@mail.gmail.com>
@ 2009-07-17  3:34 ` Jun Koi
  2009-07-17  5:45   ` Sheng Yang
  0 siblings, 1 reply; 6+ messages in thread
From: Jun Koi @ 2009-07-17  3:34 UTC (permalink / raw)
  To: kvm

Hi,

I am trying to compile kvm-88, like followings:

./configure --disable-xen
make

Then I get following errors. Why do I have such a problem, if I
already disalbe Xen support, like above? How to fix this problem?

Thanks lot,
J



....
 CC    x86_64-softmmu/disas.o
 CC    x86_64-softmmu/i386-dis.o
 AR    x86_64-softmmu/libqemu.a
 LINK  x86_64-softmmu/qemu-system-x86_64
../libqemu_common.a(xen_backend.o): In function `xen_be_send_notify':
/home/kvm/kvm-88/hw/xen_backend.c:679: undefined reference to `xc_evtchn_notify'
../libqemu_common.a(xen_backend.o): In function `xen_be_unbind_evtchn':
/home/kvm/kvm-88/hw/xen_backend.c:671: undefined reference to `xc_evtchn_fd'
/home/kvm/kvm-88/hw/xen_backend.c:672: undefined reference to `xc_evtchn_unbind'
../libqemu_common.a(xen_backend.o): In function `xen_be_bind_evtchn':
/home/kvm/kvm-88/hw/xen_backend.c:655: undefined reference to
`xc_evtchn_bind_interdomain'
/home/kvm/kvm-88/hw/xen_backend.c:662: undefined reference to `xc_evtchn_fd'
../libqemu_common.a(xen_backend.o): In function `xen_be_evtchn_event':
/home/kvm/kvm-88/hw/xen_backend.c:606: undefined reference to
`xc_evtchn_pending'
/home/kvm/kvm-88/hw/xen_backend.c:612: undefined reference to `xc_evtchn_unmask'

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Failed to compile kvm-88
  2009-07-17  3:34 ` Failed to compile kvm-88 Jun Koi
@ 2009-07-17  5:45   ` Sheng Yang
  2009-07-17  5:55     ` Jun Koi
  0 siblings, 1 reply; 6+ messages in thread
From: Sheng Yang @ 2009-07-17  5:45 UTC (permalink / raw)
  To: kvm; +Cc: Jun Koi, Anthony Liguori

On Friday 17 July 2009 11:34:03 Jun Koi wrote:
> Hi,
>
> I am trying to compile kvm-88, like followings:
>
> ./configure --disable-xen
> make
>
> Then I get following errors. Why do I have such a problem, if I
> already disalbe Xen support, like above? How to fix this problem?

Comment out all XEN related thing in qemu-kvm/Makefile(search "XEN" then 
comment them), then remake.

Anyone can figure out a more peaceful fix for this? I think compile failure 
w/o --disable-xen is still a issue.

-- 
regards
Yang, Sheng

>
> Thanks lot,
> J
>
>
>
> ....
>  CC    x86_64-softmmu/disas.o
>  CC    x86_64-softmmu/i386-dis.o
>  AR    x86_64-softmmu/libqemu.a
>  LINK  x86_64-softmmu/qemu-system-x86_64
> ../libqemu_common.a(xen_backend.o): In function `xen_be_send_notify':
> /home/kvm/kvm-88/hw/xen_backend.c:679: undefined reference to
> `xc_evtchn_notify' ../libqemu_common.a(xen_backend.o): In function
> `xen_be_unbind_evtchn': /home/kvm/kvm-88/hw/xen_backend.c:671: undefined
> reference to `xc_evtchn_fd' /home/kvm/kvm-88/hw/xen_backend.c:672:
> undefined reference to `xc_evtchn_unbind'
> ../libqemu_common.a(xen_backend.o): In function `xen_be_bind_evtchn':
> /home/kvm/kvm-88/hw/xen_backend.c:655: undefined reference to
> `xc_evtchn_bind_interdomain'
> /home/kvm/kvm-88/hw/xen_backend.c:662: undefined reference to
> `xc_evtchn_fd' ../libqemu_common.a(xen_backend.o): In function
> `xen_be_evtchn_event': /home/kvm/kvm-88/hw/xen_backend.c:606: undefined
> reference to
> `xc_evtchn_pending'
> /home/kvm/kvm-88/hw/xen_backend.c:612: undefined reference to
> `xc_evtchn_unmask' --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Failed to compile kvm-88
  2009-07-17  5:45   ` Sheng Yang
@ 2009-07-17  5:55     ` Jun Koi
  2009-07-17  5:59       ` Sheng Yang
  0 siblings, 1 reply; 6+ messages in thread
From: Jun Koi @ 2009-07-17  5:55 UTC (permalink / raw)
  To: Sheng Yang; +Cc: kvm, Anthony Liguori

On Fri, Jul 17, 2009 at 2:45 PM, Sheng Yang<sheng@linux.intel.com> wrote:
> On Friday 17 July 2009 11:34:03 Jun Koi wrote:
>> Hi,
>>
>> I am trying to compile kvm-88, like followings:
>>
>> ./configure --disable-xen
>> make
>>
>> Then I get following errors. Why do I have such a problem, if I
>> already disalbe Xen support, like above? How to fix this problem?
>
> Comment out all XEN related thing in qemu-kvm/Makefile(search "XEN" then
> comment them), then remake.
>
> Anyone can figure out a more peaceful fix for this? I think compile failure
> w/o --disable-xen is still a issue.

hmm, that was actually my fault. i should clean up the mess, before recompiling.

i fixed that with "make clean", then  "./configure --disable-xen",
then "make". it went well.

thanks,
J

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Failed to compile kvm-88
  2009-07-17  5:55     ` Jun Koi
@ 2009-07-17  5:59       ` Sheng Yang
  2009-07-17  6:03         ` Jun Koi
  0 siblings, 1 reply; 6+ messages in thread
From: Sheng Yang @ 2009-07-17  5:59 UTC (permalink / raw)
  To: Jun Koi; +Cc: kvm, Anthony Liguori

On Friday 17 July 2009 13:55:02 Jun Koi wrote:
> On Fri, Jul 17, 2009 at 2:45 PM, Sheng Yang<sheng@linux.intel.com> wrote:
> > On Friday 17 July 2009 11:34:03 Jun Koi wrote:
> >> Hi,
> >>
> >> I am trying to compile kvm-88, like followings:
> >>
> >> ./configure --disable-xen
> >> make
> >>
> >> Then I get following errors. Why do I have such a problem, if I
> >> already disalbe Xen support, like above? How to fix this problem?
> >
> > Comment out all XEN related thing in qemu-kvm/Makefile(search "XEN" then
> > comment them), then remake.
> >
> > Anyone can figure out a more peaceful fix for this? I think compile
> > failure w/o --disable-xen is still a issue.
>
> hmm, that was actually my fault. i should clean up the mess, before
> recompiling.
>
> i fixed that with "make clean", then  "./configure --disable-xen",
> then "make". it went well.
>
Oops, I once think --disable-xen didn't work, then just comment all the thing 
out...

Well, I still a little unhappy about --disable-xen must be explicit set. It 
should be configure script's work to figure if fit the compilation 
requirement...

-- 
regards
Yang, Sheng


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Failed to compile kvm-88
  2009-07-17  5:59       ` Sheng Yang
@ 2009-07-17  6:03         ` Jun Koi
  2009-07-17 12:51           ` Anthony Liguori
  0 siblings, 1 reply; 6+ messages in thread
From: Jun Koi @ 2009-07-17  6:03 UTC (permalink / raw)
  To: Sheng Yang; +Cc: kvm, Anthony Liguori

On Fri, Jul 17, 2009 at 2:59 PM, Sheng Yang<sheng@linux.intel.com> wrote:
> On Friday 17 July 2009 13:55:02 Jun Koi wrote:
>> On Fri, Jul 17, 2009 at 2:45 PM, Sheng Yang<sheng@linux.intel.com> wrote:
>> > On Friday 17 July 2009 11:34:03 Jun Koi wrote:
>> >> Hi,
>> >>
>> >> I am trying to compile kvm-88, like followings:
>> >>
>> >> ./configure --disable-xen
>> >> make
>> >>
>> >> Then I get following errors. Why do I have such a problem, if I
>> >> already disalbe Xen support, like above? How to fix this problem?
>> >
>> > Comment out all XEN related thing in qemu-kvm/Makefile(search "XEN" then
>> > comment them), then remake.
>> >
>> > Anyone can figure out a more peaceful fix for this? I think compile
>> > failure w/o --disable-xen is still a issue.
>>
>> hmm, that was actually my fault. i should clean up the mess, before
>> recompiling.
>>
>> i fixed that with "make clean", then  "./configure --disable-xen",
>> then "make". it went well.
>>
> Oops, I once think --disable-xen didn't work, then just comment all the thing
> out...
>
> Well, I still a little unhappy about --disable-xen must be explicit set. It
> should be configure script's work to figure if fit the compilation
> requirement...

agreed. that would be much nicer if "./configure" can tell us that
"make" would not work, because Xen support is not available. we should
not wait until "make" to spit out the error message.

thanks,
J

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Failed to compile kvm-88
  2009-07-17  6:03         ` Jun Koi
@ 2009-07-17 12:51           ` Anthony Liguori
  0 siblings, 0 replies; 6+ messages in thread
From: Anthony Liguori @ 2009-07-17 12:51 UTC (permalink / raw)
  To: Jun Koi; +Cc: Sheng Yang, kvm, Marcelo Tosatti

Jun Koi wrote:
> On Fri, Jul 17, 2009 at 2:59 PM, Sheng Yang<sheng@linux.intel.com> wrote:
>   
>> Oops, I once think --disable-xen didn't work, then just comment all the thing
>> out...
>>
>> Well, I still a little unhappy about --disable-xen must be explicit set. It
>> should be configure script's work to figure if fit the compilation
>> requirement...
>>     
>
> agreed. that would be much nicer if "./configure" can tell us that
> "make" would not work, because Xen support is not available. we should
> not wait until "make" to spit out the error message.
>   

It's fixed in upstream QEMU.  With Avi on holiday, it may take a little 
unless Marcelo cherry picks or does a qemu merge.  It's

commit 7ed208c433a2ec9bb2fda3d3bfb17b512ea0a796
Author: Juan Quintela <quintela@redhat.com>
Date:   Thu Jul 16 17:57:00 2009 +0200

    fix XEN Build


> thanks,
> J
>   


-- 
Regards,

Anthony Liguori


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-17 12:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fdaac4d50907161957q64309de8sb04e661e20c07084@mail.gmail.com>
2009-07-17  3:34 ` Failed to compile kvm-88 Jun Koi
2009-07-17  5:45   ` Sheng Yang
2009-07-17  5:55     ` Jun Koi
2009-07-17  5:59       ` Sheng Yang
2009-07-17  6:03         ` Jun Koi
2009-07-17 12:51           ` Anthony Liguori

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.