From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Milliron Subject: Spice install problem Date: Mon, 24 May 2010 15:55:43 -0500 Message-ID: <4BFAE7CF.3020806@io.com> Reply-To: brianm@io.com Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from smtp.prismnet.com ([209.198.128.91]:57234 "EHLO smtp.prismnet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754278Ab0EXVOP (ORCPT ); Mon, 24 May 2010 17:14:15 -0400 Received: from [192.168.0.103] (cpe-72-177-66-29.austin.res.rr.com [72.177.66.29]) (authenticated bits=0) by smtp.prismnet.com (8.14.3/8.14.3) with ESMTP id o4OKpaF5003809 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 24 May 2010 15:51:36 -0500 (CDT) (envelope-from antechrist@io.com) Sender: kvm-owner@vger.kernel.org List-ID: I originally sent this question to the spice-devel list but they told m= e I was better off to send it here... So here goes. I'm running into some problems installing Spice .4 on my CentOS 5.5. I was following the instructions here: http://www.spice-space.org/docs/spice_user_manual.pdf I've compiled and installed all the dependencies and have the spice client installed also, but ran into problems with the vdesktop. Specifically this portion of the instructions for my older kernel: > In case of an older kernel (version < 2.6.30) > Get kernel sources using the following git repository: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.30.y.g= it > cd /vdesktop/kernel=20 > ./configure=20 > ln -s linux-2.6 =20 > make sync=20 > make=20 I got the kernel source here: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.tar.bz2 At which point I ran into a problem because I didn't have the source fo= r the installed kernel 2.6.18-194.el5. I installed the devel-kernel from here: http://mirror.web-ster.com/centos/5.5/os/x86_64/CentOS/kernel-devel-2.6= =2E18-194.el5.x86_64.rpm. Now when I run "make" it gives a number of errors: [root@localhost kernel]# make make -C /lib/modules/2.6.18-194.el5/build M=3D`pwd` \ LINUXINCLUDE=3D"-I`pwd`/include -Iinclude \ -Iarch/x86/include -I`pwd`/include-compat -I`pwd`/x86 = \ -include include/linux/autoconf.h \ -include `pwd`/x86/external-module-compat.h" \ "$@" make[1]: Entering directory `/usr/src/kernels/2.6.18-194.el5-x86_64' LD /usr/local/src/spice_root/vdesktop/kernel/x86/built-in.o CC [M] /usr/local/src/spice_root/vdesktop/kernel/x86/svm.o In file included from :1: /usr/local/src/spice_root/vdesktop/kernel/x86/external-module-compat.h:= 12: error: redefinition of typedef =E2=80=98phys_addr_t=E2=80=99 include/asm/types.h:50: error: previous declaration of =E2=80=98phys_ad= dr_t=E2=80=99 was here In file included from /usr/local/src/spice_root/vdesktop/kernel/x86/external-module-compat.h:= 16, from :1: /usr/local/src/spice_root/vdesktop/kernel/x86/../external-module-compat= -comm.h:602: error: static declaration of =E2=80=98get_user_pages_fast=E2=80=99 foll= ows non-static declaration include/linux/mm.h:856: error: previous declaration of =E2=80=98get_user_pages_fast=E2=80=99 was here In file included from /usr/local/src/spice_root/vdesktop/kernel/x86/external-module-compat.h:= 16, from :1: /usr/local/src/spice_root/vdesktop/kernel/x86/../external-module-compat= -comm.h:710: error: conflicting types for =E2=80=98smp_call_function_many=E2=80=99 include/asm/smp.h:54: error: previous declaration of =E2=80=98smp_call_function_many=E2=80=99 was here In file included from /usr/local/src/spice_root/vdesktop/kernel/x86/external-module-compat.h:= 16, from :1: /usr/local/src/spice_root/vdesktop/kernel/x86/../external-module-compat= -comm.h:1009: error: redefinition of =E2=80=98hlist_del_init_rcu=E2=80=99 include/linux/list.h:805: error: previous definition of =E2=80=98hlist_del_init_rcu=E2=80=99 was here make[3]: *** [/usr/local/src/spice_root/vdesktop/kernel/x86/svm.o] Erro= r 1 make[2]: *** [/usr/local/src/spice_root/vdesktop/kernel/x86] Error 2 make[1]: *** [_module_/usr/local/src/spice_root/vdesktop/kernel] Error = 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-194.el5-x86_64' make: *** [all] Error 2 Am I using the wrong kernel source? If so, which source do I need to use? Or is this some scripting problem? Thanks Brian