[libvirt-users] Compile libvirt on OSX 10.12

Homie Pawlowski hpawlows at redhat.com
Wed Sep 13 21:20:21 UTC 2017

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
    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?




Red Hat


140 Broadway 24th Floor

New York, NY 10005

hpawlows at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170913/16abe109/attachment.htm>

More information about the libvirt-users mailing list