Opened 17 years ago

Closed 17 years ago

#12 closed defect (invalid)

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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

comment:1 by İsmail Dönmez, 17 years ago

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 by agbr, 17 years ago

My distro is opensuse 10.1. Thanks anyway.

comment:3 by umoeller, 17 years ago

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use