dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18239
[Question #110066]: scons problem
New question #110066 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/110066
Hi there!
What might cause the following message ?
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
mpic++ -o demo main.o -L/usr/local/lib -L/usr/lib/atlas -L/usr/lib/slepcdir/3.0.0/linux-gnu-c-opt/lib -L/usr/lib/petscdir/3.0.0/linux-gnu-c-opt/lib -ldolfin -lboost_program_options-mt -lboost_filesystem-mt -lxml2 -lCGAL -lCGAL_Core -ltrilinos_ml -ltrilinos_ifpack -ltrilinos_amesos -ltrilinos_aztecoo -ltrilinos_teuchos -ltrilinos_epetra -ltrilinos_epetraext -ltrilinos_galeri -lumfpack -lcholmod -lamd -lcamd -lcolamd -lccolamd -lparmetis -lmetis -llapack -lblas -lslepc -lparpack -larpack -lz -lpetscts -lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc -lX11
main.o: In function `has_type<dolfin::EpetraMatrix>':
/usr/local/include/dolfin/la/GenericTensor.h:95: undefined reference to `typeinfo for dolfin::EpetraMatrix'
main.o: In function `dolfin::LUSolver::solve(dolfin::GenericMatrix const&, dolfin::GenericVector&, dolfin::GenericVector const&)':
/usr/local/include/dolfin/la/LUSolver.h:79: undefined reference to `dolfin::EpetraLUSolver::EpetraLUSolver()'
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libtrilinos_teuchos.so: undefined reference to `XML_SetUserData'
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libtrilinos_teuchos.so: undefined reference to `XML_ParserCreate'
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libtrilinos_teuchos.so: undefined reference to `XML_Parse'
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libtrilinos_epetraext.so: undefined reference to `Trilinos_Util_ReadMatrixMarket2Epetra(char*, Epetra_Comm const&, Epetra_Map*&, Epetra_CrsMatrix*&, Epetra_Vector*&, Epetra_Vector*&, Epetra_Vector*&)'
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libtrilinos_teuchos.so: undefined reference to `XML_SetElementHandler'
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libtrilinos_epetraext.so: undefined reference to `Trilinos_Util_ReadTriples2Epetra(char*, bool, Epetra_Comm const&, Epetra_Map*&, Epetra_CrsMatrix*&, Epetra_Vector*&, Epetra_Vector*&, Epetra_Vector*&, bool, bool, bool)'
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libtrilinos_teuchos.so: undefined reference to `XML_SetCharacterDataHandler'
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/libtrilinos_epetraext.so: undefined reference to `Trilinos_Util_ReadHb2Epetra(char*, Epetra_Comm const&, Epetra_Map*&, Epetra_CrsMatrix*&, Epetra_Vector*&, Epetra_Vector*&, Epetra_Vector*&)'
collect2: ld returned 1 exit status
scons: *** [demo] Error 1
scons: building terminated because of errors.
Regards,
Zeljka
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.