From help-request at octave dot org Fri Dec 17 21:52:51 2004 Subject: Latest build problems with octave and OS X From: Joe Koski To: Octave Help , unix-porting list Date: Fri, 17 Dec 2004 20:54:05 -0700 I'm posting this to both the octave-help and the Apple unix-porting lists because this type of problem straddles both camps. The original octave make file is usually done for Linux with a bash shell as a basis. Are there any ideas about how to fix the build to work on a Mac? The build was done on OS X 10.3.6 with Xcode 1.5 and the November 2004 gcc 3.3 update installed. In compiling the latest sourceforge version of octave-2.1.64, the Mac build fails with the following symbol problems ld: warning multiple definitions of symbol _xerbla_ blas-xtra/xerbla.o definition of _xerbla_ in section (__TEXT,__text) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib .framework/Versions/A/libBLAS.dylib(single module) definition of _xerbla_ ld: Undefined symbols: _d_sign _pow_dd _do_fio _e_wsfe _s_wsfe _s_copy _e_wsfi _s_cat _s_wsfi _s_stop _pow_di _do_lio _e_wsle _s_wsle _pow_ri _r_sign _i_len _i_indx _s_cmp _d_int _d_mod /usr/bin/libtool: internal link edit command failed make[3]: *** [libcruft.dylib] Error 1 make[2]: *** [libraries] Error 2 make[1]: *** [libcruft] Error 2 make: *** [all] Error 2 _xerbla is apparently the BLAS error handler routine. Also, what library is missing for the other routines on the Mac? What other library is needed? How do we tell the Mac version to use the native Mac stuff? Thanks for any help. Joe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------