<div>Hi,everyone.</div>
<div> </div>
<div>is there anyone here could help me, please ,i have built GiNaC <span style="LINE-HEIGHT: normal; WIDOWS: 2; TEXT-TRANSFORM: none; FONT-VARIANT: normal; FONT-STYLE: normal; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT-FAMILY: arial, sans-serif; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); FONT-WEIGHT: normal; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="WHITE-SPACE: pre" class="Apple-style-span"><font size="6">dozens of times</font></span></span>, now im in desperate.</div>
<div> </div>
<div>here are my information:</div>
<div> </div>
<div>1) OS: windows 7 home basic</div>
<div> MSYS 1.0.11 , TDM/MinGW 4.4.1 </div>
<div> gmp5.0.1 , cln 1.3.1 ,GiNaC 1.5.7</div>
<div>2)building gmp (<font color="#ff0000">./configure --prefix=/GiNaC --enable-cxx --disable-static --enable-shared</font>), normal</div>
<div>downloading binary version of pkg-config and dll of glib from GNOME websites.(<a href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip">http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip</a>, <a href="http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.24/glib_2.24.1-1_win32.zip">http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.24/glib_2.24.1-1_win32.zip</a>)</div>
<div>coping pkg-config.exe and libglib-2.0-0.dll to msys/bin.</div>
<div>3) building cln(<font color="#ff0000">./configure --prefix=/GiNaC --with-gmp=/GiNaC --disable-static --enable-shared ),</font><font color="#000000">but i only got the static libs</font></div>
<div>4)building GiNaC (<font color="#ff0000">./configure --prefix=/GiNaC --disable-static --enable-shared </font>) still only static libs</div>
<div> </div>
<div>5)compiling example codes for testing.</div>
<div> </div>
<div>gmp OK,but cln gives me this error:</div>
<div> </div>
<div>g++ pi.cc -I/GiNaC1/include -L/GiNaC1/lib -lcln -o pi 2>a.txt</div>
<div> </div>
<div>C:/ooo/1.0/GiNaC1/lib/libcln.a(cl_LF_1plus.o): In function `subx_loop_up':<br>C:\msys\1.0\home\Lenovo\cln-1.3.1\src/./base/digitseq/cl_DS.h:406: undefined reference to `_imp____gmpn_sub_n'<br>C:/ooo/1.0/GiNaC1/lib/libcln.a(cl_LF_1plus.o): In function `shiftrightcopy_loop_down':<br>
C:\msys\1.0\home\Lenovo\cln-1.3.1\src/./base/digitseq/cl_DS.h:495: undefined reference to `_imp____gmpn_rshift'<br>C:/ooo/1.0/GiNaC1/lib/libcln.a(cl_LF_1plus.o): In function `add_loop_up':<br>C:\msys\1.0\home\Lenovo\cln-1.3.1\src/./base/digitseq/cl_DS.h:378: undefined reference to `_imp____gmpn_add_n'<br>
.............................................................<br>C:\msys\1.0\home\Lenovo\cln-1.3.1\src/./base/digitseq/cl_DS.h:453: undefined reference to `_imp____gmpn_lshift'<br>C:/ooo/1.0/GiNaC1/lib/libcln.a(cl_I_to_digits.o): In function `divu_loop_down':<br>
C:\msys\1.0\home\Lenovo\cln-1.3.1\src/./base/digitseq/cl_DS.h:539: undefined reference to `_imp____gmpn_divrem_1'<br>C:/ooo/1.0/GiNaC1/lib/libcln.a(cl_I_ldbx.o): In function `shiftrightcopy_loop_down':<br>C:\msys\1.0\home\Lenovo\cln-1.3.1\src/./base/digitseq/cl_DS.h:495: undefined reference to `_imp____gmpn_rshift'<br>
collect2: ld returned 1 exit status<br></div>