Open abitofalchemy opened 8 years ago
I have encountered the same problem when trying to follow the instructions in ./INSTALL
(using make.inc.serial
, SuiteSparse and metis):
$ make
[...]
g++ -O3 -DHAS_METIS -D_FILE_OFFSET_BITS=64 -DHAS_SUITESPARSE -c -I./inc -I/home/mxmerz/INDDGO/lib_graphd/inc -I/home/mxmerz/INDDGO/lib_treed/inc -I/home/mxmerz/metis-5.0.2/include -I/home/mxmerz/metis-5.0.2/libmetis -I/home/mxmerz/metis-5.0.2/GKlib -I/home/mxmerz/metis-5.0.2/programs -I/home/mxmerz/SuiteSparse/CHOLMOD/Include -I/home/mxmerz/SuiteSparse/COLAMD/Include -I/home/mxmerz/SuiteSparse/AMD/Include -I/home/mxmerz/SuiteSparse/SuiteSparse_config -I/home/mxmerz/INDDGO/uthash-1.9.3/src src/count-tri.cpp -o src/count-tri.o
src/count-tri.cpp: In function 'int main(int, char**)':
src/count-tri.cpp:76:66: error: 'syscall' was not declared in this scope
printf("My TID: %ld running on CPU: %d\n", syscall(SYS_gettid), sched_getcpu());
^
Makefile:44: recipe for target 'src/count-tri.o' failed
make[1]: *** [src/count-tri.o] Error 1
make[1]: Leaving directory '/home/mxmerz/INDDGO/util'
Makefile:101: recipe for target 'util' failed
make: *** [util] Error 2
After commenting line 76, util/src/count-tri.cpp
compiled without problems.
Hello All, I did not see this error show up in earlier issues, does any one have a suggestion? I tried compiling on an Ubuntu system.