All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 680350] [NEW] fail to compile qemu-kvm-0.13.0
@ 2010-11-23  2:48 liheyuan
  2010-11-29 10:11 ` [Qemu-devel] [Bug 680350] " Jes Sorensen
  2012-07-10 15:55 ` Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: liheyuan @ 2010-11-23  2:48 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Problem
During compile with qemu-kvm-0.13.0, can't successfully make through with error:
#make && make install
kvm-all.o: In function `kvm_run':
/home/liheyuan/code/qemu-kvm-0.13.0/qemu-kvm.c:675: undefined reference to `kvm_handle_internal_error'
collect2: ld returned 1 exit status

Cause
The developer using an new ‘macro definition’:KVM_CAP_INTERNAL_ERROR_DATA, but fail to add it to every places it needed.

Solution
modify qemu-kvm.c, line:674,add the ‘macro definition’ before and after the ‘case:’, as follows

#line674~~677  should be replace like this:
#ifdef KVM_CAP_INTERNAL_ERROR_DATA
        case KVM_EXIT_INTERNAL_ERROR:
            kvm_handle_internal_error(env, run);
            r = 1;
            break;
#endif

For more details at, http://www.coder4.com/archives/1174

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: 0.13.0 qmeu-kvm

-- 
fail to compile qemu-kvm-0.13.0
https://bugs.launchpad.net/bugs/680350
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
Problem
During compile with qemu-kvm-0.13.0, can't successfully make through with error:
#make && make install
kvm-all.o: In function `kvm_run':
/home/liheyuan/code/qemu-kvm-0.13.0/qemu-kvm.c:675: undefined reference to `kvm_handle_internal_error'
collect2: ld returned 1 exit status

Cause
The developer using an new ‘macro definition’:KVM_CAP_INTERNAL_ERROR_DATA, but fail to add it to every places it needed.

Solution
modify qemu-kvm.c, line:674,add the ‘macro definition’ before and after the ‘case:’, as follows

#line674~~677  should be replace like this:
#ifdef KVM_CAP_INTERNAL_ERROR_DATA
        case KVM_EXIT_INTERNAL_ERROR:
            kvm_handle_internal_error(env, run);
            r = 1;
            break;
#endif

For more details at, http://www.coder4.com/archives/1174

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

* [Qemu-devel] [Bug 680350] Re: fail to compile qemu-kvm-0.13.0
  2010-11-23  2:48 [Qemu-devel] [Bug 680350] [NEW] fail to compile qemu-kvm-0.13.0 liheyuan
@ 2010-11-29 10:11 ` Jes Sorensen
  2012-07-10 15:55 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Jes Sorensen @ 2010-11-29 10:11 UTC (permalink / raw)
  To: qemu-devel

Your report is incomplete.

Please provide your configure line, and also what system your are
compiling on.

In addition, please try building top of tree qemu with this configure
line.

Thanks,
Jes


** Changed in: qemu
       Status: New => Incomplete

-- 
fail to compile qemu-kvm-0.13.0
https://bugs.launchpad.net/bugs/680350
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: Incomplete

Bug description:
Problem
During compile with qemu-kvm-0.13.0, can't successfully make through with error:
#make && make install
kvm-all.o: In function `kvm_run':
/home/liheyuan/code/qemu-kvm-0.13.0/qemu-kvm.c:675: undefined reference to `kvm_handle_internal_error'
collect2: ld returned 1 exit status

Cause
The developer using an new ‘macro definition’:KVM_CAP_INTERNAL_ERROR_DATA, but fail to add it to every places it needed.

Solution
modify qemu-kvm.c, line:674,add the ‘macro definition’ before and after the ‘case:’, as follows

#line674~~677  should be replace like this:
#ifdef KVM_CAP_INTERNAL_ERROR_DATA
        case KVM_EXIT_INTERNAL_ERROR:
            kvm_handle_internal_error(env, run);
            r = 1;
            break;
#endif

For more details at, http://www.coder4.com/archives/1174

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

* [Qemu-devel] [Bug 680350] Re: fail to compile qemu-kvm-0.13.0
  2010-11-23  2:48 [Qemu-devel] [Bug 680350] [NEW] fail to compile qemu-kvm-0.13.0 liheyuan
  2010-11-29 10:11 ` [Qemu-devel] [Bug 680350] " Jes Sorensen
@ 2012-07-10 15:55 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2012-07-10 15:55 UTC (permalink / raw)
  To: qemu-devel

This is a compilation error for a really old version of qemu-kvm; it has
never been a bug in QEMU master (see commit 7c80eef). So I'm closing it
as invalid.


** Changed in: qemu
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/680350

Title:
  fail to compile qemu-kvm-0.13.0

Status in QEMU:
  Invalid

Bug description:
  Problem
  During compile with qemu-kvm-0.13.0, can't successfully make through with error:
  #make && make install
  kvm-all.o: In function `kvm_run':
  /home/liheyuan/code/qemu-kvm-0.13.0/qemu-kvm.c:675: undefined reference to `kvm_handle_internal_error'
  collect2: ld returned 1 exit status

  Cause
  The developer using an new ‘macro definition’:KVM_CAP_INTERNAL_ERROR_DATA, but fail to add it to every places it needed.

  Solution
  modify qemu-kvm.c, line:674,add the ‘macro definition’ before and after the ‘case:’, as follows

  #line674~~677  should be replace like this:
  #ifdef KVM_CAP_INTERNAL_ERROR_DATA
          case KVM_EXIT_INTERNAL_ERROR:
              kvm_handle_internal_error(env, run);
              r = 1;
              break;
  #endif

  For more details at, http://www.coder4.com/archives/1174

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/680350/+subscriptions

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

end of thread, other threads:[~2012-07-10 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-23  2:48 [Qemu-devel] [Bug 680350] [NEW] fail to compile qemu-kvm-0.13.0 liheyuan
2010-11-29 10:11 ` [Qemu-devel] [Bug 680350] " Jes Sorensen
2012-07-10 15:55 ` Peter Maydell

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.