qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] FC6 compat compiler fix
@ 2006-12-08 13:50 Jason Wessel
  2006-12-09 22:24 ` David Woodhouse
  2006-12-27 13:44 ` Andrew Parker
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Wessel @ 2006-12-08 13:50 UTC (permalink / raw)
  To: qemu-devel

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

When using the gcc34 compiler in FC6 QEMU will not build.  It seems that 
linux/compiler.h is not actually used for anything, as it continues to 
build fine on other linux varients.

signed-off-by: jason.wessel@windriver.com

Jason.

[-- Attachment #2: host_compiler_fix.patch --]
[-- Type: text/plain, Size: 339 bytes --]

Index: qemu-101806/usb-linux.c
===================================================================
--- qemu-101806.orig/usb-linux.c
+++ qemu-101806/usb-linux.c
@@ -26,7 +26,6 @@
 #if defined(__linux__)
 #include <dirent.h>
 #include <sys/ioctl.h>
-#include <linux/compiler.h>
 #include <linux/usbdevice_fs.h>
 #include <linux/version.h>
 

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

* Re: [Qemu-devel] [PATCH] FC6 compat compiler fix
  2006-12-08 13:50 [Qemu-devel] [PATCH] FC6 compat compiler fix Jason Wessel
@ 2006-12-09 22:24 ` David Woodhouse
  2006-12-27 13:44 ` Andrew Parker
  1 sibling, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2006-12-09 22:24 UTC (permalink / raw)
  To: qemu-devel

On Fri, 2006-12-08 at 07:50 -0600, Jason Wessel wrote:
> When using the gcc34 compiler in FC6 QEMU will not build.  It seems that 
> linux/compiler.h is not actually used for anything, as it continues to 
> build fine on other linux varients. 

This isn't special to FC6 -- this applies to _all_ distributions which
are correctly using the headers exported from the kernel.

-- 
dwmw2

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

* Re: [Qemu-devel] [PATCH] FC6 compat compiler fix
  2006-12-08 13:50 [Qemu-devel] [PATCH] FC6 compat compiler fix Jason Wessel
  2006-12-09 22:24 ` David Woodhouse
@ 2006-12-27 13:44 ` Andrew Parker
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Parker @ 2006-12-27 13:44 UTC (permalink / raw)
  To: qemu-devel

On 12/8/06, Jason Wessel <jason.wessel@windriver.com> wrote:
> When using the gcc34 compiler in FC6 QEMU will not build.  It seems that
> linux/compiler.h is not actually used for anything, as it continues to
> build fine on other linux varients.

Don't know if compiler.h is needed or not, but I got it to compile using

  ./configure "--cc=gcc34 -I/usr/src/kernels/$(uname -r)-$(uname -p)/include"

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

end of thread, other threads:[~2006-12-27 13:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-08 13:50 [Qemu-devel] [PATCH] FC6 compat compiler fix Jason Wessel
2006-12-09 22:24 ` David Woodhouse
2006-12-27 13:44 ` Andrew Parker

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).