On 28.12.2011, at 12:05, marco atzeri wrote: > On 12/7/2011 5:13 PM, Lukas Reichlin wrote: >> Hi all, >> >> I've just posted control-2.2.3 (SVN Revision 9303) in the package forum [1]. >> Please upload it to the server. The changes are listed in the NEWS file [2]. >> >> The notice for >> http://octave.sourceforge.net/ >> >> >> December 7, 2011 >> >> control-2.2.3 released >> >> >> >> Best regards >> Lukas > > Lukas, > due to changes on mkoctfile way of working on octave-3.5.91+ > (not more linking against all the development libraries ) > the package does not correctly build on cygwin due to > undefined symbols with LAPACK, BLAS and FORTRAN > > ---------------------------------------------------------------- > > $ make > mkoctfile slab08nd.cc \ > AB08ND.f AB08NX.f TB01ID.f MB03OY.f MB03PY.f > g++-4: unrecognized option '-no-undefined' > AB08ND.o:AB08ND.f:(.text+0x4d): undefined reference to `_lsame_' > AB08ND.o:AB08ND.f:(.text+0x87): undefined reference to `_lsame_' > ----------------------------------------------------------------- > > the attached patch solve the issue on cygwin and I presume > also on the other platforms that do not accept "Undefined symbols" > at link time. > > Tests on mingw and Mac OS X are needed. > > > Regards > Marco > > <control-2.2.3.patch>------------------------------------------------------------------------------
Hi Marco Thank you very much for your help. I applied the patch: http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/control/src/Makefile?revision=9472&view=markup Unfortunately, the problem still exists on Mac OS X 10.6: GNU Octave, version 3.5.91 Copyright (C) 2011 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Octave was configured for "x86_64-apple-darwin10.8.0". Additional information about Octave is available at http://www.octave.org. Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Read http://www.octave.org/bugs.html to learn how to submit bug reports. For information about changes from previous versions, type `news'. warning: no graphical display found octave:1> pkg install control.ta* Undefined symbols for architecture x86_64: "_lsame_", referenced from: _ab08nd_ in AB08ND.o _tb01id_ in TB01ID.o "_ilaenv_", referenced from: _ab08nd_ in AB08ND.o _ab08nx_ in AB08NX.o "_dlacpy_", referenced from: _ab08nd_ in AB08ND.o "_dlamch_", referenced from: _ab08nd_ in AB08ND.o _tb01id_ in TB01ID.o "_dlange_", referenced from: _ab08nd_ in AB08ND.o "_dcopy_", referenced from: _ab08nd_ in AB08ND.o _mb03py_ in MB03PY.o "_dlaset_", referenced from: _ab08nd_ in AB08ND.o _ab08nx_ in AB08NX.o "_dtzrzf_", referenced from: _ab08nd_ in AB08ND.o "_dormrz_", referenced from: _ab08nd_ in AB08ND.o "_dlarfg_", referenced from: _ab08nx_ in AB08NX.o _mb03oy_ in MB03OY.o _mb03py_ in MB03PY.o "_dlatzm_", referenced from: _ab08nx_ in AB08NX.o "_dormrq_", referenced from: _ab08nx_ in AB08NX.o "_dlapmt_", referenced from: _ab08nx_ in AB08NX.o "_dormqr_", referenced from: _ab08nx_ in AB08NX.o "_dasum_", referenced from: _tb01id_ in TB01ID.o "_idamax_", referenced from: _tb01id_ in TB01ID.o _mb03oy_ in MB03OY.o _mb03py_ in MB03PY.o "_dscal_", referenced from: _tb01id_ in TB01ID.o _mb03oy_ in MB03OY.o _mb03py_ in MB03PY.o "_dnrm2_", referenced from: _mb03oy_ in MB03OY.o _mb03py_ in MB03PY.o "_dswap_", referenced from: _mb03oy_ in MB03OY.o _mb03py_ in MB03PY.o "_dlaic1_", referenced from: _mb03oy_ in MB03OY.o _mb03py_ in MB03PY.o "_dlarf_", referenced from: _mb03oy_ in MB03OY.o _mb03py_ in MB03PY.o "_dggev_", referenced from: Fslab08nd(octave_value_list const&, int) in slab08nd.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make: *** [slab08nd.oct] Error 1 'make' returned the following error: mkoctfile slab08nd.cc \ AB08ND.f AB08NX.f TB01ID.f MB03OY.f MB03PY.f \ error: called from `pkg>configure_make' in file /opt/local/share/octave/3.5.91/m/pkg/pkg.m near line 1385, column 9 error: called from: error: /opt/local/share/octave/3.5.91/m/pkg/pkg.m at line 827, column 5 error: /opt/local/share/octave/3.5.91/m/pkg/pkg.m at line 383, column 9 octave:1> Best regards, Lukas ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev