[Pkg-octave-devel] compilation with gcc-4.3

Pascal A. Dupuis Pascal.Dupuis at worldonline.be
Thu Jan 24 20:43:30 UTC 2008


Hello,

as libblas3gf appeared, compiled with gfortran4.3, I tried to compile
octave3.0 with the same compiler. It ran without problems, except for
this:

--- src/mxarray.h.orig	2008-01-24 12:06:26.000000000 +0100
+++ src/mxarray.h	2008-01-24 12:12:18.000000000 +0100
@@ -90,6 +90,8 @@
 
 #if ! defined (MXARRAY_TYPEDEFS_ONLY)
 
+#include <cstring>
+
 class octave_value;
 
 #define DO_MUTABLE_METHOD(RET_T, METHOD_CALL) \

But octave doesn't run. A 'ldd' shows, among others:
liblapack.so.3gf => /usr/lib/3dnow/atlas/liblapack.so.3gf (0xb646c000)
libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0xb5cb5000)

And it fails as:
cd doc/ibnterpreter
../../run-octave -f -q -H -p . --eval "sparseimages ('grid', 'eps');"
/usr/src/octave3.0-3.0.0/src/octave: symbol lookup error: /usr/lib/3dnow/atlas/liblapack.so.3gf: undefined symbol: _gfortran_pow_r8_i4

'nm' shows the symbol is undefined in
/usr/lib/3dnow/atlas/liblapack.so.3gf (Camm unreleased version), but
does exist in /usr/lib/libgfortran.so.3 (from gfortran4.3).

I didn't play with this kind of ptoblem since a long time, any idea ?
Did someone manage to get octave3.0 running ?

TIA

Pascal Dupuis 



More information about the Pkg-octave-devel mailing list