FC6 compat compiler fix
PATCH 1/1 FC6 compat compiler fix
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.
Jason.
usb-linux.c +0 -1
@@ -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>
Quoted 3 lines · Jason Wessel
When using the gcc34 compiler in FC6 QEMU will not build. It seems that
linux/compiler.his 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.
Signature · 1 line
dwmw2
Quoted 3 lines · Jason Wessel
When using the gcc34 compiler in FC6 QEMU will not build. It seems that
linux/compiler.his 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"