[libvirt] Has anyone ever gotten the client or full to compile on OS X?

Schley Andrew Kutz sakutz at gmail.com
Sat May 2 22:12:59 UTC 2009


It's me. The original instigator of the long Leopard thread from early  
2008. I once again need to do libvirt development from my Mac, and I  
still cannot seem to get it to compile :(

It is currently bugging out at:

gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../ 
include -I../include -I../qemud -I/usr/include/libxml2 -DLIBDIR=\"/opt/ 
libvirt//lib\" -DBINDIR=\"/opt/libvirt//libexec\" -DSBINDIR=\"/opt/ 
libvirt//sbin\" -DSYSCONF_DIR=\"/opt/libvirt//etc\" -DLOCALEBASEDIR=\"/ 
opt/libvirt//share/locale\" -DLOCAL_STATE_DIR=\"/opt/libvirt//var\" - 
DGETTEXT_PACKAGE=\"libvirt\" -Wall -Wformat -Wmissing-prototypes - 
Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite- 
strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant- 
decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions - 
fasynchronous-unwind-tables -I/opt/local/include -g -O2 -MT pci.lo -MD  
-MP -MF .deps/pci.Tpo -c pci.c  -fno-common -DPIC -o .libs/pci.o
pci.c: In function 'pciFindStubDriver':
pci.c:652: error: 'MODPROBE' undeclared (first use in this function)
pci.c:652: error: (Each undeclared identifier is reported only once
pci.c:652: error: for each function it appears in.)
make[3]: *** [pci.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help is appreciated.

-- 
-a

"Ideally, a code library must be immediately usable by naive  
developers, easily customized by more sophisticated developers, and  
readily extensible by experts." -- L. Stein




More information about the libvir-list mailing list