On Fri, Jul 17, 2009 at 10:44 PM, superlgn<wineforum-user@xxxxxxxxxx> wrote: > Ah, I see it now. I no longer have a /usr/include/scsi/scsi.h with libc6-dev 2.9-20. It's there in stable (2.7-18) and must have been there up until this most recent package (files dated July 13th). Wine's ./configure script tests for its existence, but I guess they always figure "INQUIRY" will be defined or it's just an oversight. I'm not quite sure if this is a mistake on Debian's part or what, but 0x12 appears to be the proper value: > > Code: > -(~) grep INQUIRY /usr/include/scsi/scsi.h > #define INQUIRY 0x12 > You could try this patch: diff --git a/dlls/ntdll/cdrom.c b/dlls/ntdll/cdrom.c index 574f737..634fd1e 100644 --- a/dlls/ntdll/cdrom.c +++ b/dlls/ntdll/cdrom.c @@ -2071,6 +2071,9 @@ static NTSTATUS DVD_ReadStructure(int dev, const DVD_READ_STRUCTURE *structure, static NTSTATUS GetInquiryData(int fd, PSCSI_ADAPTER_BUS_INFO BufferOut, DWORD OutBufferSize) { #ifdef HAVE_SG_IO_HDR_T_INTERFACE_ID +#ifndef INQUIRY +#define INQUIRY 0x12 +#endif PSCSI_INQUIRY_DATA pInquiryData = NULL; UCHAR sense_buffer[32]; int iochk, version; -- -Austin