He/She should install gmp from cygwin and use it to build ECL, not rely on ECL's version of GMP which is there for convenience but probably too old for recent versions of cygwin.<div><br></div><div>Juanjo<br><br><div class="gmail_quote">
On Fri, Jul 30, 2010 at 3:44 AM, Louis Höfler <span dir="ltr"><<a href="mailto:louis.hoefler@gmx.de">louis.hoefler@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="DE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">Someone
I talked to tried to compile ecl</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">on
Cygwin. He gets this error:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">gcc
-c -DHAVE_CONFIG_H -I. -I/cygdrive/c/Users/christoph/ecl/src/gmp/mpn -I..
-D__GMP_WITHIN_GMP -I/cygdrive/c/Users/christoph/ecl/src/gmp -DOPERATION_dive_1
-g -O2 tmp-dive_1.s -DPIC -o dive_1.o</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/as:
BFD (GNU Binutils) 2.20.51.20100410 assertion fail
/netrel/src/binutils-2.20.51-2/bfd/coff-i386.c:584</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">tmp-dive_1.s:
Assembler messages:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">tmp-dive_1.s:110:
Error: cannot represent relocation type BFD_RELOC_386_GOTPC</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">make[4]:
*** [dive_1.lo] Error 1</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">make[4]:
Leaving directory `/cygdrive/c/Users/christoph/ecl/build/gmp/mpn'</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">make[3]:
*** [install-recursive] Error 1</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">make[3]:
Leaving directory `/cygdrive/c/Users/christoph/ecl/build/gmp'</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">make[2]:
*** [install] Error 2</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">make[2]:
Leaving directory `/cygdrive/c/Users/christoph/ecl/build/gmp'</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">make[1]:
*** [libeclgmp.a] Error 2</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">make[1]:
Leaving directory `/cygdrive/c/Users/christoph/ecl/build'</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">make:
*** [all] Error 2</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">Someone
told that removing the –fPIC or –fpic option</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">from
the compile options for gcc on windows (Cygwin)</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">fixed
this error.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><a href="http://www.cygwin.com/ml/cygwin/1999-11/msg00539.html" target="_blank">http://www.cygwin.com/ml/cygwin/1999-11/msg00539.html</a></span></p>
</div>
</div>
<br>------------------------------------------------------------------------------<br>
The Palm PDK Hot Apps Program offers developers who use the<br>
Plug-In Development Kit to bring their C/C++ apps to Palm for a share<br>
of $1 Million in cash or HP Products. Visit us here for more details:<br>
<a href="http://p.sf.net/sfu/dev2dev-palm" target="_blank">http://p.sf.net/sfu/dev2dev-palm</a><br>_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
<br></blockquote></div><br><br clear="all"><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>
</div>