Dear all,

I try to compile GetFem++ on my Mac 10.9.2. and I keep getting the following error message:

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I.. -DGMM_USES_BLAS -I/Users/stephangekle/getfem/include -I/Users/stephangekle/getfem/include -DGMM_USES_LAPACK -arch i386 -mmacosx-version-min=10.5 -MT getfem_superlu.lo -MD -MP -MF .deps/getfem_superlu.Tpo -c getfem_superlu.cc -fno-common -DPIC -o getfem_superlu.o
In file included from getfem_superlu.cc:22:
In file included from ./getfem/getfem_superlu.h:47:
In file included from ./getfem/getfem_config.h:155:
In file included from ./getfem/bgeot_config.h:50:
In file included from ./gmm/gmm_kernel.h:51:
./gmm/gmm_blas_interface.h:158:12: warning: 'cdotu_' has C-linkage specified, but returns user-defined type 'std::complex<float>' which is
      incompatible with C [-Wreturn-type-c-linkage]
    BLAS_C cdotu_(...); BLAS_Z zdotu_(...);
           ^
./gmm/gmm_blas_interface.h:158:32: warning: 'zdotu_' has C-linkage specified, but returns user-defined type 'std::complex<double>' which is
      incompatible with C [-Wreturn-type-c-linkage]
    BLAS_C cdotu_(...); BLAS_Z zdotu_(...);
                               ^
./gmm/gmm_blas_interface.h:159:12: warning: 'cdotc_' has C-linkage specified, but returns user-defined type 'std::complex<float>' which is
      incompatible with C [-Wreturn-type-c-linkage]
    BLAS_C cdotc_(...); BLAS_Z zdotc_(...);
           ^
./gmm/gmm_blas_interface.h:159:32: warning: 'zdotc_' has C-linkage specified, but returns user-defined type 'std::complex<double>' which is
      incompatible with C [-Wreturn-type-c-linkage]
    BLAS_C cdotc_(...); BLAS_Z zdotc_(...);
                               ^
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 *);


[ more similar errors follow]

It seems that the Mac compiler has a more severe type-checking than other versions and that's why it goes wrong?
Any suggestions are greatly appreciated!

Thanks a lot and best regards,

  Stephan

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

Reply via email to