Hi Christophe, Thanks, I understand that the full library list is needed for now, but would like it to be otherwise.
Would you accept a patch to link the libraries? It looks like you generate the shared libs in debian/rules, so I could add something there. I won't have time to do this for a little while, so don't let it hold up a planned release. Thanks, -Adam On Fri, 2009-05-22 at 10:36 +0200, Christophe Prud'homme wrote: > Adam, > > here is the full list of libraries to compile examples for nox > > g++ -o ex1 -I/usr/include/trilinos -I/usr/include/mpi -I../../src > ex1.cpp-ltrilinos_ml -ltrilinos_galeri -ltrilinos_nox > -ltrilinos_noxepetra -ltrilinos_noxlapack -ltrilinos_anasazi > -ltrilinos_ifpack -ltrilinos_amesos -ltrilinos_aztecoo > -ltrilinos_epetraext -ltrilinos_triutils -ltrilinos_epetra > -ltrilinos_teuchos -lexpat -llapack -lblas -lmpi++ -lmpi > > unfortunately you have to come up with the proper list of libs > > On Thu, May 21, 2009 at 6:27 PM, Adam C Powell IV <[email protected]> wrote: > > Package: libtrilinos > > Version: 9.0.2.dfsg-3 > > > > A couple of libraries are missing important links, for example: > > > > /usr/lib/libtrilinos_teuchos.so: undefined reference to `XML_SetUserData' > > /usr/lib/libtrilinos_teuchos.so: undefined reference to `XML_ParserCreate' > > /usr/lib/libtrilinos_teuchos.so: undefined reference to `XML_Parse' > > /usr/lib/libtrilinos_ml.so: undefined reference to > > `Galeri::CreateMap(std::basic_string<char, std::char_traits<char>, > > std::allocator<char> >, Epetra_Comm&, Teuchos::ParameterList&)' > > /usr/lib/libtrilinos_teuchos.so: undefined reference to > > `XML_SetElementHandler' > > /usr/lib/libtrilinos_ml.so: undefined reference to > > `Galeri::CreateCrsMatrix(std::basic_string<char, std::char_traits<char>, > > std::allocator<char> >, Epetra_Map const*, Teuchos::ParameterList&)' > > /usr/lib/libtrilinos_teuchos.so: undefined reference to > > `XML_SetCharacterDataHandler' > > > > So libtrilinos_teuchos.so should link with -lexpat and libtrilinos_ml.so > > should link with -ltrilinos_galeri . There may be others as well. > > > > Thanks, > > -Adam -- GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6 Engineering consulting with open source tools http://www.opennovation.com/
signature.asc
Description: This is a digitally signed message part

