Hi Katie,

do the steps included in the deal svn compile correctly for you? For
me they do right now. If not, you might need to "./reconfigure && make
clean && make all".

Let us know if that didn't help.

On Sun, Feb 19, 2012 at 6:16 PM, Katie Leonard
<[email protected]> wrote:
> Hi,
>
> I have just done a svn checkout to get some changes made since the last 
> version was released.  I have just compiled some of my code that worked fine 
> before the checkout, and I got an error that I'm not sure how to fix!  The 
> error output is:
>
> undefined reference to `void 
> dealii::DoFTools::count_dofs_per_block<dealii::DoFHandler<2, 2> 
> >(dealii::DoFHandler<2, 2> const&, std::vector<unsigned int, 
> std::allocator<unsigned int> >&, std::vector<unsigned int, 
> std::allocator<unsigned int> >)'
> collect2: ld returned 1 exit status
> make: *** [step-31] Error 1
>
>
> If someone could give me an idea of where the error may be originating from, 
> that would be really helpful :)
>
>
> There was also a problem with the file 
> deal.II/include/deal.II/lac/constraint_matrix.h which I fixed by reverting to 
> the original (I have pasted the error message for that below, just in case 
> anyone is interested!)
>
> Hope I've posted this to the correct list - please do excuse me if I haven't!
>
> Thanks,
>
> Katie Leonard
>
>
> error message with svn version of 
> deal.II/include/deal.II/lac/constraint_matrix.h :
>
> void 
> dealii::ConstraintMatrix::distribute_local_to_global<dealii::TrilinosWrappers::BlockSparseMatrix,
>  dealii::TrilinosWrappers::BlockVector>(dealii::FullMatrix<double> const&, 
> dealii::Vector<double> const&, std::vector<unsigned int, 
> std::allocator<unsigned int> > const&, 
> dealii::TrilinosWrappers::BlockSparseMatrix&, 
> dealii::TrilinosWrappers::BlockVector&, bool) const':
> /home/katie/deal.II/include/deal.II/lac/constraint_matrix.h:2076: undefined 
> reference to `void 
> dealii::ConstraintMatrix::distribute_local_to_global<dealii::TrilinosWrappers::BlockSparseMatrix,
>  dealii::TrilinosWrappers::BlockVector>(dealii::FullMatrix<double> const&, 
> dealii::Vector<double> const&, std::vector<unsigned int, 
> std::allocator<unsigned int> > const&, 
> dealii::TrilinosWrappers::BlockSparseMatrix&, 
> dealii::TrilinosWrappers::BlockVector&, bool, 
> dealii::internal::bool2type<true>) const'
> step-31.g.o: In function `void 
> dealii::ConstraintMatrix::distribute_local_to_global<dealii::TrilinosWrappers::BlockSparseMatrix>(dealii::FullMatrix<double>
>  const&, std::vector<unsigned int, std::allocator<unsigned int> > const&, 
> dealii::TrilinosWrappers::BlockSparseMatrix&) const':
> /home/katie/deal.II/include/deal.II/lac/constraint_matrix.h:2054: undefined 
> reference to `void 
> dealii::ConstraintMatrix::distribute_local_to_global<dealii::TrilinosWrappers::BlockSparseMatrix,
>  dealii::Vector<double> >(dealii::FullMatrix<double> const&, 
> dealii::Vector<double> const&, std::vector<unsigned int, 
> std::allocator<unsigned int> > const&, 
> dealii::TrilinosWrappers::BlockSparseMatrix&, dealii::Vector<double>&, bool, 
> dealii::internal::bool2type<true>) const'
>
>
>
>
>
>
> DPhil student in Computational Biology,
> The University of Oxford.
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii



-- 
Timo Heister
http://www.math.tamu.edu/~heister/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to