I installed octave-2.1.35-7 from fink-unstable, and mkoctfile worked o.k. on most, but not all of my test cases. An annoying but apparently harmless message is that symbol _optopt is defined but not used, repeated several times.
The case that breaks is Stephen Boyd's semidefinite programming code, source code modified for Octave available at ftp://ftp.eng.auburn.edu/pub/hodel/semidef-oct-2.2.tar.gz [This code is a great tool for many linear matrix inequality problems that arise on control theory optimizations.] There are two issues here: 1) linking with f2c generated functions for, e.g., AIMAG calls in FORTRAN 2) linking with fortran code in octave's libcruft directories The reported error message is: /usr/bin/ld: Undefined symbols: _r_imag _dtrsv_ _r_imag is generated by f2c translation of fortran function lce.f (the fortran AIMAG function). dtrsv is a fortran BLAS routine (is in octave's libcruft), called by f2c translation of dlatrs.f. A workaround for this would be to add dtrsv.f into the sp Makefile, but it would be preferable to link to Octave's internal fortran codes. If there's an obvious fix, please let me know. I suspect I'm breaking new ground here, though, so if I don't get a response, I'll see if I can figure out why this is breaking. -- A. S. Hodel 200 Broun Hall Dept Elect & Comp Eng, Auburn Univ AL 36849-5201 http://www.eng.auburn.edu/~scotte 334 844 1854 Fax: -1809 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users