From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Kaufmann Subject: Re: kvm-16 fails to compile on Kubuntu Edgy Date: Sun, 18 Mar 2007 19:29:27 +0100 Message-ID: <45FD8507.40704@spamfence.net> References: <45FC8616.20108@spamfence.net> <45FD2B19.5040100@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Avi Kivity Return-path: In-Reply-To: <45FD2B19.5040100-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Avi Kivity wrote: > Martin Kaufmann wrote: >> Hi! >> >> I tried to compile kvm-16 on Kubuntu Edgy - so far unsuccessfully. The >> configure succeeds but the make process fails with the following output: >> >> >> martin@Solo:~/Download/kvm-16$ make >> make -C kernel >> make[1]: Entering directory `/home/martin/Download/kvm-16/kernel' >> make -C /lib/modules/2.6.17-11-generic/build M=3D`pwd` "$@" >> make[2]: Entering directory `/usr/src/linux-headers-2.6.17-11-generic' >> CC [M] /home/martin/Download/kvm-16/kernel/kvm_main.o >> /home/martin/Download/kvm-16/kernel/kvm_main.c: In function >> =91kvmfs_get_sb=92: >> /home/martin/Download/kvm-16/kernel/kvm_main.c:2438: error: too many >> arguments to function =91get_sb_pseudo=92 >> /home/martin/Download/kvm-16/kernel/kvm_main.c:2438: warning: return >> makes integer from pointer without a cast >> /home/martin/Download/kvm-16/kernel/kvm_main.c: At top level: >> /home/martin/Download/kvm-16/kernel/kvm_main.c:2445: warning: >> initialization from incompatible pointer type >> make[3]: *** [/home/martin/Download/kvm-16/kernel/kvm_main.o] Error 1 >> make[2]: *** [_module_/home/martin/Download/kvm-16/kernel] Error 2 >> make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-11-generic' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/home/martin/Download/kvm-16/kernel' >> make: *** [kernel] Error 2 >> >> Has anyone seen this error before? And does anyone know how to get it >> working? >> >> Thanks for your help! >> = > = > A couple of lines above the first error reported there is a > LINUX_VERSION_CODE check. There is a similar one surrounding > kvmfs_get_sb() in external-module-compat.h. Can you change both from 16 > to 17 and report? I tried that but it didn't work. However, in the meantime I installed a new kernel and got kvm to work (see other post). Thanks for your help. Cheers, Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE= VDEV