[Trilinos-Users] Teuchos_ConfigDefs.hpp:128:9: error: Œptrdiff_t¹ does not name a type
Perschbacher, Brent M
bmpersc at sandia.gov
Wed Nov 2 10:59:37 MDT 2011
This looks like the issues we were seeing with the gcc 4.6 compiler, most likely the Ubuntu upgrade gave you a newer gcc. Most, if not all, of the errors with that compiler have been fixed in Trilinos 10.8. I would recommend upgrading to the latest release to get rid of those errors.
Brent
On 11/2/11 12:13 AM, "narendiran kumar" <narendirankumar at gmail.com> wrote:
Dear Sir/Madam,
Recently, i upgraded my system from ubuntu 11.04 to 11.10. I didn't get any error message like this in my older version ubuntu 11.04. I got following error, when i was working on trilinos package in newer version ubuntu 11.10. Do i want to upgrade (Patch) any package.
Can any one please help me.
Regards,
K. Narendiran.
narendiran at narendiran:~/Desktop/arc-length-continuation-test$ make
Found Trilinos! Here are the details:
Trilinos_VERSION = 10.6.4
Trilinos_PACKAGE_LIST = NOX Anasazi Stratimikos Belos ML Ifpack Amesos Galeri AztecOO Isorropia Thyra EpetraExt Tpetra Triutils Zoltan Epetra Kokkos RTOp ThreadPool Teuchos
Trilinos_LIBRARIES = -llocathyra -llocaepetra -llocalapack -lloca -lnoxthyra -lnoxepetra -lnoxlapack -lnox -lanasazitpetra -lModeLaplace -lanasaziepetra -lanasazi -lstratimikos -lstratimikosbelos -lstratimikosaztecoo -lstratimikosamesos -lstratimikosml -lstratimikosifpack -lbelostpetra -lbelosepetra -lbelos -lml -lifpack -lamesos -lgaleri -laztecoo -lisorropia -lthyratpetra -lthyraepetraext -lthyraepetra -lthyra -lepetraext -ltpetrainout -ltpetra -ltriutils -lzoltan -lsimpi -lepetra -lkokkoslinalg -lkokkosnodeapi -lkokkos -lrtop -ltpi -lteuchos
Trilinos_INCLUDE_DIRS = -I/home2/trilinos-10.6.4-Source/build-nox/include
Trilinos_LIBRARY_DIRS = -L/home2/trilinos-10.6.4-Source/build-nox/lib
Trilinos_TPL_LIST = LAPACK BLAS
Trilinos_TPL_INCLUDE_DIRS =
Trilinos_TPL_LIBRARIES = -llapack -lblas
Trilinos_TPL_LIBRARY_DIRS =
Trilinos_BUILD_SHARED_LIBS = ON
End of Trilinos details
/usr/bin/gcc -c -g -O0 -D_GLIBCXX_DEBUG -I/home2/trilinos-10.6.4-Source/build-nox/include ninaProblemInterface.C
In file included from /home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_RCPNode.hpp:39:0,
from /home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_RCPDecl.hpp:38,
from /home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_RCP.hpp:45,
from ninaProblemInterface.H:4,
from ninaProblemInterface.C:2:
/home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_ConfigDefs.hpp:128:9: error: ‘ptrdiff_t’ does not name a type
/home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_ConfigDefs.hpp:131:29: error: ‘Teuchos_Ordinal’ does not name a type
/home2/trilinos-10.6.4-Source/build-nox/include/Teuchos_ConfigDefs.hpp:135:9: error: ‘Teuchos_Ordinal’ does not name a type
make: *** [ninaProblemInterface.o] Error 1
narendiran at narendiran:~/Desktop/arc-length-continuation-test$
________________________________
_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov
http://software.sandia.gov/mailman/listinfo/trilinos-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20111102/fe1f06b2/attachment.html
More information about the Trilinos-Users
mailing list