Probably you need libc6-dev package!
Regards,
Luiz Vitor Martinez Cardoso aka Grabber.
On Nov 27, 2007 10:25 PM, Carl Jones <carl(a)rimuhosting.com> wrote:
Hi,
I'm trying to build libvirt-0.3.3 on a CentOS4 machine. But I'm hitting
this error while running 'make':
./configure --with-init-script=redhat --without-qemu --without-remote
--without-test --with-xen --without-openvz --without-avahi
[...]
make[2]: Entering directory `/usr/src/redhat/SOURCES/libvirt-0.3.3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I../qemud
-I/usr/include/libxml2 -DBINDIR=\""/usr/local/libexec"\"
-DSBINDIR=\""/usr/local/sbin"\"
-DSYSCONF_DIR="\"/usr/local/etc\""
-DLOCALEBASEDIR=\""/usr/local/share/locale"\"
-DLOCAL_STATE_DIR=\""/usr/local/var"\"
-DGETTEXT_PACKAGE=\"libvirt\"
-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
-DWITH_XEN -g -O2 -MT virsh-virsh.o -MD -MP -MF .deps/virsh-virsh.Tpo
-c -o virsh-virsh.o `test -f 'virsh.c' || echo './'`virsh.c
virsh.c: In function `vshOutputLogFile':
virsh.c:4577: warning: implicit declaration of function `localtime'
virsh.c:4577: warning: nested extern declaration of `localtime'
virsh.c:4577: warning: assignment makes pointer from integer without a
cast
virsh.c:4578: error: dereferencing pointer to incomplete type
virsh.c:4578: error: dereferencing pointer to incomplete type
virsh.c:4578: error: dereferencing pointer to incomplete type
virsh.c:4578: error: dereferencing pointer to incomplete type
virsh.c:4578: error: dereferencing pointer to incomplete type
virsh.c:4578: error: dereferencing pointer to incomplete type
make[2]: *** [virsh-virsh.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/libvirt-0.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/libvirt-0.3.3'
make: *** [all] Error 2
I've tried building from CVS, but that fails also (different issue). Any
ideas? I've grabbed the newer gnutls from CentOS5, and other
dependencies are already installed.
Regards,
Carl
--
Libvir-list mailing list
Libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
--
Regards,
Luiz Vitor Martinez Cardoso [Grabber].
(11) 8187-8662
Eletrical Engineer at maua.br