Skip to content

make: *** [Makefile:62: src/ccx_2.21_MT] Error 2 #1

@QiangF

Description

@QiangF

I got this error when trying to build on archlinux, with WITH_MKL=true and WITH_MKL_STATIC=false

 In file included from filtermain_backward.c:23:
 filtermain_backward.c: In function ‘filtermain_backward’:
 filtermain_backward.c:82:11: error: implicit declaration of function ‘filtermatrix_’; did you mean ‘filtermain’? [-Wimplicit-function-declaration]
    82 |   FORTRAN(filtermatrix,(au,jq,irow,icol,ndesi,nodedesi,&filterrad,co,nk,
       |           ^~~~~~~~~~~~
 CalculiX.h:26:22: note: in definition of macro ‘FORTRAN’
    26 | #define FORTRAN(A,B) A##_  B
       |                      ^
 filtermain_backward.c:86:11: error: implicit declaration of function ‘filter_backward_’; did you mean ‘filtermain_backward’? [-Wimplicit-function-declaration]
    86 |   FORTRAN(filter_backward,(au,jq,irow,icol,ndesi,nodedesi,dgdxglob,nobject,
       |           ^~~~~~~~~~~~~~~
 CalculiX.h:26:22: note: in definition of macro ‘FORTRAN’
    26 | #define FORTRAN(A,B) A##_  B
       |                      ^
 filtermain_backward.c:32:37: warning: unused variable ‘ithread’ [-Wunused-variable]
    32 |   ITG *nx=NULL,*ny=NULL,*nz=NULL,i,*ithread=NULL,*mast=NULL,*irow=NULL,
       |                                     ^~~~~~~
 make[1]: *** [Makefile_MT:84: filtermain_backward.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 electromagnetics.c:966:13: warning: ‘nloadref’ may be used uninitialized [-Wmaybe-uninitialized]
   966 |       *nload=nloadref;
       |       ~~~~~~^~~~~~~~~
 electromagnetics.c:120:41: note: ‘nloadref’ was declared here
   120 |     *nelemloadref=NULL,*iamloadref=NULL,nloadref,kscale=1,
       |                                         ^~~~~~~~
 expand.c: In function ‘expand’:
 expand.c:863:35: warning: ‘locdir’ may be used uninitialized [-Wmaybe-uninitialized]
   863 |                                 if(locdir!=-1){
       |                                   ^
 expand.c:76:59: note: ‘locdir’ was declared here
    76 |       nodeleft,*noderight=NULL,numnodes,ileft,kflag=2,itr,locdir,
       |                                                           ^~~~~~
 expand.c:762:27: warning: ‘idirnew’ may be used uninitialized [-Wmaybe-uninitialized]
   762 |                         if(nodempcold[3*index+1]==idir){
       |                           ^
 expand.c:80:55: note: ‘idirnew’ was declared here
    80 |       *islavnode=NULL,*nslavnode=NULL,*islavsurf=NULL,idirnew,
       |                                                       ^~~~~~~
 dyna.c:2059:12: warning: ‘mpcendold’ may be used uninitialized [-Wmaybe-uninitialized]
  2059 |     *mpcend=mpcendold;
       |     ~~~~~~~^~~~~~~~~~
 dyna.c:90:34: note: ‘mpcendold’ was declared here
    90 |     *ilmpc=NULL,nsectors,nmpcold,mpcendold,*ipompcold=NULL,*nodempcold=NULL,
       |                                  ^~~~~~~~~
 dyna.c:2062:49: warning: ‘coefmpcold’ may be used uninitialized [-Wmaybe-uninitialized]
  2062 |     for(i=0;i<*mpcend;i++){coefmpc[i]=coefmpcold[i];}
       |                                       ~~~~~~~~~~^~~
 dyna.c:128:52: note: ‘coefmpcold’ was declared here
   128 |     *eme=NULL,*ener=NULL,*coefmpc=NULL,*fmpc=NULL,*coefmpcold,*veold=NULL,
       |                                                    ^~~~~~~~~~
 make[1]: Leaving directory '/home/q/Documents/CalculiX-Builder/src'
 make: *** [Makefile:62: src/ccx_2.21_MT] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions