Regarding the compile errors below: --without-xen allows me to compile HEAD, but with-xen seems broken For the 0.5.0 tag - 'qemudCapsInitNUMA' qemu_conf.c:325: error: passing argument 2 of 'numa_node_to_cpus' from incompatible pointer type - doesn't seem related to the HEAD break. Could be related to a higher level of gcc in fc10? > -----Original Message----- > From: Itamar Heim [mailto:iheim@xxxxxxxxxx] > Sent: Friday, December 05, 2008 1:26 AM > To: 'Daniel P. Berrange' > Cc: 'Libvir-list@xxxxxxxxxx' > Subject: RE: [libvirt] broken pipe? > > > -----Original Message----- > > From: Daniel P. Berrange [mailto:berrange@xxxxxxxxxx] > ... > > > Basically take a look at libvirt.spec.in and make sure you > > have all the 'BuildRequires" lines installed > [IH] done that. Added the following list. > xen-devel libxml2-devel gnutls-devel cyrus-sasl-devel cvs PolicyKit- > devel avahi-devel libselinux-devel numactl-devel readline-devel parted- > devel hal-devel python-devel xhtml1-dtds > > I still fail on compile errors for both HEAD and 0.5.0 tag (details for > both below): > > 1) Using autobuild.sh - HEAD fails with this error: > gcc -g -O2 -Wall -Wformat -Wformat-security -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 -Werror -o libvirt_proxy libvirt_proxy.o > xend_internal.o xen_internal.o virterror.o sexpr.o xs_internal.o buf.o > capabilities.o memory.o domain_conf.o util.o event.o uuid.o logging.o - > lxenstore ../gnulib/lib/.libs/libgnu.a -lpthread > domain_conf.o: In function `virDomainFindByName': > /a/libvirt/proxy/../src/domain_conf.c:190: undefined reference to > `virDomainObjUnlock' > /a/libvirt/proxy/../src/domain_conf.c:187: undefined reference to > `virDomainObjLock' > domain_conf.o: In function `virDomainFindByID': > /a/libvirt/proxy/../src/domain_conf.c:155: undefined reference to > `virDomainObjLock' > /a/libvirt/proxy/../src/domain_conf.c:159: undefined reference to > `virDomainObjUnlock' > domain_conf.o: In function `virDomainRemoveInactive': > /a/libvirt/proxy/../src/domain_conf.c:489: undefined reference to > `virDomainObjUnlock' > /a/libvirt/proxy/../src/domain_conf.c:508: undefined reference to > `virDomainObjUnlock' > /a/libvirt/proxy/../src/domain_conf.c:492: undefined reference to > `virDomainObjLock' > /a/libvirt/proxy/../src/domain_conf.c:494: undefined reference to > `virDomainObjUnlock' > domain_conf.o: In function `virDomainAssignDef': > /a/libvirt/proxy/../src/domain_conf.c:468: undefined reference to > `virDomainObjLock' > domain_conf.o: In function `virDomainFindByUUID': > /a/libvirt/proxy/../src/domain_conf.c:175: undefined reference to > `virDomainObjUnlock' > /a/libvirt/proxy/../src/domain_conf.c:172: undefined reference to > `virDomainObjLock' > collect2: ld returned 1 exit status > make[2]: *** [libvirt_proxy] Error 1 > make[2]: Leaving directory `/a/libvirt/proxy' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/a/libvirt' > make: *** [all] Error 2 > > HEAD is at: > commit b8727cf738fb1535d6b3f71cb16ff2b9ff932501 > Author: Daniel P. Berrange <berrange@xxxxxxxxxx> > Date: Thu Dec 4 22:19:30 2008 +0000 > > Remove unused driver arg from monitor APIs > ------- > 2) 0.5.0 tag fails with this error: > gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib - > I../include -I../include -I../qemud -I/usr/include/libxml2 - > DLIBDIR=\"/lib\" -DBINDIR=\"/libexec\" -DSBINDIR=\"/sbin\" - > DSYSCONF_DIR=\"/etc\" -DLOCALEBASEDIR=\"/share/locale\" - > DLOCAL_STATE_DIR=\"/var\" -DGETTEXT_PACKAGE=\"libvirt\" -Wall -Wformat - > Wformat-security -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 -Werror -g > -O2 -MT libvirt_driver_qemu_la-qemu_conf.lo -MD -MP -MF > .deps/libvirt_driver_qemu_la-qemu_conf.Tpo -c qemu_conf.c -fPIC -DPIC - > o .libs/libvirt_driver_qemu_la-qemu_conf.o > cc1: warnings being treated as errors > qemu_conf.c: In function 'qemudCapsInitNUMA': > qemu_conf.c:325: error: passing argument 2 of 'numa_node_to_cpus' from > incompatible pointer type > qemu_conf.c:325: error: too many arguments to function > 'numa_node_to_cpus' > make[3]: *** [libvirt_driver_qemu_la-qemu_conf.lo] Error 1 > make[3]: *** Waiting for unfinished jobs.... > > 0.5.0 is at: > commit 20e8e06b63e6e2dd42b5f6faaf63ba30721b8692 > Author: Daniel Veillard <veillard@xxxxxxxxxx> > Date: Tue Nov 25 15:48:11 2008 +0000 > > Release of 0.5.0 > * configure.in docs/* NEWS: release of 0.5.0 > * po/*: updated from the translators and merged > * docs/apibuild.py src/libvirt.c: avoid some warnings at doc > generation time > daniel > > > > > Regards, > > Daniel -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list