Hi, yes, you are right, I had defined the constant GID in my ".h file".
Thank-you very much Best Isa > >> It is the only different thing that I have changed, but when I do my >> makefile, through "make" I obtain: >> >> ************************************************************************ >>************************************************************************* >>************ In file included from >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>Map.h:104, from >> /home/misabel/PROYECTOS_ANJUTA/ESQUEMA_LIU/cavidad3DLIU/cavidad3DLIU/inc >>lude/LIU_3D_cavidadKIMMOIN_trilinos.h:38, from >> /home/misabel/PROYECTOS_ANJUTA/ESQUEMA_LIU/cavidad3DLIU/cavidad3DLIU/src >>/LIU_3D_cavidadKIMMOIN_neu_trilinos.cpp:3: >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>BlockMap.h:357: error: expected ',' or '...' before numeric constant >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>BlockMap.h:360: error: expected unqualified-id before numeric constant >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>BlockMap.h:366: error: expected ',' or '...' before numeric constant >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>BlockMap.h: In member function 'bool Epetra_BlockMap::MyLID(int) const': >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>BlockMap.h:369: error: no se puede usar '0' como una función >> In file included from >> /home/misabel/PROYECTOS_ANJUTA/ESQUEMA_LIU/cavidad3DLIU/cavidad3DLIU/inc >>lude/LIU_3D_cavidadKIMMOIN_trilinos.h:39, from >> /home/misabel/PROYECTOS_ANJUTA/ESQUEMA_LIU/cavidad3DLIU/cavidad3DLIU/src >>/LIU_3D_cavidadKIMMOIN_neu_trilinos.cpp:3: >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsGraph.h: At global scope: >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsGraph.h:502: error: expected ',' or '...' before numeric constant >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsGraph.h: In member function 'int Epetra_CrsGraph::GRID(int) const': >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsGraph.h:730: error: expected unqualified-id before numeric constant >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsGraph.h:730: error: expected `)' before numeric constant >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsGraph.h: In member function 'int Epetra_CrsGraph::GCID(int) const': >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsGraph.h:747: error: expected unqualified-id before numeric constant >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsGraph.h:747: error: expected `:' before numeric constant >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsGraph.h:747: error: no se puede usar '0' como una función >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsGraph.h:747: error: expected `)' before ':' token >> In file included from >> /home/misabel/PROYECTOS_ANJUTA/ESQUEMA_LIU/cavidad3DLIU/cavidad3DLIU/inc >>lude/LIU_3D_cavidadKIMMOIN_trilinos.h:40, from >> /home/misabel/PROYECTOS_ANJUTA/ESQUEMA_LIU/cavidad3DLIU/cavidad3DLIU/src >>/LIU_3D_cavidadKIMMOIN_neu_trilinos.cpp:3: >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsMatrix.h: At global scope: >> /home/misabel/LIBRERIA_TRILINOS/trilinos-8.0.8/LINUX_MPI/include/Epetra_ >>CrsMatrix.h:956: error: expected ',' or '...' before numeric constant > > This is the sort of error that you get when you #define certain names that > are used in these header files. In this particular case, did you #define > the name GID somewhere? Or any of the other strings that appear on the > lines you quote? > > Best > W. > > > -- > ------------------------------------------------------------------------- > Wolfgang Bangerth email: [EMAIL PROTECTED] > www: http://www.math.tamu.edu/~bangerth/ > > **************************************************** "Sueña como si fueses a vivir para siempre y vive como si fueses a morir hoy mismo" _______________________________________________
