Thank you ,Alexei
 
but that didn't work. i had tried, :(
 
i suppose the point is how comes this message when compiling and linking cln :
 
>C:/ooo/1.0/GiNaC1/lib/libcln.a(cl_LF_1plus.o): In function `subx_loop_up':
>C:\msys\1.0\home\Lenovo\cln-1.3.1\src/./base/digitseq/cl_DS.h:406: undefined
>reference to `_imp____gmpn_sub_n'
it seems that the CLN and GINAC was compiled with position dependent things written into cln lib files ,
 
 
 
By the Way,  when i type  "pkg-config.exe --libs cln"  in MSYS shell, it gives  "-LC:/ooo/1.0/GiNaC1/lib -lcln" .
it should have been  "-L/GiNaC1/lib -lcln" , am i right?
 
wayne