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
--
-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
On May 2, 2009, at 5:19 PM, Schley Andrew Kutz wrote:
I'll try one more time.
I MEANT
--without-driver-modules
(sorry for the spam)
-- -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
On May 2, 2009, at 5:18 PM, Schley Andrew Kutz wrote:
--without-loadable-drivers
I meant "--without-loadable-modules"
-- -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
On May 2, 2009, at 5:17 PM, Schley Andrew Kutz wrote:
FWIW, here is my configure:
./configure --prefix=/opt/libvirt/ --without-sasl --without-avahi
--without-polkit --without-python --without-xen --without-qemu --
without-lxc --without-openvz --without-libvirtd
I also tried adding the "--without-loadable-drivers" command since
I thought including loadable modules may trigger the MODPROBE error.
--
-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
On May 2, 2009, at 5:12 PM, 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.
--
-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
--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list