[libvirt] Re: make fails (Kenneth Nagin)
Daniel Veillard
veillard at redhat.com
Mon Jul 21 08:58:01 UTC 2008
On Mon, Jul 21, 2008 at 10:31:47AM +0300, Kenneth Nagin wrote:
>
> >I downloaded the latest libvirt and tried to make it but received this
> >error message:
>
> >make: *** No rule to make target `gnulib/m4/onceonly_2_57.m4', needed by
> >`Makefile.in'. Stop.
>
> The problem was related to running ./autogen.sh --prefix=$HOME/usr.
> I didn't notice that it did not run correctly. It requires the install
> gettext-devel
> which does not come automatically with fedora.
>
> But now the make fails due to an i386 / i386:x86-64 incompatibility. These
> are the error messages:
>
> /usr/bin/ld: i386 architecture of input file
> `.libs/libvirt_la-openvz_conf.o' is incompatible with i386:x86-64 output
> /usr/bin/ld: i386 architecture of input file
> `.libs/libvirt_la-openvz_driver.o' is incompatible with i386:x86-64 output
> collect2: ld returned 1 exit status
My guess is that you are sharing the same subtree between 32 and 64 bits
machines and there are remains of the build for x86-64 when attempting the
build on 32 bits. Run make clean (or distclean) and restart from scratch,
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list