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

Daniel P. Berrange berrange at redhat.com
Tue May 5 09:15:06 UTC 2009


On Sat, May 02, 2009 at 05:29:21PM -0500, Schley Andrew Kutz wrote:
> In pci.c I added a definition for MODPROBE 0x0 and I get further in  
> the make, but it still errors out:
> 
> CHANGE
> 
> #define MODPROBE 0x0
> 
> ERROR
> 
> 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  
> libvirt_driver_uml_la-uml_conf.lo -MD -MP -MF .deps/ 
> libvirt_driver_uml_la-uml_conf.Tpo -c uml_conf.c  -fno-common -DPIC - 
> o .libs/libvirt_driver_uml_la-uml_conf.o
> In file included from uml_conf.c:39:
> uml_conf.h:50: error: syntax error before 'brControl'
> uml_conf.h:50: warning: no semicolon at end of struct or union
> uml_conf.h:60: error: syntax error before '}' token
> In file included from uml_conf.c:45:
> nodeinfo.h:31: warning: declaration of 'caps' shadows a global  
> declaration
> uml_conf.h:59: warning: shadowed declaration is here
> uml_conf.c: In function 'umlCapsInit':
> uml_conf.c:55: warning: declaration of 'caps' shadows a global  
> declaration
> uml_conf.h:59: warning: shadowed declaration is here
> make[3]: *** [libvirt_driver_uml_la-uml_conf.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

You ought to be able to add '--without-uml' to configure args to
fix that problem


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




More information about the libvir-list mailing list