FS#16902 - [kernel-headers] break compilation

Attached to Project: Arch Linux
Opened by Ionut Biru (wonder) - Thursday, 29 October 2009, 11:27 GMT
Last edited by Allan McRae (Allan) - Friday, 30 October 2009, 03:51 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
trying to compile virtualbo-ose:

In file included from /build/src/VirtualBox-3.0.10_OSE/src/VBox/Main/linux/HostHardwareLinux.cpp:60:
/usr/include/scsi/scsi.h:145: error: 'u8' does not name a type
/usr/include/scsi/scsi.h:146: error: 'u8' does not name a type
/usr/include/scsi/scsi.h:147: error: 'u8' does not name a type
/usr/include/scsi/scsi.h:148: error: 'u8' does not name a type
/usr/include/scsi/scsi.h: In function 'unsigned int scsi_varlen_cdb_length(const void*)':
/usr/include/scsi/scsi.h:156: error: 'struct scsi_varlen_cdb_hdr' has no member named 'additional_cdb_length'

something similar is in vlc too:
http://bbs.archlinux.org/viewtopic.php?id=83451

Additional info:
kernel-headers 2.6.31.4-1
glibc 2.10.1-5

Steps to reproduce:
try to compile vlc or virtualbox-ose
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 30 October 2009, 03:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  kernel-headers-2.6.31.4-2
Comment by Allan McRae (Allan) - Thursday, 29 October 2009, 11:57 GMT
Can you try this patch?
http://patchwork.kernel.org/patch/38102/raw/
It is quite simple just to edit the relevant file by hand.
Comment by Ionut Biru (wonder) - Thursday, 29 October 2009, 12:17 GMT
working fine with it
Comment by Giovanni Scafora (giovanni) - Friday, 30 October 2009, 00:34 GMT
working fine with it here.
Allan, add that patch as soon as possible.

Loading...