[Trilinos-Users] Problem linking with the Amesos library

rajat a rajat10576 at gmail.com
Thu Jul 31 06:03:50 MDT 2014


Hi All

>
> I have been trying to compile the examples in Trilinos on Linux (gcc
> version 4.7.2 (Debian 4.7.2-5) + CMake 2.8.9) and I am getting the
> following error message :
>
> lib/libamesos.so: undefined reference to
> `Amesos_CSparse::Amesos_CSparse(Epetra_LinearProblem const&)'
> collect2: error: ld returned 1 exit status
> make[2]: *** [packages/epetra/example/my_example/Epetra_my_example.exe]
> Error 1
> make[1]: ***
> [packages/epetra/example/my_example/CMakeFiles/Epetra_my_example.dir/all]
> Error 2
>
> I have checked the "$Trilinos_Source/build/packages/amesos/src" directory,
> and all the relevant ".lib" files are present in that directory - ie:
> amesos is being compiled properly.
>
> I also ran the "nm" command on the amesos ".lib" file and found the
> constructor definition in the ".lib" file.
>
> Request you to kindly help me in resolving this problem.
>
>
> Rajat
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20140731/e812c4ac/attachment.html>


More information about the Trilinos-Users mailing list