From: "Björn Arnelid" <bjorn.arnelid@enea.com>
To: <yocto@yoctoproject.org>
Subject: Re: Eclipse Plugin
Date: Fri, 18 Jan 2013 13:55:57 +0100 [thread overview]
Message-ID: <50F9465D.8010706@enea.com> (raw)
In-Reply-To: <CAFNBftf-+ae4b4a0yf+t60RXYmheD7f7wr1v38t9JQM40eK1aw@mail.gmail.com>
2013-01-18 13:24, Flavio Castro Alves Filho skrev:
> Hello,
>
> I'm facing similar issue (in fact, Raul and I are working together on
> this deploy).
>
> I'll describe the steps that we followed. Our system is Ubuntu 12.04
> LTS and our Eclipse version is Juno.
>
> 1) We build core-image-minimal using poky 1.3 (danny), meta-ti,
> meta-openembedded/meta-oe
>
> 2) We build toolchain from the build system, using meta-ide-support
>
> 3) We downloaded Eclipse classic from Eclipse's website
>
> 4) We installed the Eclipse's components, according to Yocto dev
> manual instructions
>
> 5) We installed Yocto ADT plugin from the repository (version 1.3)
>
> We extracted the generated root filesystem in another directory, in
> order to properly configure the Eclipse Yocto plugin.
>
> For now, installation worked fine. The problem occurs when we try to
> build the hello world application.
>
> We followed the steps from the Yocto dev manual.
>
> Before starting the build, I lanched the reconfigure option. After,
> when started to build, the error message indicates 'no make target'.
>
> Looking at the files, I could see that autogen.sh was executed, but
> the configure script don't. I believe that there is some isse where
> the IDE is not executing the configure script.
>
> Do you have any clue about how to solve this issue?
>
> Best regards,
>
> Flavio
>
>
> 2013/1/17 Zhang, Jessica <jessica.zhang@intel.com>:
>> 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@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org]
>> On Behalf Of Raul Rosetto Munoz
>> Sent: Thursday, January 17, 2013 4:10 AM
>> To: yocto@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
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
Don't you need to develop against a -sdk image?
Try building a debug image, extract the file-system and point to that
when developing.
regards,
Björn
--
Björn Arnelid | Software Engineer
M: +46-70-971 4459 | björn.arnelid@xdin.com
XDIN AB | Knarrarnäsgatan 7 | SE-164 40 Kista | xdin.com
Xdin develop and deliver expertise through committed engineering and IT consultants.
next prev parent reply other threads:[~2013-01-18 12:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-17 12:09 Eclipse Plugin Raul Rosetto Munoz
2013-01-17 19:22 ` Zhang, Jessica
2013-01-18 12:24 ` Flavio Castro Alves Filho
2013-01-18 12:55 ` Björn Arnelid [this message]
2013-01-18 13:10 ` Flavio Castro Alves Filho
2013-01-18 13:16 ` Björn Arnelid
2013-01-18 13:49 ` Flavio Castro Alves Filho
2013-01-18 15:00 ` Zhang, Jessica
2013-01-18 15:09 ` Zhang, Jessica
2013-01-19 13:37 ` Flavio Castro Alves Filho
-- strict thread matches above, loose matches on Subject: below --
2017-08-16 10:15 Arno Steffens
2010-11-22 9:13 Eclipse plugin Gary Thomas
2010-11-22 11:27 ` Gary Thomas
2010-11-22 12:50 ` Lu, Lianhao
2010-11-22 13:45 ` Gary Thomas
2010-11-22 13:55 ` Lu, Lianhao
2010-11-22 15:24 ` Gary Thomas
2010-11-22 15:32 ` Gary Thomas
2010-11-22 18:43 ` Zhang, Jessica
2010-11-23 8:33 ` Gary Thomas
2010-11-23 9:00 ` Lu, Lianhao
2010-11-23 21:43 ` Zhang, Jessica
2010-11-23 21:44 ` Zhang, Jessica
2010-11-24 6:47 ` Gary Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50F9465D.8010706@enea.com \
--to=bjorn.arnelid@enea.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.