[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Error Compiling Xen-unstable 4.4 Changeset 27214
On 14/07/2013 10:41, Singapore Citizen Mr. Teo En Ming (Zhang Enming) wrote: On 13/07/2013 19:30, Singapore Citizen Mr. Teo En Ming (Zhang Enming) wrote:On 13/07/2013 18:30, Singapore Citizen Mr. Teo En Ming (Zhang Enming) wrote:On 13/07/2013 17:45, Ian Campbell wrote:On Sat, 2013-07-13 at 13:36 +0800, Singapore Citizen Mr. Teo En Mingchecking for C compiler default output file name... configure: error: Ccompiler cannot create executablesYour compiler appears to be broken. This most likely has nothing to do with Xen.See `config.log' for more details.I bet you'll find some clues in here. Ian.Dear Ian,So I should reinstall gcc? I checked config.log but there's nothing. Configure exited with 0 status. Attached is my config.log in the stubdom directory.Dear Ian,But I can compile and install Linux kernel 3.10.0 successfully. So it shouldn't be the case where my compiler is broken.Hi,I have just downloaded the official stable xen-4.3.0.tar.gz. With the official stable xen-4.3.0, I also encountered the same problem.checking for C compiler default output file name... configure: error: C compiler cannot create executablesSee `config.log' for more details. make[2]: *** [cross-root-x86_64/x86_64-xen-elf/lib/libc.a] Error 77 make[2]: Leaving directory `/home/teo-en-ming/xen-4.3.0/stubdom' make[1]: *** [install-stubdom] Error 2 make[1]: Leaving directory `/home/teo-en-ming/xen-4.3.0' make: *** [world] Error 2 I have attached config.log. Please refer to it. Please advise what is wrong as I have totally no clue. Thank you very much. Hi, I ran ./configure in the stubdom directory. This is what I get. teo-en-ming@intel-core-i5-4430-desktop:~/xen-4.3.0/stubdom$ ./configure checking for wget... /usr/bin/wget checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for cmake... /usr/bin/cmake Will build the following stub domains: ioemu-stubdom pv-grub xenstore-stubdom vtpm-stubdom vtpmmgr-stubdom configure: creating ./config.status config.status: creating ../config/Stubdom.mk I think the problem lies in... checking for suffix of executables...That is, the configure script cannot determine the suffix of executables, that's why it says "C compiler cannot create executables". But how do I overcome the problem? Do I have to hack the configure script? -- Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |