On Wed, Aug 18, 2010 at 11:15 PM, Juan Jose Garcia-Ripoll <span dir="ltr"><<a href="mailto:juanjose.garciaripoll@googlemail.com">juanjose.garciaripoll@googlemail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><div class="im">On Wed, Aug 18, 2010 at 6:37 PM, Gabriel Dos Reis <span dir="ltr"><<a href="mailto:gdr@cs.tamu.edu" target="_blank">gdr@cs.tamu.edu</a>></span> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
<div>libeclmin.a(ffi.o): In function `si_make_dynamic_callback':</div>
c:/Docume~1/gdr/Desktop/ecl.cvs/src/c/ffi.d:976: undefined reference to<br></div>
`ffi_prep_closure'<div class="im"><br>
libeclmin.a(ffi.o): In function `si_call_cfun':<br>
c:/Docume~1/gdr/Desktop/ecl.cvs/src/c/ffi.d:925: undefined reference to `ffi_call'</div></blockquote></div><div><br></div>This code should not be compiled and I can guarantee I do not see this in my copy of mingw. Is there a library called libffi in your system, or did ECL detect it at configuration time? It should appear in the log or by a definition HAVE_LIBFFI in ecl/config.h If so you could you try using --without-dffi<br clear="all">
</blockquote></div><br>I have seen this precise error when building with a recent version of cygwin (see <a href="http://ecls.sourceforge.net/logs/cygwin32">http://ecls.sourceforge.net/logs/cygwin32</a>) which comes with a -lffi library. ECL detects it and tries to use it, but it fails because it seems it is not the actual libffi or it has some other API. I just wonder why you saw the same error in pure Mingw (while I don't <a href="http://ecls.sourceforge.net/logs/mingw32">http://ecls.sourceforge.net/logs/mingw32</a>)<br>
<br>Juanjo<br><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>