Hi,
1. Please direct all questions to the project mailing list=20
lap...@li..., *never* to individual developers.
2. If you got linker errors about particular functions, you should check=20
whether these (zgesdd) exists anyway in the LAPACK.dll that you are using.=
=20
I'm using the original LAPACK sources with our patches included as describe=
d=20
in README.w32, and this works fine.
Christian
Am Montag, 9. Mai 2005 17:27 schrieb Oscar Fern=E1ndez Garcia:
> Hello,
>
> I'm triying to compile lapackpp with msys and mingw as it's written on
> files README and README.w32. I'm using BLAS.dll and LAPACK.dll from
> http://cvs.sourceforge.net/viewcvs.py/matlisp/matlisp/lib/Attic/.
> Configure finish without any problem, but in compilation with make, the
> linker doesn't find the functions zgesdd_ dgesdd_. It's problem of
> version of LAPACK.dll or another problem? I also include inside a trace
> of the results.
>
> Thanks,
> ofe...@to...
>
>
> creating liblapackpp.la
> (cd .libs && rm -f liblapackpp.la && ln -s ../liblapackpp.la
> liblapackpp.la) windres -i ressource.rc -o ressource.o
> mkdir -p dlldir && \
> ( \
> if test -r liblapackpp.a; then \
> SRCLIB=3Dliblapackpp.a; \
> else \
> SRCLIB=3D.libs/liblapackpp.a; \
> fi; \
> cd dlldir && ar x "../${SRCLIB}" && \
> ( ls ../.libs/*.o && cp ../.libs/*.o .) && \
> dlltool -e ../exports.o *.o && \
> dllwrap \
> --export-all \
> --output-def ../lapackpp32.def \
> --implib ../lapackpp32.lib \
> --driver-name gcc \
> -o ../lapackpp32.dll \
> *.o ../exports.o \
> ../ressource.o -L/mingw/lib -L/c/WINNT/system32 -s -lstdc++
> -L/C/WINNT/sy stem32 -llapack -lblas -Lc:/MinGW/lib
> -Lc:/WINNT/system32 -Lc:/MinGW/bin/../lib/ gcc-lib/mingw32/3.2.3
> -Lc:/MinGW/bin/../lib/gcc-lib -L/mingw/lib/gcc-lib/mingw32 /3.2.3
> -Lc:/MinGW/bin/../lib/gcc-lib/mingw32/3.2.3/../../../../mingw32/lib
> -L/mi ngw/lib/gcc-lib/mingw32/3.2.3/../../../../mingw32/lib
> -Lc:/MinGW/bin/../lib/gcc- lib/mingw32/3.2.3/../../..
> -L/mingw/lib/gcc-lib/mingw32/3.2.3/../../.. -lfrtbegi n -lg2c
> -lmingw32 -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32
> - lshell32 \
> )
> ../.libs/dopla.o ../.libs/eigslv.o ../.libs/lasvd.o ../.libs/linslv=
=2Eo
> ../.libs/dtimmg.o ../.libs/laprefs.o ../.libs/lautil.o=20
> ../.libs/systime.o lasvd.o(.text+0x4d0): In function
> `Z8LaSVD_IPR15LaGenMatComplexR14LaVectorDouble S0_S0_':
> c:/users/ofernandez/bsd/lapackpp/src/../include/gmc.h:489: undefined
> reference t o `zgesdd_'
> lasvd.o(.text+0xd29): In function
> `Z8LaSVD_IPR15LaGenMatComplexR14LaVectorDouble ':
> c:/users/ofernandez/bsd/lapackpp/src/../include/gmc.h:489: undefined
> reference t o `zgesdd_'
> lasvd.o(.text+0x1523): In function
> `Z8LaSVD_IPR14LaGenMatDoubleR14LaVectorDouble S0_S0_':
> c:/users/ofernandez/bsd/lapackpp/src/../include/gmd.h:459: undefined
> reference t o `dgesdd_'
> lasvd.o(.text+0x16a1):c:/users/ofernandez/bsd/lapackpp/src/../include/gmd=
=2Eh
>:459: undefined reference to `dgesdd_'
> lasvd.o(.text+0x1e11): In function
> `Z8LaSVD_IPR14LaGenMatDoubleR14LaVectorDouble ':
> c:/users/ofernandez/bsd/lapackpp/src/../include/gmd.h:459: undefined
> reference t o `dgesdd_'
> c:\MinGW\bin\dllwrap.exe: no export definition file provided.
> Creating one, but that may not be what you want
> c:\MinGW\bin\dllwrap.exe: gcc exited with status 1
> make[2]: *** [lapackpp32.dll] Error 1
> make[2]: Leaving directory `/c/users/ofernandez/bsd/lapackpp/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/c/users/ofernandez/bsd/lapackpp'
> make: *** [all] Error 2
|