> Message: 9 > Date: Thu, 4 Jan 2007 17:00:32 +0200 > From: Peter Smith <[EMAIL PROTECTED]> > Subject: [kvm-devel] Compile error with openSuse 10.2 > To: kvm-devel@lists.sourceforge.net > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > When compiling KVM I get the following error:- > > In file included from /home/peter/applications-home/kvm-9/qemu/usb-linux.c:29: > /usr/include/linux/usbdevice_fs.h:49: error: variable or field `__user' > declared void > /usr/include/linux/usbdevice_fs.h:49: error: syntax error before '*' token > > My environment is > openSuse 10.2 > gcc 3.4.6 > kernel 2.6.18.2 (32 bit) > > I would be grateful for some pointers, > Peter >
Hi Peter, Include <linux/compiler.h> file before usbdevice_fs.h in, kvm-9/qemu/usb-linux.c And then recompile. Hope this helps :) Regards, Ameya. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel