[Libvir] Build error without Xen
Richard W.M. Jones
rjones at redhat.com
Fri Oct 26 08:31:48 UTC 2007
Jim Paris wrote:
> Hi,
>
> The recent changes to src/xml.c breaks the build without xen:
>
> $ ./autogen.sh \
> --prefix=/usr \
> --mandir=\${prefix}/share/man \
> --infodir=\${prefix}/share/info \
> --sysconfdir=/etc \
> --localstatedir=/var \
> --without-xen
> $ make
> ...
> gcc -g -O2 -o .libs/virsh -Wall -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 virsh-virsh.o virsh-console.o -Wall -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 ./.libs/libvirt.so -lcurses -lreadline
> ./.libs/libvirt.so: undefined reference to `xenNbCpus'
> collect2: ld returned 1 exit status
> make[2]: *** [virsh] Error 1
> make[2]: Leaving directory `/usr/local/src/libvirt/libvirt/src'
That's be a problem with the recent NUMA changes, I think ...
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071026/f63cdf08/attachment-0001.bin>
More information about the libvir-list
mailing list