Hey everyone,
I have an error at compiling deal_ii_with_Trilinos=ON, which I dont 
understand.

First I installed Trilinos,then I called 

cmake -DCMAKE_INSTALL_PREFIIX=/home/peters/Documents/installs 
-DDEAL_II_WITH_TRILINOS=ON 
-DTRILINOS_DIR=/home/peters/Documents/build_trilinos

This all worked finely, but when I called make install I get the following 
error:

[ 55%] Linking CXX shared library ../lib/libdeal_II.so
/usr/bin/ld: 
/home/peters/Documents/build_trilinos/lib/libmuelu-adapters.a(MueLu_CreateEpetraPreconditioner.cpp.o):
 
relocation R_X86_64_PC32 against symbol 
`_ZTVN7Teuchos17SerialTriDiMatrixIidEE' can not be used when making a 
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
source/CMakeFiles/deal_II.dir/build.make:964: recipe for target 
'lib/libdeal_II.so.9.1.0-pre' failed
make[2]: *** [lib/libdeal_II.so.9.1.0-pre] Error 1
CMakeFiles/Makefile2:941: recipe for target 
'source/CMakeFiles/deal_II.dir/all' failed
make[1]: *** [source/CMakeFiles/deal_II.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
peters@stud-04:~/programs/dealii$ m


Can somebody tell me, what went wrong? And where do I have to add the order 
"recompile with -fPIC".

Thanks a lot and best regards


Gabriel

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to