* KVM-36 compile error on Fedora 7
@ 2007-08-25 0:34 Mark Bidewell
[not found] ` <bfdeacfa0708241734tde7eef0ia934d6b2a7ae2ddf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Mark Bidewell @ 2007-08-25 0:34 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1.1: Type: text/plain, Size: 673 bytes --]
When building kvm-36 with the latest Fedora kernel I get the error:
kvmctl.c: In function 'kvm_run':
kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR' undeclared (first use in this
function)
kvmctl.c:1046: error: (Each undeclared identifier is reported only once
kvmctl.c:1046: error: for each function it appears in.)
make[1]: *** [kvmctl.o] Error 1
make[1]: Leaving directory `/opt/kvm-36/user'
make: *** [user] Error 2
on lines:
1046 case KVM_EXIT_SET_TPR:
1047 break;
Commenting this lines out allows KVM to compile. kvm-35 compiles on the
latest with no error.
Am I losing anything important by commenting them out?
Mark Bidewell
[-- Attachment #1.2: Type: text/html, Size: 950 bytes --]
[-- Attachment #2: Type: text/plain, Size: 315 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
[-- Attachment #3: Type: text/plain, Size: 186 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply [flat|nested] 11+ messages in thread[parent not found: <bfdeacfa0708241734tde7eef0ia934d6b2a7ae2ddf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: KVM-36 compile error on Fedora 7 [not found] ` <bfdeacfa0708241734tde7eef0ia934d6b2a7ae2ddf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-25 1:13 ` Luca [not found] ` <68676e00708241813w6005c57eu2ee22f2e9dcb5f96-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Luca @ 2007-08-25 1:13 UTC (permalink / raw) To: Mark Bidewell; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On 8/25/07, Mark Bidewell <mark.bidewell-VL1tVIhH15NkrjR+7KxQvze48wsgrGvP@public.gmane.org> wrote: > When building kvm-36 with the latest Fedora kernel I get the error: > > kvmctl.c: In function 'kvm_run': > kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR' undeclared (first use in this > function) > kvmctl.c:1046: error: (Each undeclared identifier is reported only once > kvmctl.c:1046: error: for each function it appears in.) > make[1]: *** [kvmctl.o] Error 1 > make[1]: Leaving directory `/opt/kvm-36/user' > make: *** [user] Error 2 > > on lines: > > 1046 case KVM_EXIT_SET_TPR: > 1047 break; > > Commenting this lines out allows KVM to compile. kvm-35 compiles on the > latest with no error. Hum, the package sould be using its own headers since the local include directory comes before the kernel's one. Can you run "make kernel V=1" (on a clean source) and post the result? > Am I losing anything important by commenting them out? You can workaround by adding: #define KVM_EXIT_SET_TPR 11 Luca ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <68676e00708241813w6005c57eu2ee22f2e9dcb5f96-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: KVM-36 compile error on Fedora 7 [not found] ` <68676e00708241813w6005c57eu2ee22f2e9dcb5f96-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-25 3:07 ` Mark Bidewell [not found] ` <bfdeacfa0708242007m3b0a3c5dp805b687d981cf58e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Mark Bidewell @ 2007-08-25 3:07 UTC (permalink / raw) To: Luca, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1.1: Type: text/plain, Size: 12569 bytes --] Thanks for your help, The output is as follows: make -C kernel make[1]: Entering directory `/opt/kvm-36/kernel' make -C /lib/modules/2.6.22.4-65.fc7/build M=`pwd` "$@" make[2]: Entering directory `/usr/src/kernels/2.6.22.4-65.fc7-x86_64' test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) mkdir -p /opt/kvm-36/kernel/.tmp_versions rm -f /opt/kvm-36/kernel/.tmp_versions/* make -f scripts/Makefile.build obj=/opt/kvm-36/kernel rm -f /opt/kvm-36/kernel/built-in.o; ar rcs /opt/kvm-36/kernel/built-in.o gcc -Wp,-MD,/opt/kvm-36/kernel/.svm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/opt/kvm-36/kernel/include -include /opt/kvm-36/kernel/external- module-compat.h -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(svm)" -D"KBUILD_MODNAME=KBUILD_STR(kvm_amd)" -c -o /opt/kvm-36/kernel/.tmp_svm.o /opt/kvm-36/kernel/svm.c gcc -Wp,-MD,/opt/kvm-36/kernel/.vmx.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/opt/kvm-36/kernel/include -include /opt/kvm-36/kernel/external- module-compat.h -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vmx)" -D"KBUILD_MODNAME=KBUILD_STR(kvm_intel)" -c -o /opt/kvm-36/kernel/.tmp_vmx.o /opt/kvm-36/kernel/vmx.c gcc -Wp,-MD,/opt/kvm-36/kernel/.vmx-debug.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/opt/kvm-36/kernel/include -include /opt/kvm-36/kernel/external- module-compat.h -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vmx_debug)" -D"KBUILD_MODNAME=KBUILD_STR(kvm_intel)" -c -o /opt/kvm-36/kernel/.tmp_vmx- debug.o /opt/kvm-36/kernel/vmx-debug.c gcc -Wp,-MD,/opt/kvm-36/kernel/.kvm_main.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/opt/kvm-36/kernel/include -include /opt/kvm-36/kernel/external- module-compat.h -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(kvm_main)" -D"KBUILD_MODNAME=KBUILD_STR(kvm)" -c -o /opt/kvm-36/kernel/.tmp_kvm_main.o /opt/kvm-36/kernel/kvm_main.c gcc -Wp,-MD,/opt/kvm-36/kernel/.mmu.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/opt/kvm-36/kernel/include -include /opt/kvm-36/kernel/external- module-compat.h -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(mmu)" -D"KBUILD_MODNAME=KBUILD_STR(kvm)" -c -o /opt/kvm-36/kernel/.tmp_mmu.o /opt/kvm-36/kernel/mmu.c gcc -Wp,-MD,/opt/kvm-36/kernel/.x86_emulate.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/opt/kvm-36/kernel/include -include /opt/kvm-36/kernel/external- module-compat.h -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(x86_emulate)" -D"KBUILD_MODNAME=KBUILD_STR(kvm)" -c -o /opt/kvm-36/kernel/.tmp_x86_emulate.o /opt/kvm-36/kernel/x86_emulate.c gcc -Wp,-MD,/opt/kvm-36/kernel/.anon_inodes.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/opt/kvm-36/kernel/include -include /opt/kvm-36/kernel/external- module-compat.h -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(anon_inodes)" -D"KBUILD_MODNAME=KBUILD_STR(kvm)" -c -o /opt/kvm-36/kernel/.tmp_anon_inodes.o /opt/kvm-36/kernel/anon_inodes.c gcc -Wp,-MD,/opt/kvm-36/kernel/.preempt.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/opt/kvm-36/kernel/include -include /opt/kvm-36/kernel/external- module-compat.h -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(preempt)" -D"KBUILD_MODNAME=KBUILD_STR(kvm)" -c -o /opt/kvm-36/kernel/.tmp_preempt.o /opt/kvm-36/kernel/preempt.c ld -m elf_x86_64 -r -o /opt/kvm-36/kernel/kvm.o /opt/kvm-36/kernel/kvm_main.o /opt/kvm-36/kernel/mmu.o /opt/kvm-36/kernel/x86_emulate.o /opt/kvm-36/kernel/anon_inodes.o /opt/kvm-36/kernel/preempt.o ld -m elf_x86_64 -r -o /opt/kvm-36/kernel/kvm-intel.o/opt/kvm-36/kernel/vmx.o /opt/kvm-36/kernel/vmx- debug.o ld -m elf_x86_64 -r -o /opt/kvm-36/kernel/kvm-amd.o/opt/kvm-36/kernel/svm.o Building modules, stage 2. make -f /usr/src/kernels/2.6.22.4-65.fc7-x86_64/scripts/Makefile.modpost scripts/mod/modpost -m -a -i /usr/src/kernels/2.6.22.4- 65.fc7-x86_64/Module.symvers -I /opt/kvm-36/kernel/Module.symvers -o /opt/kvm-36/kernel/Module.symvers -w gcc -Wp,-MD,/opt/kvm-36/kernel/.kvm-amd.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(kvm_amd.mod)" -D"KBUILD_MODNAME=KBUILD_STR(kvm_amd)" -DMODULE -c -o /opt/kvm-36/kernel/kvm-amd.mod.o /opt/kvm-36/kernel/kvm-amd.mod.c ld -m elf_x86_64 -r -o /opt/kvm-36/kernel/kvm-amd.ko/opt/kvm-36/kernel/kvm- amd.o /opt/kvm-36/kernel/kvm-amd.mod.o gcc -Wp,-MD,/opt/kvm-36/kernel/.kvm-intel.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(kvm_intel.mod)" -D"KBUILD_MODNAME=KBUILD_STR(kvm_intel)" -DMODULE -c -o /opt/kvm-36/kernel/kvm-intel.mod.o /opt/kvm-36/kernel/kvm-intel.mod.c ld -m elf_x86_64 -r -o /opt/kvm-36/kernel/kvm-intel.ko/opt/kvm-36/kernel/kvm- intel.o /opt/kvm-36/kernel/kvm-intel.mod.o gcc -Wp,-MD,/opt/kvm-36/kernel/.kvm.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fstack-protector -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(kvm.mod)" -D"KBUILD_MODNAME=KBUILD_STR(kvm)" -DMODULE -c -o /opt/kvm-36/kernel/kvm.mod.o /opt/kvm-36/kernel/kvm.mod.c ld -m elf_x86_64 -r -o /opt/kvm-36/kernel/kvm.ko /opt/kvm-36/kernel/kvm.o /opt/kvm-36/kernel/kvm.mod.o make[2]: Leaving directory `/usr/src/kernels/2.6.22.4-65.fc7-x86_64' make[1]: Leaving directory `/opt/kvm-36/kernel' On 8/24/07, Luca <kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > On 8/25/07, Mark Bidewell <mark.bidewell-VL1tVIhH15NkrjR+7KxQvze48wsgrGvP@public.gmane.org> wrote: > > When building kvm-36 with the latest Fedora kernel I get the error: > > > > kvmctl.c: In function 'kvm_run': > > kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR' undeclared (first use in this > > function) > > kvmctl.c:1046: error: (Each undeclared identifier is reported only once > > kvmctl.c:1046: error: for each function it appears in.) > > make[1]: *** [kvmctl.o] Error 1 > > make[1]: Leaving directory `/opt/kvm-36/user' > > make: *** [user] Error 2 > > > > on lines: > > > > 1046 case KVM_EXIT_SET_TPR: > > 1047 break; > > > > Commenting this lines out allows KVM to compile. kvm-35 compiles on the > > latest with no error. > > Hum, the package sould be using its own headers since the local > include directory comes before the kernel's one. > Can you run "make kernel V=1" (on a clean source) and post the result? > > > Am I losing anything important by commenting them out? > > You can workaround by adding: > #define KVM_EXIT_SET_TPR 11 > > Luca > [-- Attachment #1.2: Type: text/html, Size: 15416 bytes --] [-- Attachment #2: Type: text/plain, Size: 315 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <bfdeacfa0708242007m3b0a3c5dp805b687d981cf58e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: KVM-36 compile error on Fedora 7 [not found] ` <bfdeacfa0708242007m3b0a3c5dp805b687d981cf58e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-25 17:21 ` Luca Tettamanti [not found] ` <20070825172144.GA13727-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Luca Tettamanti @ 2007-08-25 17:21 UTC (permalink / raw) To: Mark Bidewell; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Mark Bidewell ha scritto: > On 8/24/07, Luca <kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > On 8/25/07, Mark Bidewell <mark.bidewell-VL1tVIhH15NkrjR+7KxQvze48wsgrGvP@public.gmane.org> wrote: > > > When building kvm-36 with the latest Fedora kernel I get the error: > > > > > > kvmctl.c: In function 'kvm_run': > > > kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR' undeclared (first use in this > > > function) > > > kvmctl.c:1046: error: (Each undeclared identifier is reported only once > > > kvmctl.c:1046: error: for each function it appears in.) > > > make[1]: *** [kvmctl.o] Error 1 > > > make[1]: Leaving directory `/opt/kvm-36/user' > > > make: *** [user] Error 2 [...] > make -C kernel > make[1]: Entering directory `/opt/kvm-36/kernel' > make -C /lib/modules/2.6.22.4-65.fc7/build M=`pwd` "$@" > make[2]: Entering directory `/usr/src/kernels/2.6.22.4-65.fc7-x86_64' Ops sorry, I misread the original message. The problematic part is the userspace component. I can't see how it manages to include the wrong kvm.h though. Are you using the tar.gz package or the git tree? Please also post the output of: make -C user kvmctl.o Oh, and try also: grep -r KVM_EXIT_SET_TPR * just in case :) Luca -- Tentare e` il primo passo verso il fallimento. Homer J. Simpson ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <20070825172144.GA13727-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>]
* Re: KVM-36 compile error on Fedora 7 [not found] ` <20070825172144.GA13727-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org> @ 2007-08-25 18:20 ` Mark Bidewell [not found] ` <bfdeacfa0708251120xce0c0fdh3de7d5338ccaad8c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Mark Bidewell @ 2007-08-25 18:20 UTC (permalink / raw) To: Luca Tettamanti, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1.1: Type: text/plain, Size: 2534 bytes --] I am using the tarball from sourceforge. Here is the output to 'make -C user kvmctl.o' [root@core2duo kvm-36]# make -C user kvmctl.o make: Entering directory `/opt/kvm-36/user' cc -I /usr/src/kernels/2.6.22.4-65.fc7-x86_64/include -MMD -MF ./.kvmctl.d -g -fomit-frame-pointer -Wall -m64 -fno-stack-protector -c -o kvmctl.o kvmctl.c kvmctl.c: In function 'kvm_run': kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR' undeclared (first use in this function) kvmctl.c:1046: error: (Each undeclared identifier is reported only once kvmctl.c:1046: error: for each function it appears in.) make: *** [kvmctl.o] Error 1 make: Leaving directory `/opt/kvm-36/user' Output to: 'grep -r KVM_EXIT_SET_TPR *' [root@core2duo kvm-36]# grep -r KVM_EXIT_SET_TPR * kernel/vmx.c: kvm_run->exit_reason = KVM_EXIT_SET_TPR; kernel/include/linux/kvm.h: KVM_EXIT_SET_TPR = 11 patches/kvm-36.patch:+ kvm_run->exit_reason = KVM_EXIT_SET_TPR; patches/kvm-36.patch:+ KVM_EXIT_SET_TPR = 11 user/kvmctl.c: case KVM_EXIT_SET_TPR: Mark Bidewell On 8/25/07, Luca Tettamanti <kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Mark Bidewell ha scritto: > > On 8/24/07, Luca <kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > On 8/25/07, Mark Bidewell <mark.bidewell-VL1tVIhH15NkrjR+7KxQvze48wsgrGvP@public.gmane.org> wrote: > > > > When building kvm-36 with the latest Fedora kernel I get the error: > > > > > > > > kvmctl.c: In function 'kvm_run': > > > > kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR' undeclared (first use in > this > > > > function) > > > > kvmctl.c:1046: error: (Each undeclared identifier is reported only > once > > > > kvmctl.c:1046: error: for each function it appears in.) > > > > make[1]: *** [kvmctl.o] Error 1 > > > > make[1]: Leaving directory `/opt/kvm-36/user' > > > > make: *** [user] Error 2 > [...] > > make -C kernel > > make[1]: Entering directory `/opt/kvm-36/kernel' > > make -C /lib/modules/2.6.22.4-65.fc7/build M=`pwd` "$@" > > make[2]: Entering directory `/usr/src/kernels/2.6.22.4-65.fc7-x86_64' > > Ops sorry, I misread the original message. The problematic part is the > userspace component. I can't see how it manages to include the wrong > kvm.h though. > Are you using the tar.gz package or the git tree? > > Please also post the output of: > > make -C user kvmctl.o > > Oh, and try also: > > grep -r KVM_EXIT_SET_TPR * > > just in case :) > > Luca > -- > Tentare e` il primo passo verso il fallimento. > Homer J. Simpson > [-- Attachment #1.2: Type: text/html, Size: 3678 bytes --] [-- Attachment #2: Type: text/plain, Size: 315 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <bfdeacfa0708251120xce0c0fdh3de7d5338ccaad8c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: KVM-36 compile error on Fedora 7 [not found] ` <bfdeacfa0708251120xce0c0fdh3de7d5338ccaad8c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-25 19:19 ` Luca [not found] ` <68676e00708251219r110a134bsbdb90261c17716d4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Luca @ 2007-08-25 19:19 UTC (permalink / raw) To: Mark Bidewell; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On 8/25/07, Mark Bidewell <mark.bidewell-VL1tVIhH15NkrjR+7KxQvze48wsgrGvP@public.gmane.org> wrote: > I am using the tarball from sourceforge. Here is the output to 'make -C > user kvmctl.o' > > [root@core2duo kvm-36]# make -C user kvmctl.o > make: Entering directory `/opt/kvm-36/user' > cc -I /usr/src/kernels/2.6.22.4- 65.fc7-x86_64/include -MMD -MF ./.kvmctl.d > -g -fomit-frame-pointer -Wall -m64 -fno-stack-protector -c -o kvmctl.o The include directory is wrong. Have you used --with-patched-kernel? Luca ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <68676e00708251219r110a134bsbdb90261c17716d4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: KVM-36 compile error on Fedora 7 [not found] ` <68676e00708251219r110a134bsbdb90261c17716d4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-25 19:37 ` Mark Bidewell [not found] ` <bfdeacfa0708251237n5ee5334eq710f750981106403-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Mark Bidewell @ 2007-08-25 19:37 UTC (permalink / raw) To: Luca; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1.1: Type: text/plain, Size: 1289 bytes --] Yes I did use --with-patched-kernel. Here is my configure command line: ./configure --with-patched-kernel --prefix=/opt/kvm Mark Bidewell On 8/25/07, Luca <kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > On 8/25/07, Mark Bidewell <mark.bidewell-VL1tVIhH15NkrjR+7KxQvze48wsgrGvP@public.gmane.org> wrote: > > I am using the tarball from sourceforge. Here is the output to 'make -C > > user kvmctl.o' > > > > [root@core2duo kvm-36]# make -C user kvmctl.o > > make: Entering directory `/opt/kvm-36/user' > > cc -I /usr/src/kernels/2.6.22.4- 65.fc7-x86_64/include -MMD -MF > ./.kvmctl.d > > -g -fomit-frame-pointer -Wall -m64 -fno-stack-protector -c -o > kvmctl.o > > The include directory is wrong. Have you used --with-patched-kernel? > > Luca > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel > [-- Attachment #1.2: Type: text/html, Size: 2019 bytes --] [-- Attachment #2: Type: text/plain, Size: 315 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <bfdeacfa0708251237n5ee5334eq710f750981106403-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: KVM-36 compile error on Fedora 7 [not found] ` <bfdeacfa0708251237n5ee5334eq710f750981106403-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-25 19:46 ` Luca [not found] ` <68676e00708251246n7a4a1792j27137b84caa8994-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Luca @ 2007-08-25 19:46 UTC (permalink / raw) To: Mark Bidewell; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On 8/25/07, Mark Bidewell <mark.bidewell-VL1tVIhH15NkrjR+7KxQvze48wsgrGvP@public.gmane.org> wrote: > Yes I did use --with-patched-kernel. Don't. You don't have a patched kernel ;-) > Here is my configure command line: > > ./configure --with-patched-kernel --prefix=/opt/kvm Which means that you are going to use your own kernel modules. Do you *really* want to do that? Luca ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <68676e00708251246n7a4a1792j27137b84caa8994-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: KVM-36 compile error on Fedora 7 [not found] ` <68676e00708251246n7a4a1792j27137b84caa8994-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-25 21:33 ` Mark Bidewell [not found] ` <bfdeacfa0708251433g1e9d48ebqc3d78e0a6ae3a5aa-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Mark Bidewell @ 2007-08-25 21:33 UTC (permalink / raw) To: Luca, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1.1: Type: text/plain, Size: 590 bytes --] Odd I thought fedora built the appropriate modules or does this option have another meaning? Mark Bidewell On 8/25/07, Luca <kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > On 8/25/07, Mark Bidewell <mark.bidewell-VL1tVIhH15NkrjR+7KxQvze48wsgrGvP@public.gmane.org> wrote: > > Yes I did use --with-patched-kernel. > > Don't. You don't have a patched kernel ;-) > > > Here is my configure command line: > > > > ./configure --with-patched-kernel --prefix=/opt/kvm > > Which means that you are going to use your own kernel modules. Do you > *really* want to do that? > > Luca > [-- Attachment #1.2: Type: text/html, Size: 1028 bytes --] [-- Attachment #2: Type: text/plain, Size: 315 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <bfdeacfa0708251433g1e9d48ebqc3d78e0a6ae3a5aa-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: KVM-36 compile error on Fedora 7 [not found] ` <bfdeacfa0708251433g1e9d48ebqc3d78e0a6ae3a5aa-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-26 18:36 ` Frank Phillips [not found] ` <78171f0a0708261136r14b12a13g7381bdc54e830f3b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Frank Phillips @ 2007-08-26 18:36 UTC (permalink / raw) To: Mark Bidewell; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hi Mark, > On 8/25/07, Luca < kronos.it-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > On 8/25/07, Mark Bidewell < > mark.bidewell-VL1tVIhH15NkrjR+7KxQvze48wsgrGvP@public.gmane.org> wrote: > > > Yes I did use --with-patched-kernel. > > > > Don't. You don't have a patched kernel ;-) > > > Odd I thought fedora built the appropriate modules or does this option have > another meaning? Historically, --with-patched-kernel was for those running a -mm kernel, which was the only tree that contained the kvm patch. These days it's a bit of a misnomer. It's just a question of whether you want to use the (likely outdated) modules included in the kernel, or build from the source package. I'm sure you're kernel does include kvm modules. I think all Luca meant was that the norm is to build new modules from the source package, as they are most likely newer than those included in a kernel. Nevertheless, it seems that you should be able to build kvm-36 userspace on a recent kernel and use the modules you already have. Frank ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <78171f0a0708261136r14b12a13g7381bdc54e830f3b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: KVM-36 compile error on Fedora 7 [not found] ` <78171f0a0708261136r14b12a13g7381bdc54e830f3b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-08-26 23:25 ` Avi Kivity 0 siblings, 0 replies; 11+ messages in thread From: Avi Kivity @ 2007-08-26 23:25 UTC (permalink / raw) To: Frank Phillips; +Cc: Mark Bidewell, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Frank Phillips wrote: >> >> Odd I thought fedora built the appropriate modules or does this option have >> another meaning? >> > > Historically, --with-patched-kernel was for those running a -mm > kernel, which was the only tree that contained the kvm patch. > > These days it's a bit of a misnomer. It's just a question of whether > you want to use the (likely outdated) modules included in the kernel, > or build from the source package. > Yes. --with-patched-kernel really means "I'm a developer using kvm.git". -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-08-26 23:25 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-25 0:34 KVM-36 compile error on Fedora 7 Mark Bidewell
[not found] ` <bfdeacfa0708241734tde7eef0ia934d6b2a7ae2ddf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-25 1:13 ` Luca
[not found] ` <68676e00708241813w6005c57eu2ee22f2e9dcb5f96-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-25 3:07 ` Mark Bidewell
[not found] ` <bfdeacfa0708242007m3b0a3c5dp805b687d981cf58e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-25 17:21 ` Luca Tettamanti
[not found] ` <20070825172144.GA13727-sTXFmx6KbOnUXq0IF5SVAZ4oGUkBHcCu@public.gmane.org>
2007-08-25 18:20 ` Mark Bidewell
[not found] ` <bfdeacfa0708251120xce0c0fdh3de7d5338ccaad8c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-25 19:19 ` Luca
[not found] ` <68676e00708251219r110a134bsbdb90261c17716d4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-25 19:37 ` Mark Bidewell
[not found] ` <bfdeacfa0708251237n5ee5334eq710f750981106403-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-25 19:46 ` Luca
[not found] ` <68676e00708251246n7a4a1792j27137b84caa8994-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-25 21:33 ` Mark Bidewell
[not found] ` <bfdeacfa0708251433g1e9d48ebqc3d78e0a6ae3a5aa-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-26 18:36 ` Frank Phillips
[not found] ` <78171f0a0708261136r14b12a13g7381bdc54e830f3b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-08-26 23:25 ` Avi Kivity
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox