[Kratos] Latest version of the code is not compiling

Mini, Andreas andreas.mini en tum.de
Mar Jun 16 09:11:00 CEST 2015

Hi Riccardo,

I downloaded the full repository into a new folder and tried to compile it. I just did this to test, because one of our student hat problems. I did not change anything. I also tried boost version 1.58 but the error remains.



Technische Universität München
Lehrstuhl für Statik
Prof. Dr.-Ing. Kai-Uwe Bletzinger
Arcisstr. 21
80333 München

Tel. +49 (0)89 289 22435
Fax +49 (0)89 289 22421
Andreas.Mini at tum.de
Von: rougered4 at gmail.com <rougered4 at gmail.com> im Auftrag von Riccardo Rossi <rrossi at cimne.upc.edu>
Gesendet: Montag, 15. Juni 2015 17:31
An: Mini, Andreas
Cc: kratos-bounces at listas.cimne.upc.edu; kratos
Betreff: Re: [Kratos] Latest version of the code is not compiling

Hi Andreas,

I am a little surprised since we downloaded and compiled the ExternalSolversApplication around 1h ago.

Could you get the clean copy of such application? I guess you did not changed it locally right? If so just erase the directory of the app and get the clean one. It should be reasonably fast in compiling it


On 15 Jun 2015 17:05, "Mini, Andreas" <andreas.mini at tum.de<mailto:andreas.mini at tum.de>> wrote:

Dear colleagues,

I have downloaded the latest version of the code. Unfortunately it does not compile. I get the following error message:

In file included from /home/mini/compiled_libraries/boost_1_57_0/boost/lexical_cast/detail/converter_lexical.hpp:49:0,
                 from /home/mini/compiled_libraries/boost_1_57_0/boost/lexical_cast/try_lexical_convert.hpp:34,
                 from /home/mini/compiled_libraries/boost_1_57_0/boost/lexical_cast.hpp:32,
                 from /home/mini/compiled_libraries/boost_1_57_0/boost/python/operators.hpp:19,
                 from /home/mini/compiled_libraries/boost_1_57_0/boost/python.hpp:50,
                 from /home/mini/Desktop/KRATOS_TEST/kratos/applications/PFEMapplication/custom_python/add_custom_utilities_to_python.cpp:54:
/home/mini/compiled_libraries/boost_1_57_0/boost/array.hpp: In function '<built-in>':
/home/mini/compiled_libraries/boost_1_57_0/boost/array.hpp:130:25: warning: array subscript is above array bounds [-Warray-bounds]
             return elems[i];
Linking CXX shared library KratosExternalSolversApplication.so
custom_external_libraries/ITSOL_2/libitsol.a(auxill.c.o): In function `readhb_c':
auxill.c:(.text+0x14fb): undefined reference to `readmtc_'
auxill.c:(.text+0x172f): undefined reference to `readmtc_'
auxill.c:(.text+0x182b): undefined reference to `csrcsc_'
custom_external_libraries/ITSOL_2/libitsol.a(auxill.c.o): In function `readhb_2':
auxill.c:(.text+0x1de1): undefined reference to `readmtc_'
auxill.c:(.text+0x200d): undefined reference to `readmtc_'
auxill.c:(.text+0x255b): undefined reference to `csrcsc_'
custom_external_libraries/ITSOL_2/libitsol.a(sets.c.o): In function `coocsc':
sets.c:(.text+0x4125): undefined reference to `coocsr_'
sets.c:(.text+0x41e2): undefined reference to `coocsr_'
collect2: error: ld returned 1 exit status
make[2]: *** [applications/ExternalSolversApplication/KratosExternalSolversApplication.so] Error 1
make[1]: *** [applications/ExternalSolversApplication/CMakeFiles/KratosExternalSolversApplication.dir/all] Error 2

Thank you for your help.


Andreas Mini

Technische Universität München
Lehrstuhl für Statik
Prof. Dr.-Ing. Kai-Uwe Bletzinger
Arcisstr. 21
80333 München

Tel. +49 (0)89 289 22435<tel:%2B49%20%280%2989%20289%2022435>
Fax +49 (0)89 289 22421<tel:%2B49%20%280%2989%20289%2022421>
Andreas.Mini at tum.de<mailto:Andreas.Mini at tum.de>

Kratos mailing list
Kratos at listas.cimne.upc.edu<mailto:Kratos at listas.cimne.upc.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/kratos/attachments/20150616/6a841e31/attachment.htm 

Más información sobre la lista de distribución Kratos