On Wed, Aug 18, 2010 at 5:03 PM, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
Has anybody been successful building ECL from CVS trunk on Windows
32-bit using msys/mingw?   For me it fails with:

In file included from
c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/
unistd.h:13,
                from c:/Docume~1/gdr/Desktop/ecl.cvs/src/c/file.d:29:
c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/process.h:95: error: expected identifier or '(' before '{' token
c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/process.h:95: error: expected identifier or '(' before 'void'
c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/process.h:100: error: conflicting types for 'GC_beginthreadex'

I just got the same error because ECL was unable to find version 7.2a4 of the garbage collector, which I had installed somewhere else. Ensure that the right library is used by passing --enable-boehm=system This will make ECL complain when it cannot find the library you downloaded and installed yourself.

Juanjo

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com