qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 680350] [NEW] fail to compile qemu-kvm-0.13.0


From: liheyuan
Subject: [Qemu-devel] [Bug 680350] [NEW] fail to compile qemu-kvm-0.13.0
Date: Tue, 23 Nov 2010 02:48:06 -0000

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]