due to change on 3.5.x mkoctfile the dependency on LAPACK
is now explicitly needed on platforms not accepting undefined symbols
(cygwin, mingw, Mac OS)
attached patch using the more standard
LAPACK_LIBS := $(shell mkoctfile -p LAPACK_LIBS)
FLIBS := $(shell mkoctfile -p FLIBS)
Tested on cygwin.
Regards
Marco
--- optiminterp_old/src/Makefile 2007-07-11 20:32:49.000000000 +0200
+++ optiminterp/src/Makefile 2011-12-31 10:56:24.791340900 +0100
@@ -7,6 +7,9 @@
TARGETS=optiminterp.oct
+LAPACK_LIBS := $(shell mkoctfile -p LAPACK_LIBS)
+FLIBS := $(shell mkoctfile -p FLIBS)
+
# Rule for compiling Fortran 90 programs
%.o: %.F90
@@ -21,7 +24,7 @@
optiminterp.oct: $(OBJECTS)
- $(MKOCTFILE) -o $@ $(OBJECTS) $(LIBS)
+ $(MKOCTFILE) -o $@ $(OBJECTS) $(LIBS) $(LAPACK_LIBS) $(FLIBS)
check:
octave --silent --norc --eval test_optiminterp
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev