On Mon, Jan 10, 2011 at 5:23 PM, Marko Kocić <span dir="ltr"><<a href="mailto:marko.kocic@gmail.com">marko.kocic@gmail.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;">

I can see that it is populated by configure, but I don't know how to<br>
create a patch for this. I suppose -lffi should be added there when<br>
ffi is detected, or maybe the right place is CORE_LIBS?<br clear="all"></blockquote></div><br>Sorry, I missed the previous email and I can not find it in my gmail account. Was it properly sent?<br><br>Note that your email lists two different problems. The first one is that libffi is not included in the flags. In order to do so you should build and install the library in a "standard" location, one which is found by gcc and ld. Either that or supply the appropriate CPPFLAGS (for the headers) and LDFLAGS (for the library). Inspection of config.log will tell you whether configure (autoconf's standard processes) found the library.<br>

<br>The second problem is related to sockets. But note that you are building ECL using g++, not a C compiler. C++ compilers may be too strict for some of the C inline code that is in sockets. In particular it seems that the type conversions that are used do not work -- I am unsure about this, but ECL seems to build just fine with a C++ compiler on other platforms. Maybe the internet headers are different on Mingw :-/<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" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>