|
From: | Tatsuro MATSUOKA |
Subject: | [Octave-bug-tracker] [bug #42810] mxe-octave native build problem: arpack, cholmod and umfpack were not correctly built |
Date: | Mon, 28 Jul 2014 05:28:14 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 |
Follow-up Comment #4, bug #42810 (project octave): This post is closed but cholmod and umfpack problem is not net solved. (See the first submission for cholmod and umfpack) I have tried the below: (add LDFLAGS) --- suitesparse.orig.mk 2014-07-25 10:39:39 +0900 +++ suitesparse.mk 2014-07-25 15:37:44 +0900 @@ -98,7 +98,7 @@ if [ -n "$deplibs" ]; then echo " deplibs = $$deplibs"; fi; - $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CXX)' $$f --install '$(INSTALL)' --libdir '$(3)$(HOST_LIBDIR)' --bindir '$(3)$(HOST_BINDIR)' $$deplibs; + $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CXX)' $$f --install '$(INSTALL)' --libdir '$(3)$(HOST_LIBDIR)' --bindir '$(3)$(HOST_BINDIR)' $$deplibs '$(LDFLAGS)' -llapack -lblas; fi; done but however the error in making dynamic link library of cholmod and umfpack did not generated. cholmod building and installing shared libraries for libcholmod deplibs = -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -llapack -lblas c:/mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -llapack c:/mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lblas collect2.exe: error: ld returned 1 exit status building and installing shared libraries for libspqr deplibs = -lcholmod -lsuitesparseconfig -llapack -lblas c:/mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lcholmod c:/mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -llapack c:/mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lblas umfpack building and installing shared libraries for libumfpack deplibs = -lcholmod -lamd -lsuitesparseconfig -lblas c:/mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lcholmod c:/mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lblas collect2.exe: error: ld returned 1 exit status Perhaps my modification was not enough but I cannot find why the modification were not effective. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?42810> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |