I have installed ADT and configured the Eclipse,and when I build the first project it comes errors. And the console show somethings as the following:

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

Thank you~

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Leave a Comment

Please sign in to add a comment. Not a member? Join today