[Trilinos-Users] Trilinos build error with gcc-4.6.1
John R Cary
cary at colorado.edu
Fri Jul 15 08:02:41 MDT 2011
Thanks, Martin. This worked.
I still have a bit of a problem in that
I am trying to generate a pre-configure patch.
Looks like the generated file, EpetraPYTHON_wrap.cpp,
also needs to be patched.
Can anyone tell me what this is generated from so that
I can insert this line in the appropriate code fragment?
Thx...John
On 7/15/11 6:28 AM, Martin Vymazal wrote:
> Hi John,
>
> what helps me to remove compilation errors with gcc 4.6 is adding
>
> #include<cstddef>
>
> to all source files that don't compile. (Typically, gcc 4.6 complains about not
> recognizing ptrdiff_t). Go carefully through the error output and find the first
> error message from the compiler. Add the above line to the file which triggered
> the error. Then try to recompile. If you're getting more errors, repeat the
> procedure.
>
> Hope this helps,
>
> Martin
>
>
>
>
> On Friday 15 July 2011 06:00:46 John R Cary wrote:
>> Lots of items like below.
>>
>> Trilinos-10.6.4.
>>
>> Thx....John Cary
>>
>> /scr_verus/cary/vorpalall/builds/trilinos-10.6.4/packages/teuchos/src/Teu
>> chos_CTimeMonitor.cpp: In function ‘int Teuchos_startTimer(char*,
>> int)’:/scr_verus/cary/vorpalall/builds/trilinos-10.6.4/packages/teuchos/src/
>> Teuchos_CT imeMonitor.cpp:48:23: error: ‘{anonymous}::TimerArray_t’ has no
>> member named
>> ‘size’/scr_verus/cary/vorpalall/builds/trilinos-10.6.4/packages/teuchos/src/
>> Teuchos_CT imeMonitor.cpp:51:3: error: ‘{anonymous}::TimerArray_t’ has no
>> member named ‘size’
>> /scr_verus/cary/vorpalall/builds/trilinos-10.6.4/packages/teuchos/src/Teucho
>> s_CTimeMonitor.cpp:51:3: error: ‘{anonymous}::TimerArray_t’ has no member
>> named ‘siz
>> e’
>>
>> In file included from /scr_verus/cary/vorpalall/builds/trilinos-10.6.4/pa
>> ckages/teuchos/src/Teuchos_TableFormat.hpp:37:0, from
>> /scr_verus/cary/vorpalall/builds/trilinos-10.6.4/packages/teuchos/src/Teucho
>> s_PerformanceMonitorBase.hpp:42, from
>> /scr_verus/cary/vorpalall/builds/trilinos-10.6.4/packages/teuchos/src/Teucho
>> s_TimeMonitor.hpp:46, from
>> /scr_verus/cary/vorpalall/builds/trilinos-10.6.4/packages/
>> teuchos/src/Teuchos_CTimeMonitor.cpp:30:/scr_verus/cary/vorpalall/builds/tri
>> linos-10.6.4/packages/teuchos/src/Teuchos_Ta bleColumn.hpp: In member
>> function ‘int Teuchos::TableColumn::numRows()
>> const’:/scr_verus/cary/vorpalall/builds/trilinos-10.6.4/packages/teuchos/sr
>> c/Teuchos_TableColumn.hpp:64:39: error: ‘const class
>> Teuchos::Array<Teuchos::RCP<Teuchos::Ta
>> bleEntry> >’ has no member named ‘size’Building C object
>> packages/zoltan/siMPI
>>
>>
>> _______________________________________________
>> Trilinos-Users mailing list
>> Trilinos-Users at software.sandia.gov
>> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>
More information about the Trilinos-Users
mailing list