This is my first attempt at using ublas, here's the problem -- g++ -DHAVE_CONFIG_H -I. -I.. -I../sg -I../shared -I../include -O2 -g -c Linearity.C -o Linearity.o In file included from ../include/boost/numeric/ublas/matrix.hpp:20, from Linearity.C:16: ../include/boost/numeric/ublas/config.hpp:375: parse error before `,' token ../include/boost/numeric/ublas/config.hpp:381: parse error before `,' token ../include/boost/numeric/ublas/config.hpp:387: parse error before `,' token ../include/boost/numeric/ublas/config.hpp:401: too many template parameter lists in declaration of `typename V::size_type boost::numeric::ublas::num_elements(const V&)' ../include/boost/numeric/ublas/config.hpp:401: syntax error before `{' token ../include/boost/numeric/ublas/config.hpp:404: parse error before `>' token ../include/boost/numeric/ublas/config.hpp:408: parse error before `>' token ../include/boost/numeric/ublas/config.hpp:413: too many template parameter lists in declaration of `typename MV::size_type num_non_zeros(const MV&)' ../include/boost/numeric/ublas/config.hpp:413: syntax error before `{' token /usr/include/g++-v3/bits/std_cmath.h:69: confused by earlier errors, bailing out I'm using boost_1_29_0, and gcc 3.0.4 under Linux. I reviewed the newsgroup and didn't see this problem mentioned, so I'm sure it's something obvious to the experienced. Thanks