Skip to content

Using make.inc.serial got error msg: ‘syscall’ was not declared in this scope  #44

@abitofalchemy

Description

@abitofalchemy

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.

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());
make[1]: *
* [src/count-tri.o] Error 1
make[1]: Leaving directory `/home/saguinag/Software/INDDGO/util'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions