WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] configure: error: C compiler cannot create executables

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] configure: error: C compiler cannot create executables
From: jonr@xxxxxxxxxx
Date: Sun, 5 Oct 2008 11:22:55 -0800
Delivery-date: Sun, 05 Oct 2008 12:23:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)
I am trying to build xen-3.3.0 and I keep running into this error. I have checked and everything is there and installed and the PATH is correct. I found someone on the 15th who also had the same problem but never got a reply back so I am asking again.

Here is the error:

make[2]: Entering directory `/usr/src/xen-3.3.0/extras/mini-os'
[ -e include/xen ] || ln -sf ../../../xen/include/public include/xen
[ -e include/mini-os ] || ln -sf . include/mini-os
[ -e include/x86/mini-os ] || ln -sf . include/x86/mini-os
make[2]: Leaving directory `/usr/src/xen-3.3.0/extras/mini-os'
touch mk-headers-x86_32
mkdir -p newlib-x86_32
( cd newlib-x86_32 && \
          CC_FOR_TARGET="gcc -isystem
/usr/src/xen-3.3.0/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem
/usr/src/xen-3.3.0/stubdom/../extras/mini-os/include/posix -isystem
/usr/src/xen-3.3.0/stubdom/../tools/xenstore  -isystem
/usr/src/xen-3.3.0/stubdom/../extras/mini-os/include/x86 -isystem
/usr/src/xen-3.3.0/stubdom/../extras/mini-os/include/x86/x86_32 -U __linux__ -U
__FreeBSD__ -U __sun__ -nostdinc -isystem
/usr/src/xen-3.3.0/stubdom/../extras/mini-os/include/posix -isystem
/usr/src/xen-3.3.0/stubdom/cross-root-i686/i686-xen-elf/include -isystem
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include -isystem
/usr/src/xen-3.3.0/stubdom/lwip/src/include -isystem
/usr/src/xen-3.3.0/stubdom/lwip/src/include/ipv4 -I/usr/src/xen-3.3.0/stubdom/include
-O2 -pipe -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -O2
-fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement  -O1 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -m32 -march=i686 -m32 -march=i686 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -fno-stack-protector -D_I386MACH_ALLOW_HW_INTERRUPTS" AR_FOR_TARGET=ar LD_FOR_TARGET=ld
RANLIB_FOR_TARGET=ranlib ../newlib-1.16.0/configure
--prefix=/usr/src/xen-3.3.0/stubdom/cross-root-i686 --verbose --target=i686-xen-elf
--enable-newlib-io-long-long --disable-multilib && \
          make && \
          DESTDIR= make install )
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... i686-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[1]: *** [cross-root-i686/i686-xen-elf/lib/libc.a] Error 77
make[1]: Leaving directory `/usr/src/xen-3.3.0/stubdom'
make: *** [install-stubdom] Error 2


Thanks for any help,

Jon



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>