Ticket #12 (closed defect: invalid)

Opened 15 years ago

Last modified 15 years ago

Missed <linux/compiler.h>

Reported by: agbr Owned by:
Component: other Version: VirtualBox 1.3.2
Keywords: Cc:
Guest type: other Host type: other


src/VBox/Frontends/VBoxBFE/USBProxyServiceLinux.cpp is not compiled successfully with my version of glibc-2.4 and kernel-2.6.16, because <linux/usbdevice_fs.h> contains declarations like "void user *data", but "user" is declared in <linux/compiler.h> which is not included in usbdevice_fs.h.

google says that it is necessary to include <linux/compiler.h> manually in all files which use <linux/usbdevice_fs.h>.


USBProxyServiceLinux.cpp-806.patch Download (422 bytes) - added by agbr 15 years ago.

Change History

Changed 15 years ago by agbr

comment:1 Changed 15 years ago by cartman

Your distro should use David Woodhouse's userspace kernel headers which is the official distribution for kernel headers now btw and which does not have this problem.

comment:2 Changed 15 years ago by agbr

My distro is opensuse 10.1. Thanks anyway.

comment:3 Changed 15 years ago by umoeller

  • Status changed from new to closed
  • Resolution set to invalid

I guess this means it's not a vbox bug? Will close for now.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use