* Eclipse-ADT-build-error
@ 2012-04-05 13:41 沈华明
2012-04-05 15:01 ` Eclipse-ADT-build-error Lu, Lianhao
0 siblings, 1 reply; 2+ messages in thread
From: 沈华明 @ 2012-04-05 13:41 UTC (permalink / raw)
To: yocto
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~
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Eclipse-ADT-build-error
2012-04-05 13:41 Eclipse-ADT-build-error 沈华明
@ 2012-04-05 15:01 ` Lu, Lianhao
0 siblings, 0 replies; 2+ messages in thread
From: Lu, Lianhao @ 2012-04-05 15:01 UTC (permalink / raw)
To: 沈华明, yocto
Huaming,
Could please include the following in your description, so we can have a clear context for your problem? Thanks!
1. Host OS?
2. Which version of eclipse?
3. Which version of Yocto eclipse plugin?
4. Which image do you use as sysroot? core-image-sato or core-image-sato-sdk?
5. Which version of metadata do you use to build the image?
6. How do you install the toolchain? Using adt-installer or extracting meta-toolchain tarball? If using meta-toolchain tarball, which version do you use?
b.t.w. Could you check the /home/shm/workspace/test1/config.log file? It should have more detailed information.
-Lianhao
沈华明 wrote on 2012-04-05:
> 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~
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-05 15:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-05 13:41 Eclipse-ADT-build-error 沈华明
2012-04-05 15:01 ` Eclipse-ADT-build-error Lu, Lianhao
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.