Displaying 2 results from an estimated 2 matches for "sys_gettid".
2017 Sep 13
2
Compile libvirt on OSX 10.12
...l_la-virthread.lo
util/virthread.c:272:17: error: 'syscall' is deprecated: first deprecated
in macOS 10.12 - syscall(2) is unsupported;
please switch to a supported interface. For SYS_kdebug_trace use
kdebug_signpost().
[-Werror,-Wdeprecated-declarations]
pid_t tid = syscall(SYS_gettid);
^
/usr/include/unistd.h:733:6: note: 'syscall' has been explicitly marked
deprecated here
int syscall(int, ...);
^
1 error generated.
make[3]: *** [util/libvirt_util_la-virthread.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
Any...
2017 Sep 14
0
Re: Compile libvirt on OSX 10.12
...t; util/virthread.c:272:17: error: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported;
> please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost().
> [-Werror,-Wdeprecated-declarations]
> pid_t tid = syscall(SYS_gettid);
> ^
> /usr/include/unistd.h:733:6: note: 'syscall' has been explicitly marked deprecated here
> int syscall(int, ...);
> ^
> 1 error generated.
> make[3]: *** [util/libvirt_util_la-virthread.lo] Error 1
> make[2]: *** [all] Error 2
> m...