All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <qemu@kernel.dk>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Problem in compiling kqemu-1.3.0pre7: kqemu-linux.c:52: error: expected ?)? before string constant
Date: Tue, 13 Jun 2006 12:24:21 +0200	[thread overview]
Message-ID: <20060613102420.GE4420@suse.de> (raw)
In-Reply-To: <7B95F93512A43D48A80ADB245061927C011E5FB7@NANAMAILBACK3.nanamail.co.il>

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

      reply	other threads:[~2006-06-13 10:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-13 10:14 [Qemu-devel] Problem in compiling kqemu-1.3.0pre7: kqemu-linux.c:52: error: expected ‘)’ before string constant נדב ויניק
2006-06-13 10:24 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060613102420.GE4420@suse.de \
    --to=qemu@kernel.dk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.