[Pkg-octave-devel] compilation with gcc-4.3
Rafael Laboissiere
rafael at debian.org
Wed Feb 6 11:04:27 UTC 2008
* Pascal A. Dupuis <Pascal.Dupuis at worldonline.be> [2008-01-24 21:43]:
> 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) \
This is strange. I just built the octave3.0 package with
CXX=/usr/bin/g++-4.3 and everything went fine. Could you please send your
build log to us?
> 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
This also works perfectly fine here. I am using gfortran and the
to-be-released libsuitesparse-3.1.0 [1].
[1] http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/2008-February/001969.html
--
Rafael
More information about the Pkg-octave-devel
mailing list