[yocto] Eclipse-ADT-build-error

沈华明 446257357 at qq.com
Thu Apr 5 06:41:46 PDT 2012


I have installed the ADT and configured the Eclipse. When build my first 
project,it comes the error.

The console shows these:
enerating Makefile in build directory: /home/shm/workspace/test1

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

sh /home/shm/workspace/test1/configure 
--with-libtool-sysroot=/home/shm/qemux86-sato --host=i586-poky-linux 
--build=i686-linux --target=i586-poky-linux
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/shm/workspace/test1':
configure: error: in `/home/shm/workspace/test1':
configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables
See `config.log' for more details

Configuration failed with error

**** Build of configuration Build (GNU) for project test1 ****

make all
make: *** No rule to make target `all'.  Stop.

**** Build Finished ****

Thank you for you help~




More information about the yocto mailing list