Thank you!
It is disappointing game developers don't see the potential of Linux, so we are using the potential to get there what wont come to us.
Thank you, one more time

Code: Select all
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -g -O2 -o cdrom.o cdrom.c
cdrom.c: In function 'GetInquiryData':
cdrom.c:2078: error: 'INQUIRY' undeclared (first use in this function)
cdrom.c:2078: error: (Each undeclared identifier is reported only once
cdrom.c:2078: error: for each function it appears in.)
make[2]: *** [cdrom.o] Error 1
make[2]: Leaving directory `/usr/local/logan/tmp/wine-1.1.26/dlls/ntdll'
make[1]: *** [ntdll] Error 2
make[1]: Leaving directory `/usr/local/logan/tmp/wine-1.1.26/dlls'
make: *** [dlls] Error 2
Code: Select all
UCHAR inquiry[INQ_CMD_LEN] = {0x12, 0, 0, 0, INQ_REPLY_LEN, 0};
Code: Select all
-(~) grep INQUIRY /usr/include/scsi/scsi.h
#define INQUIRY 0x12
You could try this patch: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