[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compile error - Cygwin - cdrtools-2.01a15-16



On Sun, 06 Jul 2003 20:21:20 -0700, you wrote:

>I get a compile error with the latest Cygwin installation (cygwin-1.3.22 
>with gcc-3.2-3).
>The error only effects CDDA2WAV running under Windows XP. All other 
>programs appear to work fine.
>It causes CDDA2WAV  ( commandline:  'cdda2wav.exe -vall -D1,1,0 --gui -Q -H 
>-B' ) to hang after it
>rips the last track  i.e. on an 11 track CD after '100%  track  11 
>successfully recorded'.
>It hangs the XP system so completely that Ctrl-Alt-Del will not work. I 
>must use the reset button.
>The same cdda2wav.exe file works fine under Windows ME/9x.
>
>The compile error comes at the line 'checking if we may not define our own 
>malloc ()...' when compiling in WinME
>and at the line 'checking if mmap works to get shared memory...' when 
>compiling in WinXP.
>It hangs and causes a Windows error "cannot unlink conftest.exe" (there is 
>no such file in Cygwin).
>But after I click the OK button, compiling continues normally (in ME & XP).
>
>On previous versions of Cygwin when compiling cdrtools 2.0-2.01a13 this did 
>not happen and the compiled cdda2wav
>worked fine in XP.

Well, it's a bug introduced with Cygwin 1.3.18, IIRC. With new Cygwin
1.5.3, the compilation process doesn't hang anymore while 'checking if
mmap works to get shared memory...'. Unfortunately the resulting
cdrecord binary doesn't have fifo support due to the result of this
very test.

There a two options to work around this:

1. manually add the line "#define HAVE_SMMAP 1" to xconfig.h, clean
and make again.

2. use the original gcc 3.3.1 from gcc.gnu.org

Regards,
Hartmut

-- 
Hartmut Welpmann



Reply to: