Mitch Wiygul wrote:
> I ran into a couple of problems compiling cdrdao 1.2.3rc1 on Cygwin.
> The first one comes from Cygwin somehow defining min in a way that
> cdrdao doesn't like. Or maybe it comes from header files coming in an
> infelicitous order in Cygwin. Anyhow, the attached file cygmin.patch
> makes the compile error go away.
> The second problem is that SCSI_SOURCE_DEVICE is undefined on line 2200
> of main.cc. I couldn't find SCSI_SOURCE_DEVICE anywhere else in cdrdao
> 1.2.3rc1 source, in Cygwin include files, Linux source code, Slackware
> 12.1 include files, or a Google search.
> Finally, going back to cdrdao 1.2.2, I never was able to get device
> locking to work with Cygwin on Windows XP. As I recall, the Windows
> calls never would let me get exclusive access to the drive.
Mitch, thanks for the patch. I'll work on another release candidate this
If someone has time for this, I think it would also be an interesting
experiment to try cross-compiling cdrdao for Windows on Linux using MinGW.