[yocto] Eclipse Plugin

Zhang, Jessica jessica.zhang at intel.com
Thu Jan 17 11:22:50 PST 2013


Hi Raul,



Before we can help you debug your issue, can you provide more info regarding to:



1.       How did you setup your cross toolchain? ADT installer or toolchain tarball (your build if so, how did you build it.  If not, which one did you download?)

2.       And also, please provide more info what's your toolchain setup in Eclipse, specifically the Yocto Project ADT preference config under Window?

Thanks,

Jessica



From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Raul Rosetto Munoz
Sent: Thursday, January 17, 2013 4:10 AM
To: yocto at yoctoproject.org
Subject: [yocto] Eclipse Plugin



Hello All,

I followed the ADT manual to create a eclipse environment.



After create a default Hello World Yocto project I get some compile errors.



At file config.log I saw some errors lines:





configure:2861: checking for arm-poky-linux-gnueabi-gcc

configure:2888: result: arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm

configure:3157: checking for C compiler version

configure:3166: arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm --version >&5

arm-poky-linux-gnueabi-gcc (GCC) 4.7.2

Copyright (C) 2012 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



configure:3177: $? = 0

configure:3166: arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm -v >&5

Using built-in specs.

COLLECT_GCC=arm-poky-linux-gnueabi-gcc

COLLECT_LTO_WRAPPER=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/lto-wrapper

Target: arm-poky-linux-gnueabi

Configured with: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work-shared/gcc-4.7.2-r13/gcc-4.7.2/configure --build=x86_64-linux --host=i686-pokysdk-linux --target=arm-poky-linux-gnueabi --prefix=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr --exec_prefix=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr --bindir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi --sbindir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi --libexecdir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi --datadir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/share --sysconfdir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/etc --sharedstatedir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/com --localstatedir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/var --libdir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/lib/armv5te-poky-linux-gnueabi --includedir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/include --oldincludedir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/include --infodir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/share/info --mandir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/i686-nativesdk-pokysdk-linux --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-poky-linux-gnueabi- --without-local-prefix --enable-target-optspace --enable-lto --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap --with-system-zlib --with-linker-hash-style=gnu --with-ppl=no --with-cloog=no --enable-checking=release --enable-cheaders=c_global --with-float=soft --with-gxx-include-dir=/opt/poky/1.3/sysroots/armv5te-poky-linux-gnueabi/usr/include/c++ --with-build-time-tools=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/x86_64-linux/usr/arm-poky-linux-gnueabi/bin --with-sysroot=/opt/poky/1.3/sysroots/armv5te-poky-linux-gnueabi --with-build-sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/qemuarm --disable-libunwind-exceptions --disable-libssp --disable-libgomp --disable-libmudflap --with-mpfr=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/i686-nativesdk-pokysdk-linux --with-mpc=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/i686-nativesdk-pokysdk-linux --enable-nls

Thread model: posix

gcc version 4.7.2 (GCC)

configure:3177: $? = 0

configure:3166: arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm -V >&5

arm-poky-linux-gnueabi-gcc: error: unrecognized command line option '-V'

arm-poky-linux-gnueabi-gcc: fatal error: no input files

compilation terminated.

configure:3177: $? = 1

configure:3166: arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm -qversion >&5

arm-poky-linux-gnueabi-gcc: error: unrecognized command line option '-qversion'

arm-poky-linux-gnueabi-gcc: fatal error: no input files

compilation terminated.

configure:3177: $? = 1

configure:3197: checking whether the C compiler works

configure:3219: arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm  -g -O0  --sysroot=/opt/poky/1.3  --sysroot=/opt/poky/1.3  --sysroot=/opt/poky/1.3 conftest.c  >&5

/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find crt1.o: No such file or directory

/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find crti.o: No such file or directory

/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find crtbegin.o: No such file or directory

/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find -lgcc

/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find -lgcc_s

/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find -lc

/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find -lgcc

/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find -lgcc_s

/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find crtend.o: No such file or directory

/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find crtn.o: No such file or directory

collect2: error: ld returned 1 exit status

configure:3223: $? = 1

configure:3261: result: no

configure: failed program was:

| /* confdefs.h */

| #define PACKAGE_NAME "teste"

| #define PACKAGE_TARNAME "teste"

| #define PACKAGE_VERSION "0.1.0"

| #define PACKAGE_STRING "teste 0.1.0"

| #define PACKAGE_BUGREPORT ""

| #define PACKAGE_URL ""

| #define PACKAGE "teste"

| #define VERSION "0.1.0"

| /* end confdefs.h.  */

|

| int

| main ()

| {

|

|   ;

|   return 0;

| }

configure:3266: error: in `/home/prjs/compsis0001/workspace/teste':

configure:3268: error: C compiler cannot create executables

See `config.log' for more details



## ---------------- ##

## Cache variables. ##

## ---------------- ##

...

...

...

## ----------------- ##

## Output variables. ##

## ----------------- ##

...

...

...

/* confdefs.h */

#define PACKAGE_NAME "teste"

#define PACKAGE_TARNAME "teste"

#define PACKAGE_VERSION "0.1.0"

#define PACKAGE_STRING "teste 0.1.0"

#define PACKAGE_BUGREPORT ""

#define PACKAGE_URL ""

#define PACKAGE "teste"

#define VERSION "0.1.0"



configure: exit 77





Some One can Help me?



Thanks



--
Raul Rosetto Muñoz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130117/e8fb7cda/attachment.html>


More information about the yocto mailing list