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



_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to