-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Dear friends,
I am building openblas in linux. I got the following error due to function defined in memory.c. Is this a bug or some other issue? Thanks!
gcc -O2 -DMAX_STACK_ALLOC=2048 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=32 -DASMNAME=memory -DASMFNAME=memory_ -DNAME=memory_ -DCNAME=memory -DCHAR_NAME="memory_" -DCHAR_CNAME="memory" -DNO_AFFINITY -I../.. -c memory.c -o memory.o
memory.c:1348: error: wrong number of arguments specified for 'constructor' attribute
memory.c:1406: error: wrong number of arguments specified for 'destructor' attribute
make[1]: *** [memory.o] Error 1
line 1348: void CONSTRUCTOR gotoblas_init(void)
line 1406: void DESTRUCTOR gotoblas_quit(void)
Regards,
Hainan
Metadata
Metadata
Assignees
Labels
No labels