* Compile error with openSuse 10.2
@ 2007-01-04 15:00 Peter Smith
0 siblings, 0 replies; 3+ messages in thread
From: Peter Smith @ 2007-01-04 15:00 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compile error with openSuse 10.2
@ 2007-01-04 17:20 ( अमेय पाळंदे ) Ameya Palande
[not found] ` <269694c00701040920k3ee93732mc7dd1b3deff931ac-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: ( अमेय पाळंदे ) Ameya Palande @ 2007-01-04 17:20 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
> Message: 9
> Date: Thu, 4 Jan 2007 17:00:32 +0200
> From: Peter Smith <peter-ge40d5sFMlfbNDpEy91xOQ@public.gmane.org>
> Subject: [kvm-devel] Compile error with openSuse 10.2
> To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Message-ID: <200701041700.32506.peter-ge40d5sFMlfbNDpEy91xOQ@public.gmane.org>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compile error with openSuse 10.2
[not found] ` <269694c00701040920k3ee93732mc7dd1b3deff931ac-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-01-05 8:44 ` Peter Smith
0 siblings, 0 replies; 3+ messages in thread
From: Peter Smith @ 2007-01-05 8:44 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Thursday 04 January 2007 19:20, ( अमेय पाळंदे ) Ameya Palande wrote:
> > Message: 9
> > Date: Thu, 4 Jan 2007 17:00:32 +0200
> > From: Peter Smith <peter@webvision.co.za>
> > Subject: [kvm-devel] Compile error with openSuse 10.2
> > To: kvm-devel@lists.sourceforge.net
> > Message-ID: <200701041700.32506.peter@webvision.co.za>
> > 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.
>
Many thanks,
that did the job,
Peter
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-05 8:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-04 15:00 Compile error with openSuse 10.2 Peter Smith
-- strict thread matches above, loose matches on Subject: below --
2007-01-04 17:20 ( अमेय पाळंदे ) Ameya Palande
[not found] ` <269694c00701040920k3ee93732mc7dd1b3deff931ac-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-01-05 8:44 ` Peter Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox