Hi, CDROM_GetInterfaceInterface needs SCSI_IOCTL_GET_IDLUN for scsi cdroms. On my Debian "testing" headers this is defined in <scsi/scsi.h>. (needs to run autoheader/autoconf) Changelog: . : configure.ac dlls/ntdll : cdrom.c Include a check for <scsi/scsi.h> and include it in dlls/ntdll/cdrom.c Rein. -- Rein Klazes rklazes@xs4all.nl
--- wine/configure.ac 2003-10-03 16:03:14.000000000 +0200 +++ mywine/configure.ac 2003-10-07 15:42:31.000000000 +0200 @@ -1021,6 +1021,7 @@ regex.h \ sched.h \ scsi/sg.h \ + scsi/scsi.h \ scsi/scsi_ioctl.h \ socket.h \ stdint.h \ --- wine/dlls/ntdll/cdrom.c 2003-10-03 16:03:38.000000000 +0200 +++ mywine/dlls/ntdll/cdrom.c 2003-10-07 16:37:16.000000000 +0200 @@ -83,6 +83,11 @@ #include "file.h" #include "wine/debug.h" +#ifdef HAVE_SCSI_SCSI_H +/* for SCSI_IOCTL_GET_IDLUN */ +# include <scsi/scsi.h> +#endif + /* Non-Linux systems do not have linux/cdrom.h and the like, and thus lack the following constants. */