From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fq6CT-00018s-9r for qemu-devel@nongnu.org; Tue, 13 Jun 2006 06:32:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fq6Br-0000cG-BP for qemu-devel@nongnu.org; Tue, 13 Jun 2006 06:32:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fq6Bq-0000R6-TF for qemu-devel@nongnu.org; Tue, 13 Jun 2006 06:32:06 -0400 Received: from [195.184.98.160] (helo=virtualhost.dk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1Fq6Cm-0003SL-Kw for qemu-devel@nongnu.org; Tue, 13 Jun 2006 06:33:04 -0400 Received: from [62.242.22.158] (helo=router.home.kernel.dk) by virtualhost.dk with esmtp (Exim 3.36 #1) id 1Fq63q-00080T-00 for qemu-devel@nongnu.org; Tue, 13 Jun 2006 12:23:50 +0200 Received: from nelson.home.kernel.dk ([192.168.0.33] helo=kernel.dk) by router.home.kernel.dk with esmtp (Exim 4.51) id 1Fq63o-0000oH-7u for qemu-devel@nongnu.org; Tue, 13 Jun 2006 12:23:48 +0200 Date: Tue, 13 Jun 2006 12:24:21 +0200 From: Jens Axboe Subject: Re: [Qemu-devel] Problem in compiling kqemu-1.3.0pre7: kqemu-linux.c:52: error: expected ?)? before string constant Message-ID: <20060613102420.GE4420@suse.de> References: <7B95F93512A43D48A80ADB245061927C011E5FB7@NANAMAILBACK3.nanamail.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7B95F93512A43D48A80ADB245061927C011E5FB7@NANAMAILBACK3.nanamail.co.il> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Tue, Jun 13 2006, ??? ????? wrote: > Hello > > I have problem to compile kqemu-1.3.0pre7: > > "kqemu-linux.c:52: error: expected ?)? before string constant" This fixes it, I hope Fabrice will add it soon. --- kqemu-1.3.0pre7/kqemu-linux.c~ 2006-05-07 16:28:05.000000000 +0200 +++ kqemu-1.3.0pre7/kqemu-linux.c 2006-06-13 12:22:21.742632272 +0200 @@ -49,7 +49,11 @@ /* if 0 is used, then devfs/udev is used to automatically create the device */ int major = 250; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) +module_param(major, int, 0); +#else MODULE_PARM(major,"i"); +#endif /* Lock the page at virtual address 'user_addr' and return its physical address (page index). Return a host OS private user page -- Jens Axboe