[libvirt] Re: make fails (Kenneth Nagin)
Daniel P. Berrange
berrange at redhat.com
Mon Jul 21 09:39:27 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
I'd say your compiler toolchain installation is messed up - you seem
to have compiled for i386, and but are linking for x86_64
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list