From: "Singapore Citizen Mr. Teo En Ming (Zhang Enming)" <singapore.mr.teo.en.ming@gmail.com>
To: singapore.mr.teo.en.ming@gmail.com
Cc: Ian Campbell <ian.campbell@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Error Compiling Xen-unstable 4.4 Changeset 27214
Date: Sun, 14 Jul 2013 10:41:07 +0800 [thread overview]
Message-ID: <51E20FC3.7030203@gmail.com> (raw)
In-Reply-To: <51E13A5F.5050307@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]
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 Ming
>>> checking for C compiler default output file name... configure: error: C
>>>> compiler cannot create executables
>>> Your 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 executables
See `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.
--
Yours sincerely,
Singapore Citizen Mr. Teo En Ming (Zhang Enming)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: config.log --]
[-- Type: text/x-log; name="config.log", Size: 9354 bytes --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Xen Hypervisor Stub Domains configure 4.3, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ ./configure --disable-option-checking --prefix=/usr/local --cache-file=/dev/null --srcdir=.
## --------- ##
## Platform. ##
## --------- ##
hostname = intel-core-i5-4430-desktop
uname -m = x86_64
uname -r = 3.8.0-19-generic
uname -s = Linux
uname -v = #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/lib/lightdm/lightdm
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2169: checking for wget
configure:2187: found /usr/bin/wget
configure:2200: result: /usr/bin/wget
configure:2318: checking for gcc
configure:2334: found /usr/bin/gcc
configure:2345: result: gcc
configure:2574: checking for C compiler version
configure:2583: gcc --version >&5
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2594: $? = 0
configure:2583: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configure:2594: $? = 0
configure:2583: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2594: $? = 4
configure:2583: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2594: $? = 4
configure:2614: checking whether the C compiler works
configure:2636: gcc conftest.c >&5
configure:2640: $? = 0
configure:2688: result: yes
configure:2691: checking for C compiler default output file name
configure:2693: result: a.out
configure:2699: checking for suffix of executables
configure:2706: gcc -o conftest conftest.c >&5
configure:2710: $? = 0
configure:2732: result:
configure:2754: checking whether we are cross compiling
configure:2762: gcc -o conftest conftest.c >&5
configure:2766: $? = 0
configure:2773: ./conftest
configure:2777: $? = 0
configure:2792: result: no
configure:2797: checking for suffix of object files
configure:2819: gcc -c conftest.c >&5
configure:2823: $? = 0
configure:2844: result: o
configure:2848: checking whether we are using the GNU C compiler
configure:2867: gcc -c conftest.c >&5
configure:2867: $? = 0
configure:2876: result: yes
configure:2885: checking whether gcc accepts -g
configure:2905: gcc -c -g conftest.c >&5
configure:2905: $? = 0
configure:2946: result: yes
configure:2963: checking for gcc option to accept ISO C89
configure:3027: gcc -c -g -O2 conftest.c >&5
configure:3027: $? = 0
configure:3040: result: none needed
configure:3060: checking whether make sets $(MAKE)
configure:3082: result: yes
configure:3105: checking for a BSD-compatible install
configure:3173: result: /usr/bin/install -c
configure:3243: checking for cmake
configure:3261: found /usr/bin/cmake
configure:3274: result: /usr/bin/cmake
configure:3625: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by Xen Hypervisor Stub Domains config.status 4.3, which was
generated by GNU Autoconf 2.67. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on intel-core-i5-4430-desktop
config.status:768: creating ../config/Stubdom.mk
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CMAKE_set=
ac_cv_env_CMAKE_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_GMP_URL_set=
ac_cv_env_GMP_URL_value=
ac_cv_env_GRUB_URL_set=
ac_cv_env_GRUB_URL_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBPCI_URL_set=
ac_cv_env_LIBPCI_URL_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LWIP_URL_set=
ac_cv_env_LWIP_URL_value=
ac_cv_env_NEWLIB_URL_set=
ac_cv_env_NEWLIB_URL_value=
ac_cv_env_OCAML_URL_set=
ac_cv_env_OCAML_URL_value=
ac_cv_env_POLARSSL_URL_set=
ac_cv_env_POLARSSL_URL_value=
ac_cv_env_TPMEMU_URL_set=
ac_cv_env_TPMEMU_URL_value=
ac_cv_env_ZLIB_URL_set=
ac_cv_env_ZLIB_URL_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_objext=o
ac_cv_path_CMAKE=/usr/bin/cmake
ac_cv_path_WGET=/usr/bin/wget
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ax_cv_debug=y
ax_cv_extfiles=y
## ----------------- ##
## Output variables. ##
## ----------------- ##
CC='gcc'
CFLAGS='-g -O2'
CMAKE='/usr/bin/cmake'
CPPFLAGS=''
DEFS='-DPACKAGE_NAME=\"Xen\ Hypervisor\ Stub\ Domains\" -DPACKAGE_TARNAME=\"xen\" -DPACKAGE_VERSION=\"4.3\" -DPACKAGE_STRING=\"Xen\ Hypervisor\ Stub\ Domains\ 4.3\" -DPACKAGE_BUGREPORT=\"xen-devel@lists.xen.org\" -DPACKAGE_URL=\"http://www.xen.org/\"'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
FETCHER='/usr/bin/wget -c -O'
FTP=''
GMP_URL='$(XEN_EXTFILES_URL)'
GMP_VERSION='4.3.2'
GRUB_URL='$(XEN_EXTFILES_URL)'
GRUB_VERSION='0.97'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBPCI_URL='$(XEN_EXTFILES_URL)'
LIBPCI_VERSION='2.2.9'
LIBS=''
LTLIBOBJS=''
LWIP_URL='$(XEN_EXTFILES_URL)'
LWIP_VERSION='1.3.0'
NEWLIB_URL='$(XEN_EXTFILES_URL)'
NEWLIB_VERSION='1.16.0'
OBJEXT='o'
OCAML_URL='http://caml.inria.fr/pub/distrib/ocaml-3.11'
OCAML_VERSION='3.11.0'
PACKAGE_BUGREPORT='xen-devel@lists.xen.org'
PACKAGE_NAME='Xen Hypervisor Stub Domains'
PACKAGE_STRING='Xen Hypervisor Stub Domains 4.3'
PACKAGE_TARNAME='xen'
PACKAGE_URL='http://www.xen.org/'
PACKAGE_VERSION='4.3'
PATH_SEPARATOR=':'
POLARSSL_URL='$(XEN_EXTFILES_URL)'
POLARSSL_VERSION='1.1.4'
SET_MAKE=''
SHELL='/bin/bash'
STUBDOM_BUILD=' ioemu-stubdom pv-grub xenstore-stubdom vtpm-stubdom vtpmmgr-stubdom'
STUBDOM_INSTALL=' install-ioemu install-grub install-xenstore install-vtpm install-vtpmmgr'
STUBDOM_TARGETS=' ioemu grub xenstore vtpm vtpmmgr'
TPMEMU_URL='$(XEN_EXTFILES_URL)'
TPMEMU_VERSION='0.7.4'
WGET='/usr/bin/wget'
ZLIB_URL='$(XEN_EXTFILES_URL)'
ZLIB_VERSION='1.2.3'
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
c='n'
caml='n'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
debug='y'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
extfiles='y'
grub='y'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
ioemu='y'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
vtpm='y'
vtpmmgr='y'
xenstore='y'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Xen Hypervisor Stub Domains"
#define PACKAGE_TARNAME "xen"
#define PACKAGE_VERSION "4.3"
#define PACKAGE_STRING "Xen Hypervisor Stub Domains 4.3"
#define PACKAGE_BUGREPORT "xen-devel@lists.xen.org"
#define PACKAGE_URL "http://www.xen.org/"
configure: exit 0
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2013-07-14 2:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-13 5:36 Error Compiling Xen-unstable 4.4 Changeset 27214 Singapore Citizen Mr. Teo En Ming (Zhang Enming)
2013-07-13 9:45 ` Ian Campbell
2013-07-13 10:30 ` Singapore Citizen Mr. Teo En Ming (Zhang Enming)
2013-07-13 11:30 ` Singapore Citizen Mr. Teo En Ming (Zhang Enming)
2013-07-14 2:41 ` Singapore Citizen Mr. Teo En Ming (Zhang Enming) [this message]
2013-07-14 2:50 ` Singapore Citizen Mr. Teo En Ming (Zhang Enming)
2013-07-14 3:20 ` Matthew Daley
2013-07-14 5:57 ` Singapore Citizen Mr. Teo En Ming (Zhang Enming)
2013-07-14 10:44 ` Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51E20FC3.7030203@gmail.com \
--to=singapore.mr.teo.en.ming@gmail.com \
--cc=ian.campbell@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.