[Trilinos-Users] Problems compiling with Trilinos (Lukas Korous)

Mark Hoemmen mhoemme at sandia.gov
Mon Jan 31 13:19:01 MST 2011

On Jan 31, 2011, at 12:00 PM, trilinos-users-request at software.sandia.gov wrote:
> Message: 1
> Date: Mon, 31 Jan 2011 11:19:52 +0100
> From: "Lukas Korous" <lukas.korous at gmail.com>
> Subject: [Trilinos-Users] Problems compiling with Trilinos
> To: "trilinos-users at software.sandia.gov"
> 	<trilinos-users at software.sandia.gov>
> Message-ID:
> 	<AANLkTi=6NeKz4YMYSdU0ZohPtfivSGoCkBmLQ1EAvBkL at mail.gmail.com>
> Content-Type: text/plain; charset=iso-8859-1
> Hello,
> our open source project (which is a library) optionally uses Trilinos.
> The build of the library itself is okay, but whenever anybody is
> trying to import the library of ours, he gets the following;
> /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/libifpack.a(Ifpack.cpp.o):
> In function `Ifpack::SetParameters... [undefined references]

I've seen problems like this before.  How are you linking to Trilinos?  Depending on how Trilinos is being built, certain optional libraries may get enabled.  If you don't link to those libraries, then you'll get undefined references like this.


More information about the Trilinos-Users mailing list