Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTvoS-00075W-ME for qemu-devel@nongnu.org; Thu, 13 Apr 2006 03:00:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTvoN-00071r-F6 for qemu-devel@nongnu.org; Thu, 13 Apr 2006 03:00:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTvoL-000712-Vn for qemu-devel@nongnu.org; Thu, 13 Apr 2006 03:00:14 -0400 Received: from [83.133.49.41] (helo=dd6424.kasserver.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FTvtc-0008JW-3O for qemu-devel@nongnu.org; Thu, 13 Apr 2006 03:05:40 -0400 Received: from [62.178.124.144] (chello062178124144.3.13.univie.teleweb.at [62.178.124.144]) by dd6424.kasserver.com (Postfix) with ESMTP id B5ECC132A2C for ; Thu, 13 Apr 2006 09:00:05 +0200 (CEST) Message-ID: <443DF6FA.9000300@feuerpokemon.de> From: dragoran MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090704040906070705000708" Subject: [Qemu-devel] kqemu version 1.3.0pre5 build failure on 2.6.16-1.2080_FC5 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 13 Apr 2006 07:00:21 -0000 To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------090704040906070705000708 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hello I tryed to build kqemu on FC5 using 2.6.16-1.2080_FC5 and it fails because map_mem is undeclared. The attached patch fixes it for me (remove to defines) but its likly to break older kernels. So a better one is needed. Anyway I decided to report it here. Patch is attached. PS: Please CC me as I am not suscribed to the list. --------------090704040906070705000708 Content-Type: text/x-patch; name="kqemu-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kqemu-fix.patch" diff -ru kqemu-1.3.0pre5.org/kqemu-linux.c kqemu-1.3.0pre5/kqemu-linux.c --- kqemu-1.3.0pre5.org/kqemu-linux.c 2006-03-27 22:58:01.000000000 +0200 +++ kqemu-1.3.0pre5/kqemu-linux.c 2006-04-12 09:20:10.000000000 +0200 @@ -22,12 +22,12 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,19) #error "Linux 2.4.19 or above needed" #endif - +/* #ifndef page_to_pfn #define page_to_pfn(page) ((page) - mem_map) #define pfn_to_page(pfn) (mem_map + (pfn)) #endif - +*/ #ifdef PAGE_KERNEL_EXEC #if defined(__i386__) /* problem : i386 kernels usually don't export __PAGE_KERNEL_EXEC */ --------------090704040906070705000708--