icamax.f, isamax.f and icmax1.f missing in libcruft

Thomas Treichl Thomas.Treichl at gmx.net
Mon Aug 11 15:44:27 CDT 2008


Hi,

I'm still playing with the 3.1.51 tarball and found a problem when I was 
cross-compiling for PPC Mac OSX. The configure script correctly found a broken 
blas/lapack combination for the SDK 10.3.9 and therefore tried to compile 
blas/lapack that comes with Octave:

   ld: Undefined symbols:
   _icamax_
   _isamax_
   _icmax1_
   /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit
     command ailed
   make[3]: *** [libcruft.dylib] Error 1
   make[2]: *** [libraries] Error 2
   make[1]: *** [libcruft] Error 2
   make: *** [all] Error 2

These functions are at least referenced from:

   lapack/cgbcon.f:      EXTERNAL           LSAME, ICAMAX, SLAMCH, CDOTC
   lapack/strevc.f:      EXTERNAL           LSAME, ISAMAX, SDOT, SLAMCH
   lapack/clacon.f:      EXTERNAL           ICMAX1, SCSUM1, SLAMCH

I downloaded the missing files from the netlib.org repository and added them to 
the build script - building libcruft.dylib then succeeded. I had a look at the 
default branch and didn't find these files either. I hope that the attached 
changeset is correct in what should be done...

Regards

   Thomas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libcruft.changeset
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080811/bebf43ba/attachment.ksh 


More information about the Bug-octave mailing list