[Ecls-list] ECL on Windows 32-bit with msys/mingw

Gabriel Dos Reis gdr at cs.tamu.edu
Wed Aug 18 16:37:20 UTC 2010


Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> writes:

| On Wed, Aug 18, 2010 at 5:03 PM, Gabriel Dos Reis <gdr at 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.

Indeed, that gets me past that error.  I'm now getting

libeclmin.a(ffi.o): In function `si_make_dynamic_callback':
c:/Docume~1/gdr/Desktop/ecl.cvs/src/c/ffi.d:976: undefined reference to
`ffi_pre
p_closure'
libeclmin.a(ffi.o): In function `si_call_cfun':
c:/Docume~1/gdr/Desktop/ecl.cvs/src/c/ffi.d:925: undefined reference to `ffi_call'
libeclmin.a(ffi.o):tmp.c:(.rdata+0x320): undefined reference to `ffi_type_sint8'
libeclmin.a(ffi.o):tmp.c:(.rdata+0x324): undefined reference to `ffi_type_uint8'
libeclmin.a(ffi.o):tmp.c:(.rdata+0x328): undefined reference to `ffi_type_sint8'
libeclmin.a(ffi.o):tmp.c:(.rdata+0x32c): undefined reference to `ffi_type_uint8'
libeclmin.a(ffi.o):tmp.c:(.rdata+0x330): undefined reference to
`ffi_type_sint16

[...]

My configure command line was:

$ ./configure --enable-threads --prefix="C:/msys/1.0/local/ecl" --with-gmp-prefix="C:/msys/1.0/local" --enable-boehm=system



-- Gaby





More information about the ecl-devel mailing list