qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Problem in compiling kqemu-1.3.0pre7: kqemu-linux.c:52: error: expected ‘)’ before string constant
@ 2006-06-13 10:14 נדב ויניק
  2006-06-13 10:24 ` [Qemu-devel] Problem in compiling kqemu-1.3.0pre7: kqemu-linux.c:52: error: expected ?)? " Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: נדב ויניק @ 2006-06-13 10:14 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

Hello

I have problem to compile kqemu-1.3.0pre7:

"kqemu-linux.c:52: error: expected ‘)’ before string constant"

Thanks for your help
Nadav


[-- Attachment #2: Type: text/html, Size: 640 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Problem in compiling kqemu-1.3.0pre7: kqemu-linux.c:52: error: expected ?)? before string constant
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2006-06-13 10:24 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-13 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Qemu-devel] Problem in compiling kqemu-1.3.0pre7: kqemu-linux.c:52: error: expected ?)? " Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).