[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Sat, May 02, 2009 at 05:12:59PM -0500, Schley Andrew Kutz wrote:
> 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.

Looks like a bug in our code - we shouldn't build this file unless QEMU
or Xen drivers are enabled.


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]