This is the mail archive of the cygwin-apps mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITA] glpk-4.21-1

--- "Dr. Volker Zell"  ha scritto:

> >>>>> Marco Atzeri writes:
>     > Hi All,
>     > as previously discussed 
>     > glpk is one of the package needed to compile
> octave
>     > it is also present in debian.
> glpk-4.25 compiles with shared library.

not on my system. 
Which libtool are you using ?

below the last part of the log: 

/bin/sh ../libtool --tag=CC   --mode=link gcc  -O2
-pipe  -version-info 10:0:10 -no-undefined  -o -rpath /usr/lib glpapi01.lo glpapi02.lo
glpapi03.lo glpapi04.lo glpapi05.lo glpapi06.lo
glpapi07.lo glpapi08.lo glpapi09.lo glpapi10.lo
glpapi11.lo glpapi12.lo glpavl.lo glpbfd.lo glpbfx.lo
glpdmp.lo glpfhv.lo glpgmp.lo glphbm.lo glpios01.lo
glpios02.lo glpios03.lo glpios04.lo glpios05.lo
glpios06.lo glpipm.lo glpipp01.lo glpipp02.lo
glplib01.lo glplib02.lo glplib03.lo glplib04.lo
glplib05.lo glplib06.lo glplib07.lo glplib08.lo
glplib09.lo glplpf.lo glplpp01.lo glplpp02.lo
glplpx01.lo glplpx02.lo glplpx03.lo glplpx04.lo
glplpx05.lo glplpx06.lo glplpx07.lo glplpx08.lo
glplpx09.lo glplpx10.lo glplpx11.lo glplpx12.lo
glplpx13.lo glplpx14.lo glplpx15.lo glplpx16.lo
glplpx17.lo glplpx18.lo glplpx19.lo glplpx20.lo
glpluf.lo glplux.lo glpmat.lo glpmpl01.lo glpmpl02.lo
glpmpl03.lo glpmpl04.lo glppds.lo glpqmd.lo
glprng01.lo glprng02.lo glpscf.lo glpscg.lo
glpspx01.lo glpspx02.lo glpssx01.lo glpssx02.lo
glptsp.lo  -lgmp -lm 

*** Warning: This system can not link to static lib
archive /usr/local/lib/
*** I have the capability to make that library
automatically link in when
*** you link to this library.  But I can only do this
if you have a
*** shared version of the library, which you do not
appear to have.
gcc -shared  .libs/glpapi01.o .libs/glpapi02.o
.libs/glpapi03.o .libs/glpapi04.o .libs/glpapi05.o
.libs/glpapi06.o .libs/glpapi07.o .libs/glpapi08.o
.libs/glpapi09.o .libs/glpapi10.o .libs/glpapi11.o
.libs/glpapi12.o .libs/glpavl.o .libs/glpbfd.o
.libs/glpbfx.o .libs/glpdmp.o .libs/glpfhv.o
.libs/glpgmp.o .libs/glphbm.o .libs/glpios01.o
.libs/glpios02.o .libs/glpios03.o .libs/glpios04.o
.libs/glpios05.o .libs/glpios06.o .libs/glpipm.o
.libs/glpipp01.o .libs/glpipp02.o .libs/glplib01.o
.libs/glplib02.o .libs/glplib03.o .libs/glplib04.o
.libs/glplib05.o .libs/glplib06.o .libs/glplib07.o
.libs/glplib08.o .libs/glplib09.o .libs/glplpf.o
.libs/glplpp01.o .libs/glplpp02.o .libs/glplpx01.o
.libs/glplpx02.o .libs/glplpx03.o .libs/glplpx04.o
.libs/glplpx05.o .libs/glplpx06.o .libs/glplpx07.o
.libs/glplpx08.o .libs/glplpx09.o .libs/glplpx10.o
.libs/glplpx11.o .libs/glplpx12.o .libs/glplpx13.o
.libs/glplpx14.o .libs/glplpx15.o .libs/glplpx16.o
.libs/glplpx17.o .libs/glplpx18.o .libs/glplpx19.o
.libs/glplpx20.o .libs/glpluf.o .libs/glplux.o
.libs/glpmat.o .libs/glpmpl01.o .libs/glpmpl02.o
.libs/glpmpl03.o .libs/glpmpl04.o .libs/glppds.o
.libs/glpqmd.o .libs/glprng01.o .libs/glprng02.o
.libs/glpscf.o .libs/glpscg.o .libs/glpspx01.o
.libs/glpspx02.o .libs/glpssx01.o .libs/glpssx02.o
.libs/glptsp.o   -o .libs/cygglpk-0.dll
-Wl,--enable-auto-image-base -Xlinker --out-implib
-Xlinker .libs/libglpk.dll.a
.libs/glplpx10.o:glplpx10.c:(.text+0x9b): undefined
reference to `___gmpq_init'
.libs/glplpx10.o:glplpx10.c:(.text+0xaa): undefined
reference to `___gmpq_set_d'
.libs/glplpx10.o:glplpx10.c:(.text+0xb9): undefined
reference to `___gmpq_set_d'
.libs/glplpx10.o:glplpx10.c:(.text+0xc9): undefined
reference to `___gmpq_div'

-- cut --

.libs/glpssx02.o:glpssx02.c:(.text+0xc61): undefined
reference to `___gmpq_cmp'
.libs/glpssx02.o:glpssx02.c:(.text+0xc86): undefined
reference to `___gmpq_cmp'
Creating library file: .libs/libglpk.dll.a
collect2: ld returned 1 exit status
make[2]: *** [] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all] Error 2

      Inviato da Yahoo! Mail. 
La casella di posta intelligente.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]