I'm trying to compile the Getfem-matlab interface on Ubuntu 12.04 LTS 64-Bit. I've installed GCC-4.3 in order to ensure the compatibility of the GCC compiler used by MEX. Unfortunately the compilation fails with the following error:
../.libs/libgetfemint.a ../../../src/.libs/libgetfem.a -lzmumps_seq -lcmumps_seq -ldmumps_seq -lsmumps_seq -lmuparser -lqhull -lblas -llapack || (rm gf_matlab.mexa64; false)
../../.././../getfem-4.2/interface/src/matlab/gfm_mex.c: In function ‘gfi_output* call_getfem_interface(char*, gfi_array_list, int)’:
../../.././../getfem-4.2/interface/src/matlab/gfm_mex.c:58: error: invalid conversion from ‘void*’ to ‘gfi_array**’
../../.././../getfem-4.2/interface/src/matlab/gfm_mex.c:70: error: invalid conversion from ‘void*’ to ‘gfi_array*’
../../.././../getfem-4.2/interface/src/matlab/gfm_mex.c: In function ‘void sigint_callback(int)’:
../../.././../getfem-4.2/interface/src/matlab/gfm_mex.c:85: warning: deprecated conversion from string constant to ‘char*’
../../.././../getfem-4.2/interface/src/matlab/gfm_mex.c: In function ‘void mexFunction(int, mxArray**, int, const mxArray**)’:
../../.././../getfem-4.2/interface/src/matlab/gfm_mex.c:104: error: invalid conversion from ‘void*’ to ‘char*’
../../.././../getfem-4.2/interface/src/matlab/gfm_mex.c:140: error: invalid conversion from ‘void*’ to ‘char*’
mex: compile of ' "../../.././../getfem-4.2/interface/src/matlab/gfm_mex.c"' failed.
Getfem has been configured with the following parameters:
./../getfem-4.2/configure --enable-matlab --enable-python --enable-superlu --with-pic --enable-qhull --with-matlab-toolbox-dir=/usr/local/MATLAB/R2010b/toolbox/getfem MEX=/usr/local/MATLAB/R2010b/bin/mex
I would be really grateful if anyone has an idea how I can fix this issue.
Thanks a lot in advance
Best regards,
Johannes