From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Singapore Citizen Mr. Teo En Ming (Zhang Enming)" Subject: Re: Error Compiling Xen-unstable 4.4 Changeset 27214 Date: Sun, 14 Jul 2013 10:41:07 +0800 Message-ID: <51E20FC3.7030203@gmail.com> References: <51E0E775.1050001@gmail.com> <1373708734.15983.7.camel@hastur.hellion.org.uk> <51E12C2A.1060403@gmail.com> <51E13A5F.5050307@gmail.com> Reply-To: singapore.mr.teo.en.ming@gmail.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060109090009080605060809" Return-path: In-Reply-To: <51E13A5F.5050307@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: singapore.mr.teo.en.ming@gmail.com Cc: Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------060109090009080605060809 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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) --------------060109090009080605060809 Content-Type: text/x-log; name="config.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="config.log" 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=3D/usr/local --cache-f= ile=3D/dev/null --srcdir=3D. ## --------- ## ## Platform. ## ## --------- ## hostname =3D intel-core-i5-4430-desktop uname -m =3D x86_64 uname -r =3D 3.8.0-19-generic uname -s =3D Linux uname -v =3D #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 /usr/bin/uname -p =3D unknown /bin/uname -X =3D unknown /bin/arch =3D unknown /usr/bin/arch -k =3D unknown /usr/convex/getsysinfo =3D unknown /usr/bin/hostinfo =3D unknown /bin/machine =3D unknown /usr/bin/oslevel =3D unknown /bin/universe =3D 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 N= O warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. configure:2594: $? =3D 0 configure:2583: gcc -v >&5 Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu/Linaro 4= =2E7.3-1ubuntu1' --with-bugurl=3Dfile:///usr/share/doc/gcc-4.7/README.Bug= s --enable-languages=3Dc,c++,go,fortran,objc,obj-c++ --prefix=3D/usr --pr= ogram-suffix=3D-4.7 --enable-shared --enable-linker-build-id --libexecdir= =3D/usr/lib --without-included-gettext --enable-threads=3Dposix --with-gx= x-include-dir=3D/usr/include/c++/4.7 --libdir=3D/usr/lib --enable-nls --w= ith-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-= libstdcxx-time=3Dyes --enable-gnu-unique-object --enable-plugin --with-sy= stem-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=3Dppl --di= sable-cloog-version-check --disable-ppl-version-check --enable-multiarch = --disable-werror --with-arch-32=3Di686 --with-abi=3Dm64 --with-multilib-l= ist=3Dm32,m64,mx32 --with-tune=3Dgeneric --enable-checking=3Drelease --bu= ild=3Dx86_64-linux-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux-= gnu Thread model: posix gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)=20 configure:2594: $? =3D 0 configure:2583: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:2594: $? =3D 4 configure:2583: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:2594: $? =3D 4 configure:2614: checking whether the C compiler works configure:2636: gcc conftest.c >&5 configure:2640: $? =3D 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: $? =3D 0 configure:2732: result:=20 configure:2754: checking whether we are cross compiling configure:2762: gcc -o conftest conftest.c >&5 configure:2766: $? =3D 0 configure:2773: ./conftest configure:2777: $? =3D 0 configure:2792: result: no configure:2797: checking for suffix of object files configure:2819: gcc -c conftest.c >&5 configure:2823: $? =3D 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: $? =3D 0 configure:2876: result: yes configure:2885: checking whether gcc accepts -g configure:2905: gcc -c -g conftest.c >&5 configure:2905: $? =3D 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: $? =3D 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 =3D=20 CONFIG_HEADERS =3D=20 CONFIG_LINKS =3D=20 CONFIG_COMMANDS =3D=20 $ ./config.status=20 on intel-core-i5-4430-desktop config.status:768: creating ../config/Stubdom.mk ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=3Dyes ac_cv_env_CC_set=3D ac_cv_env_CC_value=3D ac_cv_env_CFLAGS_set=3D ac_cv_env_CFLAGS_value=3D ac_cv_env_CMAKE_set=3D ac_cv_env_CMAKE_value=3D ac_cv_env_CPPFLAGS_set=3D ac_cv_env_CPPFLAGS_value=3D ac_cv_env_GMP_URL_set=3D ac_cv_env_GMP_URL_value=3D ac_cv_env_GRUB_URL_set=3D ac_cv_env_GRUB_URL_value=3D ac_cv_env_LDFLAGS_set=3Dset ac_cv_env_LDFLAGS_value=3D ac_cv_env_LIBPCI_URL_set=3D ac_cv_env_LIBPCI_URL_value=3D ac_cv_env_LIBS_set=3D ac_cv_env_LIBS_value=3D ac_cv_env_LWIP_URL_set=3D ac_cv_env_LWIP_URL_value=3D ac_cv_env_NEWLIB_URL_set=3D ac_cv_env_NEWLIB_URL_value=3D ac_cv_env_OCAML_URL_set=3D ac_cv_env_OCAML_URL_value=3D ac_cv_env_POLARSSL_URL_set=3D ac_cv_env_POLARSSL_URL_value=3D ac_cv_env_TPMEMU_URL_set=3D ac_cv_env_TPMEMU_URL_value=3D ac_cv_env_ZLIB_URL_set=3D ac_cv_env_ZLIB_URL_value=3D ac_cv_env_build_alias_set=3D ac_cv_env_build_alias_value=3D ac_cv_env_host_alias_set=3D ac_cv_env_host_alias_value=3D ac_cv_env_target_alias_set=3D ac_cv_env_target_alias_value=3D ac_cv_objext=3Do ac_cv_path_CMAKE=3D/usr/bin/cmake ac_cv_path_WGET=3D/usr/bin/wget ac_cv_path_install=3D'/usr/bin/install -c' ac_cv_prog_ac_ct_CC=3Dgcc ac_cv_prog_cc_c89=3D ac_cv_prog_cc_g=3Dyes ac_cv_prog_make_make_set=3Dyes ax_cv_debug=3Dy ax_cv_extfiles=3Dy ## ----------------- ## ## Output variables. ## ## ----------------- ## CC=3D'gcc' CFLAGS=3D'-g -O2' CMAKE=3D'/usr/bin/cmake' CPPFLAGS=3D'' DEFS=3D'-DPACKAGE_NAME=3D\"Xen\ Hypervisor\ Stub\ Domains\" -DPACKAGE_TAR= NAME=3D\"xen\" -DPACKAGE_VERSION=3D\"4.3\" -DPACKAGE_STRING=3D\"Xen\ Hype= rvisor\ Stub\ Domains\ 4.3\" -DPACKAGE_BUGREPORT=3D\"xen-devel@lists.xen.= org\" -DPACKAGE_URL=3D\"http://www.xen.org/\"' ECHO_C=3D'' ECHO_N=3D'-n' ECHO_T=3D'' EXEEXT=3D'' FETCHER=3D'/usr/bin/wget -c -O' FTP=3D'' GMP_URL=3D'$(XEN_EXTFILES_URL)' GMP_VERSION=3D'4.3.2' GRUB_URL=3D'$(XEN_EXTFILES_URL)' GRUB_VERSION=3D'0.97' INSTALL_DATA=3D'${INSTALL} -m 644' INSTALL_PROGRAM=3D'${INSTALL}' INSTALL_SCRIPT=3D'${INSTALL}' LDFLAGS=3D'' LIBOBJS=3D'' LIBPCI_URL=3D'$(XEN_EXTFILES_URL)' LIBPCI_VERSION=3D'2.2.9' LIBS=3D'' LTLIBOBJS=3D'' LWIP_URL=3D'$(XEN_EXTFILES_URL)' LWIP_VERSION=3D'1.3.0' NEWLIB_URL=3D'$(XEN_EXTFILES_URL)' NEWLIB_VERSION=3D'1.16.0' OBJEXT=3D'o' OCAML_URL=3D'http://caml.inria.fr/pub/distrib/ocaml-3.11' OCAML_VERSION=3D'3.11.0' PACKAGE_BUGREPORT=3D'xen-devel@lists.xen.org' PACKAGE_NAME=3D'Xen Hypervisor Stub Domains' PACKAGE_STRING=3D'Xen Hypervisor Stub Domains 4.3' PACKAGE_TARNAME=3D'xen' PACKAGE_URL=3D'http://www.xen.org/' PACKAGE_VERSION=3D'4.3' PATH_SEPARATOR=3D':' POLARSSL_URL=3D'$(XEN_EXTFILES_URL)' POLARSSL_VERSION=3D'1.1.4' SET_MAKE=3D'' SHELL=3D'/bin/bash' STUBDOM_BUILD=3D' ioemu-stubdom pv-grub xenstore-stubdom vtpm-stubdom vtp= mmgr-stubdom' STUBDOM_INSTALL=3D' install-ioemu install-grub install-xenstore install-v= tpm install-vtpmmgr' STUBDOM_TARGETS=3D' ioemu grub xenstore vtpm vtpmmgr' TPMEMU_URL=3D'$(XEN_EXTFILES_URL)' TPMEMU_VERSION=3D'0.7.4' WGET=3D'/usr/bin/wget' ZLIB_URL=3D'$(XEN_EXTFILES_URL)' ZLIB_VERSION=3D'1.2.3' ac_ct_CC=3D'gcc' bindir=3D'${exec_prefix}/bin' build_alias=3D'' c=3D'n' caml=3D'n' datadir=3D'${datarootdir}' datarootdir=3D'${prefix}/share' debug=3D'y' docdir=3D'${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir=3D'${docdir}' exec_prefix=3D'${prefix}' extfiles=3D'y' grub=3D'y' host_alias=3D'' htmldir=3D'${docdir}' includedir=3D'${prefix}/include' infodir=3D'${datarootdir}/info' ioemu=3D'y' libdir=3D'${exec_prefix}/lib' libexecdir=3D'${exec_prefix}/libexec' localedir=3D'${datarootdir}/locale' localstatedir=3D'${prefix}/var' mandir=3D'${datarootdir}/man' oldincludedir=3D'/usr/include' pdfdir=3D'${docdir}' prefix=3D'/usr/local' program_transform_name=3D's,x,x,' psdir=3D'${docdir}' sbindir=3D'${exec_prefix}/sbin' sharedstatedir=3D'${prefix}/com' sysconfdir=3D'${prefix}/etc' target_alias=3D'' vtpm=3D'y' vtpmmgr=3D'y' xenstore=3D'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 --------------060109090009080605060809 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --------------060109090009080605060809--