Dear Adrian,

Usually, this produces only some Warnings. Which release of gcc are you
using ? gcc release >= 4.6 is recommended.

Yves.



Le 04/07/2014 23:23, Adrian Butscher a écrit :
> Hi,
>
> 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.
>
> Adrian
>
> --- 
>
> Here are the errors:
>
> 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
>
>
>
>
>
>
> _______________________________________________
> Getfem-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/getfem-users


-- 

  Yves Renard ([email protected])       tel : (33) 04.72.43.87.08
  Pole de Mathematiques, INSA-Lyon             fax : (33) 04.72.43.85.29
  20, rue Albert Einstein
  69621 Villeurbanne Cedex, FRANCE
  http://math.univ-lyon1.fr/~renard

---------

_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to