I'm trying to install GetFEM++ on my mac (OSX Mavericks, 64
bit intel i386) with the python option enabled. I have been
following the installation for mac instructions in the file
INSTALL together with the flag --enable-python=yes in the
second call of the configure command (after running configure
in the gmm folder). These commands execute properly. However,
when I now run make in the getfem folder, I get a number of
errors having to do with compiler namespace conflicts and the
like. (Compiler = gcc.)
Is there a way to solve this problem? Thanks for your
help.
In file included from getfem_superlu.cc:42:
../superlu/slu_ddefs.h:140:16:
error: conflicting
types for 'countnz'
extern
void countnz (const int, int *, int *, int *, GlobalLU_t
*);
^
../superlu/slu_sdefs.h:140:16:
note: previous declaration is here
extern
void countnz (const int, int *, int *, int *, GlobalLU_t
*);
^
In file
included from getfem_superlu.cc:42:
../superlu/slu_ddefs.h:141:16:
error: conflicting
types for 'fixupL'
extern
void fixupL (const int, const int *, GlobalLU_t *);
^
../superlu/slu_sdefs.h:141:16:
note: previous declaration is here
extern
void fixupL (const int, const int *, GlobalLU_t *);
^
In file
included from getfem_superlu.cc:42:
../superlu/slu_ddefs.h:219:16:
error: conflicting
types for 'PrintPerf'
extern
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t
*,
^
../superlu/slu_sdefs.h:219:16:
note: previous declaration is here
extern
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t
*,
^
In file
included from getfem_superlu.cc:42:
../superlu/slu_ddefs.h:226:16:
error: conflicting
types for 'print_lu_col'
extern
void print_lu_col(char *, int, int, int *, GlobalLU_t *);
^
../superlu/slu_sdefs.h:226:16:
note: previous declaration is here
extern
void print_lu_col(char *, int, int, int *, GlobalLU_t *);
^
In file
included from getfem_superlu.cc:42:
../superlu/slu_ddefs.h:227:16:
error: conflicting
types for 'check_tempv'
extern
void check_tempv(int, double *);
^
../superlu/slu_sdefs.h:227:16:
note: previous declaration is here
extern
void check_tempv(int, float *);
^
In file
included from getfem_superlu.cc:45:
../superlu/slu_cdefs.h:141:16:
error: conflicting
types for 'countnz'
extern
void countnz (const int, int *, int *, int *, GlobalLU_t
*);
^
../superlu/slu_sdefs.h:140:16:
note: previous declaration is here
extern
void countnz (const int, int *, int *, int *, GlobalLU_t
*);
^
In file
included from getfem_superlu.cc:45:
../superlu/slu_cdefs.h:142:16:
error: conflicting
types for 'fixupL'
extern
void fixupL (const int, const int *, GlobalLU_t *);
^
../superlu/slu_sdefs.h:141:16:
note: previous declaration is here
extern
void fixupL (const int, const int *, GlobalLU_t *);
^
In file
included from getfem_superlu.cc:45:
../superlu/slu_cdefs.h:222:16:
error: conflicting
types for 'PrintPerf'
extern
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t
*,
^
../superlu/slu_sdefs.h:219:16:
note: previous declaration is here
extern
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t
*,
^
In file
included from getfem_superlu.cc:45:
../superlu/slu_cdefs.h:229:16:
error: conflicting
types for 'print_lu_col'
extern
void print_lu_col(char *, int, int, int *, GlobalLU_t *);
^
../superlu/slu_sdefs.h:226:16:
note: previous declaration is here
extern
void print_lu_col(char *, int, int, int *, GlobalLU_t *);
^
In file
included from getfem_superlu.cc:45:
../superlu/slu_cdefs.h:230:16:
error: conflicting
types for 'check_tempv'
extern
void check_tempv(int, complex *);
^
../superlu/slu_sdefs.h:227:16:
note: previous declaration is here
extern
void check_tempv(int, float *);
^
In file
included from getfem_superlu.cc:48:
../superlu/slu_zdefs.h:141:16:
error: conflicting
types for 'countnz'
extern
void countnz (const int, int *, int *, int *, GlobalLU_t
*);
^
../superlu/slu_sdefs.h:140:16:
note: previous declaration is here
extern
void countnz (const int, int *, int *, int *, GlobalLU_t
*);
^
In file
included from getfem_superlu.cc:48:
../superlu/slu_zdefs.h:142:16:
error: conflicting
types for 'fixupL'
extern
void fixupL (const int, const int *, GlobalLU_t *);
^
../superlu/slu_sdefs.h:141:16:
note: previous declaration is here
extern
void fixupL (const int, const int *, GlobalLU_t *);
^
In file
included from getfem_superlu.cc:48:
../superlu/slu_zdefs.h:222:16:
error: conflicting
types for 'PrintPerf'
extern
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t
*,
^
../superlu/slu_sdefs.h:219:16:
note: previous declaration is here
extern
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t
*,
^
In file
included from getfem_superlu.cc:48:
../superlu/slu_zdefs.h:229:16:
error: conflicting
types for 'print_lu_col'
extern
void print_lu_col(char *, int, int, int *, GlobalLU_t *);
^
../superlu/slu_sdefs.h:226:16:
note: previous declaration is here
extern
void print_lu_col(char *, int, int, int *, GlobalLU_t *);
^
In file
included from getfem_superlu.cc:48:
../superlu/slu_zdefs.h:230:16:
error: conflicting
types for 'check_tempv'
extern
void check_tempv(int, doublecomplex *);
^
../superlu/slu_sdefs.h:227:16:
note: previous declaration is here
extern
void check_tempv(int, float *);
^
4
warnings and 15 errors generated.
make[2]:
*** [getfem_superlu.lo] Error 1
make[1]:
*** [all-recursive] Error 1
make:
*** [all] Error 2