Problem installing MTL with gcc 4.1

Hans Karlsson <[email protected]> Mon, 08 May 2006 12:49:58 +0200
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
Dear all,

I am interested in trying out C++ with MTL and ITL as an alternative to
my Fortran coding.

I'm using Fedora core 5 with gcc 4.1, mtl-2.1.2-22 and
mtl-2.1.2-22-gcc-4.02.patch


CXX=g++
export CXX
./configure  --prefix=$HOME/lib --with-lapack="-llapack -lblas -lg2c"
make install

The header files appear where they should, $HOME/lib/include/mtl
I then run perl ../bin/make_and_test.pl to test the distribution.

For the first tests I get error messages of the type below.

What is wrong?

Any help in this matter is apreciated.


Best regards,

Hans Karlsson
Quantum Chemistry, Uppsala University
[email protected]

%BUILD: NUMTYPE SHAPE STORAGE ORIEN TESTNAME WARN ERR
%NUMTYPE: double
%SHAPE: rectangle<>
%STORAGE: compressed<>
%ORIEN: row_major
%TESTNAME: matrix_iterator_test
%WARN: 0
%ERR: 3
%RESULT: FAILURE
../../mtl/initialize.h: In function ‘void mtl::__initialize(Matrix&,
mtl::matrix_market_stream<T>&, mtl::symmetric_tag)’:
../../mtl/initialize.h:49: error: there are no arguments to ‘assert’
that depend on a template parameter, so a declaration of ‘assert’ must
be available
../../mtl/initialize.h:49: error: (if you use ‘-fpermissive’, G++ will
accept your code, but allowing the use
of an undeclared name is deprecated)
make: *** [matrix_iterator_test.o] Error 1


_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/