On Wed, Nov 28, 2007 at 01:25:41PM +1300, Carl Jones 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 Looks like its missing an '#include <time.h>' statement from virsh.c Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list