I'm having issues with compiling libvirt on OSX 10.12
~/Development/github/libvirt/ [master] make
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in .
Making all in gnulib/lib
/Library/Developer/CommandLineTools/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
Making all in include/libvirt
make[2]: Nothing to be done for `all'.
Making all in src
/Library/Developer/CommandLineTools/usr/bin/make all-am
CC util/libvirt_util_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
Anyone have any suggestion on how to do so?
Thanks,
-- _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users