Error Compiling Xen-unstable 4.4 Changeset 27214
Hi,
I was trying to compiling Xen-unstable 4.4 changeset 27214 but ran into the following problem:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-xen-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
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-unstable.hg-cs27214/stubdom'
make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/home/teo-en-ming/xen-unstable.hg-cs27214'
make: *** [world] Error 2
Could you help me solve this problem?
Thank you very much.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
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
Quoted 1 line
compiler cannot create executables
Your compiler appears to be broken. This most likely has nothing to do with Xen.
Quoted 1 line
See `config.log' for more details.
I bet you'll find some clues in here.
Ian.
Quoted 12 lines · Ian Campbell
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
Quoted 1 line
compiler cannot create executables
Your compiler appears to be broken. This most likely has nothing to do with Xen.
Quoted 1 line
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.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
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=\"[email protected]\" -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='[email protected]'
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 "[email protected]" #define PACKAGE_URL "http://www.xen.org/"
configure: exit 0
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 10 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 9 lines · Ian Campbell
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
Quoted 1 line
compiler cannot create executables
Your compiler appears to be broken. This most likely has nothing to do with Xen.
Quoted 1 line
See `config.log' for more details.
I bet you'll find some clues in here.
Quoted 8 lines
Quoted 3 lines
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.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 15 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 14 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 12 lines · Ian Campbell
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
Quoted 1 line
compiler cannot create executables
Your compiler appears to be broken. This most likely has nothing to do with Xen.
Quoted 1 line
See `config.log' for more details.
I bet you'll find some clues in here.
Ian.
Quoted 9 lines
Quoted 4 lines
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.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
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=\"[email protected]\" -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='[email protected]'
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 "[email protected]" #define PACKAGE_URL "http://www.xen.org/"
configure: exit 0
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 38 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 15 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 14 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 12 lines · Ian Campbell
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
Quoted 1 line
compiler cannot create executables
Your compiler appears to be broken. This most likely has nothing to do with Xen.
Quoted 1 line
See `config.log' for more details.
I bet you'll find some clues in here.
Ian.
Quoted 9 lines
Quoted 4 lines
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
Quoted 6 lines
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?
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
On Sun, Jul 14, 2013 at 2:41 PM, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 1 line
I have attached config.log. Please refer to it.
This is stubdom/config.log. What does stubdom/newlib-x86_64/config.log look like?
Quoted 6 lines · Matthew Daley
On Sun, Jul 14, 2013 at 2:41 PM, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 1 line
I have attached config.log. Please refer to it.
This is stubdom/config.log. What does stubdom/newlib-x86_64/config.log look like?
Hi Matthew,
I have attached config.log from stubdom/newlib-x86_64.
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ../newlib-1.16.0/configure --prefix=/home/teo-en-ming/xen-4.3.0/stubdom/cross-root-x86_64 --verbose --target=x86_64-xen-elf --enable-newlib-io-long-long --disable-multilib
## --------- ##
## 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
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:1503: checking build system type
configure:1521: result: x86_64-unknown-linux-gnu configure:1556: checking host system type
configure:1570: result: x86_64-unknown-linux-gnu configure:1578: checking target system type
configure:1592: result: x86_64-xen-elf
configure:1635: checking for a BSD-compatible install configure:1690: result: /usr/bin/install -c
configure:1701: checking whether ln works
configure:1723: result: yes
configure:1727: checking whether ln -s works
configure:1731: result: yes
configure:2882: checking for gcc
configure:2898: found /usr/bin/gcc
configure:2908: result: gcc
configure:3152: checking for C compiler version
configure:3155: gcc --version </dev/null >&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:3158: $? = 0
configure:3160: gcc -v </dev/null >&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:3163: $? = 0
configure:3165: gcc -V </dev/null >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3168: $? = 4
configure:3191: checking for C compiler default output file name
configure:3194: gcc -m elf_x86_64 conftest.c >&5
gcc: error: unrecognized command line option '-m'
gcc: error: elf_x86_64: No such file or directory
configure:3197: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }configure:3236: error: C compiler cannot create executables See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_env_AR_FOR_TARGET_set=set
ac_cv_env_AR_FOR_TARGET_value=ar
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CC_FOR_TARGET_set=set
ac_cv_env_CC_FOR_TARGET_value='gcc -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../extras/mini-os/include/posix -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../tools/xenstore -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../extras/mini-os/include/x86 -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../extras/mini-os/include/posix -isystem /home/teo-en-ming/xen-4.3.0/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-linux-gnu/4.7/include -isystem /home/teo-en-ming/xen-4.3.0/stubdom/lwip-x86_64/src/include -isystem /home/teo-en-ming/xen-4.3.0/stubdom/lwip-x86_64/src/include/ipv4 -I/home/teo-en-ming/xen-4.3.0/stubdom/include -I/home/teo-en-ming/xen-4.3.0/stubdom/../xen/include -mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions -D_I386MACH_ALLOW_HW_INTERRUPTS'
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -m elf_x86_64 '
ac_cv_env_LD_FOR_TARGET_set=set
ac_cv_env_LD_FOR_TARGET_value=ld
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=set
ac_cv_env_RANLIB_FOR_TARGET_value=ranlib
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_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=set
ac_cv_env_target_alias_value=x86_64-xen-elf
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=x86_64-xen-elf
ac_cv_target_alias=x86_64-xen-elf
acx_cv_prog_LN=ln
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='ar'
AS=''
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET=''
BISON=''
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='gcc -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../extras/mini-os/include/posix -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../tools/xenstore -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../extras/mini-os/include/x86 -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/teo-en-ming/xen-4.3.0/stubdom/../extras/mini-os/include/posix -isystem /home/teo-en-ming/xen-4.3.0/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-linux-gnu/4.7/include -isystem /home/teo-en-ming/xen-4.3.0/stubdom/lwip-x86_64/src/include -isystem /home/teo-en-ming/xen-4.3.0/stubdom/lwip-x86_64/src/include/ipv4 -I/home/teo-en-ming/xen-4.3.0/stubdom/include -I/home/teo-en-ming/xen-4.3.0/stubdom/../xen/include -mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions -D_I386MACH_ALLOW_HW_INTERRUPTS'
CFLAGS=''
CFLAGS_FOR_BUILD=''
COMPILER_AS_FOR_TARGET=''
COMPILER_LD_FOR_TARGET=''
COMPILER_NM_FOR_TARGET=''
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX=''
CXXFLAGS=''
CXXFLAGS_FOR_BUILD=''
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET=''
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS=''
DLLTOOL=''
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT=''
FLAGS_FOR_TARGET=''
FLEX=''
GCC_FOR_TARGET=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET=''
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET=''
GNATBIND=''
GNATMAKE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD=''
LDFLAGS=' -m elf_x86_64 '
LDFLAGS_FOR_BUILD=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='ld'
LEX=''
LIBOBJS=''
LIBS=''
LIPO=''
LIPO_FOR_TARGET=''
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO=''
NM=''
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET=''
OBJCOPY=''
OBJDUMP=''
OBJDUMP_FOR_TARGET=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='ranlib'
RAW_CXX_FOR_TARGET=''
RPATH_ENVVAR=''
RUNTEST=''
SHELL='/bin/bash'
STRIP=''
STRIP_FOR_TARGET=''
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../newlib-1.16.0/configure --prefix=/home/teo-en-ming/xen-4.3.0/stubdom/cross-root-x86_64 --verbose --target=x86_64-xen-elf --enable-newlib-io-long-long --disable-multilib'
WINDMC=''
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET=''
WINDRES=''
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET=''
YACC=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_GNATBIND=''
ac_ct_GNATMAKE=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_configargs=''
build_configdirs='build-libiberty build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes'
build_cpu='x86_64'
build_libsubdir='build-x86_64-unknown-linux-gnu'
build_noncanonical='x86_64-unknown-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-unknown-linux-gnu'
build_tooldir=''
build_vendor='unknown'
config_shell='/bin/bash'
configdirs='intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools' datadir='${prefix}/share'
datarootdir=''
do_compare=''
docdir=''
exec_prefix='NONE'
gmpinc=''
gmplibs=''
host='x86_64-unknown-linux-gnu'
host_alias=''
host_configargs=''
host_cpu='x86_64'
host_noncanonical='x86_64-unknown-linux-gnu'
host_os='linux-gnu'
host_subdir='.'
host_vendor='unknown'
htmldir=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
pdfdir=''
prefix='/home/teo-en-ming/xen-4.3.0/stubdom/cross-root-x86_64'
program_transform_name='s,^,x86_64-xen-elf-,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags=''
stage1_checking=''
stage1_languages=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='x86_64-xen-elf'
target_alias='x86_64-xen-elf'
target_configargs=''
target_cpu='x86_64'
target_noncanonical='x86_64-xen-elf'
target_os='elf'
target_subdir='x86_64-xen-elf'
target_vendor='xen'
tooldir=''
## ------------- ##
## Output files. ##
## ------------- ##
alphaieee_frag=''
host_makefile_frag='/dev/null'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
configure: exit 77
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 11 lines · Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 6 lines · Matthew Daley
On Sun, Jul 14, 2013 at 2:41 PM, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Quoted 1 line
I have attached config.log. Please refer to it.
This is stubdom/config.log. What does stubdom/newlib-x86_64/config.log look like?
Hi Matthew,
I have attached config.log from stubdom/newlib-x86_64.
Hi All,
I have solved the problem.
I just have to execute everything as the root user and the error "configure: error: C compiler cannot create executable" disappears.
$ sudo -s
Signature · 3 lines
Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming)