Hi,

I just reinstalled all fenics and related packages for testing/benchmark 
purposes via dorsal (except dolfin itself) and configure, compiled and 
install dolphin via scons.local. And just to be sure, I deleted every 
pkgconfig file I came across :) Unfortunately if I try to run the 
SConstruct file in the demo/function/eval/cpp directory I get the 
following linking error (I sourced dolfin.conf in beforehand...)

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
mpic++ -o demo -Wl,-rpath,/home/andre/local/lib -pthread 
-Wl,--export-dynamic main.o 
-L/home/andre/homebase/software/packages/src/fenics-unstable/dolfin/local/lib 
-L/home/andre/local/lib -L/usr/lib/atlas -lCGAL -lCGAL_Core -ldolfin 
-lboost_filesystem-mt -lz -lslepc -lml -lifpack -lamesos -laztecoo 
-lteuchos -lepetra -lepetraext -lumfpack -lboost_program_options-mt 
-lgts -lm -llapack -lblas -lcholmod -lamd -lcolamd -lparmetis -lmetis 
-lgmp -lgmpxx -lscotch -lscotcherr -lxml2 -lpetscts -lpetscsnes 
-lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc -lgthread-2.0 -lrt 
-lgmodule-2.0 -lglib-2.0
/home/andre/homebase/software/packages/src/fenics-unstable/dolfin/local/lib/libdolfin.so:
 
undefined reference to `mtl::vector::dense_vector<double, 
mtl::vector::parameters<mtl::tag::col_major, 
mtl::vector::non_fixed::dimension, false, false> >::size_type 
mtl::vector::num_rows<double, 
mtl::vector::parameters<mtl::tag::col_major, 
mtl::vector::non_fixed::dimension, false, false> 
 >(mtl::vector::dense_vector<double, 
mtl::vector::parameters<mtl::tag::col_major, 
mtl::vector::non_fixed::dimension, false, false> > const&)'
collect2: ld returned 1 exit status
scons: *** [demo] Error 1

Since mtl4 is so heavily template based I would expect some -I option to 
include right mtl paths, but I am just blindly guessing...
Maybe any ideas what went wrong?

Kind regards,
Andre

_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to