Skip to contentSkip to conversation

usb-linux compiling failure

Qemu-devel [email protected] 1 participant 1 message Jun 23, 2006

lore
Share & tools
lore
#0 lore raw

Hello all,

there's a problem compiling usb-linux.c on SuSE 10.1 with the standard kernel headers (kernel 2.6.16.13-4-default from uname -r).

I'm using gcc 3.4.6 and the problem is an include file is missing in usb-linux.c

The missing h-file is <linux/compiler.h>. That inclusion needs to be written before the inclusion of <linux/usbdevice_fs.h>

Adding this include file the compiler is happy and all is ok.

regards,
Fausto