All of lore.kernel.org
 help / color / mirror / Atom feed
* configure: error: C compiler cannot create executables when creating and building a hello world project.
@ 2012-04-19  9:14 jack
  2012-04-19 18:28 ` Zhang, Jessica
  0 siblings, 1 reply; 3+ messages in thread
From: jack @ 2012-04-19  9:14 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2307 bytes --]

hello all!
After creating a project in Eclipse, I tried to Configure the 
Cross-Toolchains.

But I did like this:"Select |Project -> Change Yocto Project Settings|: 
This selection brings up the |Project Yocto Settings| Dialog and allows 
you to make changes specific to an individual project.", there was not 
|Project Yocto Settings| Dialog.

Then I select |Project -> Reconfigure Project|,  the information on the 
console:

Invoking autogen.sh in build directory: /home/jackie/workspace/helloclutter

Command-line environment variables:
      CFLAGS=" -g -O0  -m32   -march=i586 
--sysroot=/home/jackie/sysroot" CXXFLAGS=" -g -O0  -m32   -march=i586 
--sysroot=/home/jackie/sysroot" LDFLAGS="  
--sysroot=/home/jackie/sysroot" CPPFLAGS=" -m32   -march=i586 
--sysroot=/home/jackie/sysroot"

sh /home/jackie/workspace/helloclutter/autogen.sh 
--with-libtool-sysroot=/home/jackie/sysroot --target=i586-poky-linux 
--host=i586-poky-linux --build=i686-linux 
--with-libtool-sysroot=/opt/poky/1.1.1/sysroots/i586-poky-linux
configure.ac:21: installing `./compile'
configure.ac:20: installing `./config.guess'
configure.ac:20: installing `./config.sub'
configure.ac:16: installing `./install-sh'
configure.ac:16: installing `./missing'
src/Makefile.am: installing `./depcomp'
configure: loading site script /opt/poky/1.1.1/site-config-i586-poky-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i586-poky-linux-strip... i586-poky-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i586-poky-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for i586-poky-linux-gcc... i586-poky-linux-gcc
checking whether the C compiler works... no
configure: error: in `/home/jackie/workspace/helloclutter':
configure: error: in `/home/jackie/workspace/helloclutter':
configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables
See `config.log' for more details

Configuration failed with error

Who can help me? Thank you!

[-- Attachment #2: Type: text/html, Size: 3057 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-20  4:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-19  9:14 configure: error: C compiler cannot create executables when creating and building a hello world project jack
2012-04-19 18:28 ` Zhang, Jessica
2012-04-20  4:07   ` jack

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.