2006-12-03 21:06:57

by Matthew D. Reuther

[permalink] [raw]
Subject: Compile Error - 2.6.19-rc6-mm2

I tried compiling 2.6.19-rc6-mm2 and got an error:

CC [M] drivers/input/serio/parkbd.o
CC [M] drivers/input/serio/serport.o
CC [M] drivers/input/serio/serio_raw.o
LD drivers/kvm/built-in.o
CC [M] drivers/kvm/vmx.o
CC [M] drivers/kvm/kvm_main.o
drivers/kvm/kvm_main.c:739:32: macro "flush_tlb" passed 1 arguments, but takes
just 0
drivers/kvm/kvm_main.c: In function `kvm_dev_ioctl_get_dirty_log':
drivers/kvm/kvm_main.c:739: warning: statement with no effect
make[2]: *** [drivers/kvm/kvm_main.o] Error 1
make[1]: *** [drivers/kvm] Error 2
make: *** [drivers] Error 2

Config is attached.

My compiler is gcc-3.4.6.

Matt


Attachments:
(No filename) (646.00 B)
config.bz2 (14.77 kB)
Download all attachments

2006-12-04 08:53:30

by Avi Kivity

[permalink] [raw]
Subject: Re: Compile Error - 2.6.19-rc6-mm2

Matt Reuther wrote:
> I tried compiling 2.6.19-rc6-mm2 and got an error:
>
> CC [M] drivers/input/serio/parkbd.o
> CC [M] drivers/input/serio/serport.o
> CC [M] drivers/input/serio/serio_raw.o
> LD drivers/kvm/built-in.o
> CC [M] drivers/kvm/vmx.o
> CC [M] drivers/kvm/kvm_main.o
> drivers/kvm/kvm_main.c:739:32: macro "flush_tlb" passed 1 arguments, but takes
> just 0
> drivers/kvm/kvm_main.c: In function `kvm_dev_ioctl_get_dirty_log':
> drivers/kvm/kvm_main.c:739: warning: statement with no effect
> make[2]: *** [drivers/kvm/kvm_main.o] Error 1
> make[1]: *** [drivers/kvm] Error 2
> make: *** [drivers] Error 2
>

You will need the attached i386 compile fixes, and in the event you want
to run it, the further attached segment reload fix (kvm bug exposed by
pda patches).


--
error compiling committee.c: too many arguments to function


Attachments:
kvm-i386-ingo-fixes.patch (5.22 kB)
kvm-load-i386-segment-bases.patch (859.00 B)
Download all attachments