From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonas Pfoh Subject: compiling with kvm-kmod Date: Thu, 23 Jan 2014 17:34:29 +0100 Message-ID: <52E14495.50501@sec.in.tum.de> 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 mail-out1.informatik.tu-muenchen.de ([131.159.0.8]:62279 "EHLO smtp1.informatik.tu-muenchen.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751938AbaAWQmw (ORCPT ); Thu, 23 Jan 2014 11:42:52 -0500 Received: from files.sec.in.tum.de (files.sec.in.tum.de [131.159.50.1]) by services.sec.in.tum.de (Postfix) with ESMTP id DF70A801616CB for ; Thu, 23 Jan 2014 17:34:30 +0100 (CET) Received: from smtps.sec.in.tum.de (smtps.sec.in.tum.de [131.159.50.6]) by files.sec.in.tum.de (Postfix) with ESMTP id CA0FAC53FB06 for ; Thu, 23 Jan 2014 17:34:29 +0100 (CET) Received: from [131.159.50.48] (nereus.sec.in.tum.de [131.159.50.48]) by smtps.sec.in.tum.de (Postix Mailer @ mail) with ESMTPSA id C023C1CC for ; Thu, 23 Jan 2014 17:34:29 +0100 (CET) Sender: kvm-owner@vger.kernel.org List-ID: Hello, I am currently working on a project involving KVM and have been making = use Jan's kvm-kmod repository. I receive the below error when I attemp= t to compile with the most recent version. My question is simply if th= is is something anyone is aware of or has any suggestions for before I = go poking around? =20 I am compiling against a 3.13.0 mainline vanilla kernel and am using th= e master branch (3d923a3) of Jan's kvm-kmod repo which seems to be sync= ing from kvm commit 7650b68. Thanks and regards, Jonas Pfoh make -C /lib/modules/3.13.0/build M=3D`pwd` \ LINUXINCLUDE=3D"-I`pwd`/include -I`pwd`/include/uapi -I= include \ -Iinclude/uapi -Iarch/x86/include -Iarch/x86/i= nclude/uapi \ -Iinclude/generated/uapi -Iarch/x86/include/gen= erated \ -Iarch/x86/include/generated/uapi \ -I`pwd`/include-compat -I`pwd`/x86 \ -include include/generated/autoconf.h \ -include `pwd`/x86/external-module-compat.h" \ "$@" make[1]: Entering directory `/usr/src/linux-3.13' CC [M] /local/repos/kvm-kmod/x86/svm.o In file included from include/linux/device.h:29:0, from include/linux/node.h:17, from include/linux/cpu.h:16, from /local/repos/kvm-kmod/x86/../external-module-comp= at-comm.h:15, from /local/repos/kvm-kmod/x86/external-module-compat.= h:45, from :0: include/linux/gfp.h: In function =91gfp_zonelist=92: include/linux/gfp.h:272:2: error: implicit declaration of function =91I= S_ENABLED=92 [-Werror=3Dimplicit-function-declaration] if (IS_ENABLED(CONFIG_NUMA) && unlikely(flags & __GFP_THISNODE)) ^ cc1: some warnings being treated as errors make[3]: *** [/local/repos/kvm-kmod/x86/svm.o] Error 1 make[2]: *** [/local/repos/kvm-kmod/x86] Error 2 make[1]: *** [_module_/local/repos/kvm-kmod] Error 2 make[1]: Leaving directory `/usr/src/linux-3.13' make: *** [all] Error 2