On 10/17/2018 09:21 AM, Hans Peter Verne wrote: > This gives the error: > > ../lib/libdeal_II.so.9.0.1: error: undefined reference to > 'Ifpack::Create(std::__cxx11::basic_string<char, std::char_traits<char>, > std::allocator<char> >, Epetra_RowMatrix*, int, bool)' > ../lib/libdeal_II.so.9.0.1: error: undefined reference to > 'ML_Epetra::SetDefaults(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> >, Teuchos::ParameterList&, > int*, double*, bool)'
Every one of the functions you list here have a std::string argument that is qualified with the C++11 ABI qualifier. Did you per chance compile Trilinos with a different compiler than the one you are using here? Or, maybe more likely, did you compile Trilinos with a compiler that didn't use C++11, whereas deal.II was compiled with a C++11 compiler? Best W. -- ------------------------------------------------------------------------ Wolfgang Bangerth email: [email protected] www: http://www.math.colostate.edu/~bangerth/ -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
