VirtualBox

Opened 18 years ago

Closed 18 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

Description

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 18 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by İsmail Dönmez, 18 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, 18 years ago

My distro is opensuse 10.1. Thanks anyway.

comment:3 by umoeller, 18 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.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette