I'm trying to install the current sources of Calculix on a Mac M1 Monterey
When doing sudo make I find the following a compilation error :
CalculiX_m1/CalculiX/ccx_2.15/src]$ sudo make
gcc -Wall -O3 -pthread -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -DUSE_MT -c compfluid.c
compfluid.c:1013:8: error: implicit declaration of function 'dslugm' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
FORTRAN(dslugm,(nef,&b[0],&vel[4nef],&nelt,ia,ja,aua,
^
./CalculiX.h:27:22: note: expanded from macro 'FORTRAN'
#define FORTRAN(A,B) A## B_**_
I found that this error is due to the fact that the declaration of the function "dslugm" was missing before it is used in line 1013 in file compfluid. c . I was expecting to find then this definition on the file Calculix.h but is not the case.
@bobmel
I'm trying to install the current sources of Calculix on a Mac M1 Monterey
When doing sudo make I find the following a compilation error :
CalculiX_m1/CalculiX/ccx_2.15/src]$ sudo make
gcc -Wall -O3 -pthread -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT -DUSE_MT -c compfluid.c
compfluid.c:1013:8: error: implicit declaration of function 'dslugm' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
FORTRAN(dslugm,(nef,&b[0],&vel[4nef],&nelt,ia,ja,aua,
^
./CalculiX.h:27:22: note: expanded from macro 'FORTRAN'
#define FORTRAN(A,B) A## B_**_
I found that this error is due to the fact that the declaration of the function "dslugm" was missing before it is used in line 1013 in file compfluid. c . I was expecting to find then this definition on the file Calculix.h but is not the case.
@bobmel