All of lore.kernel.org
 help / color / mirror / Atom feed
* Eclipse plugin
@ 2010-11-22  9:13 Gary Thomas
  2010-11-22 11:27 ` Gary Thomas
  0 siblings, 1 reply; 24+ messages in thread
From: Gary Thomas @ 2010-11-22  9:13 UTC (permalink / raw)
  To: yocto

I'm interested in trying the Yocto Eclipse plugin with my Poky based builds.
That said, I'm a true Eclipse novice :-(

Does anyone have some guidance on what packages I might need to install to
get a usable Eclipse framework on Fedora (13)?  For example, the Yocto page
mentions the "standard TCF" agent to contact the target - how do I make sure
this is available and enabled?

n.b. the [web] documentation on this plugin is pretty thin.  Perhaps once I
get this going, I can contribute some meat to put on these bones :-)

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  2010-11-22  9:13 Eclipse plugin Gary Thomas
@ 2010-11-22 11:27 ` Gary Thomas
  2010-11-22 12:50   ` Lu, Lianhao
  0 siblings, 1 reply; 24+ messages in thread
From: Gary Thomas @ 2010-11-22 11:27 UTC (permalink / raw)
  To: yocto

On 11/22/2010 02:13 AM, Gary Thomas wrote:
> I'm interested in trying the Yocto Eclipse plugin with my Poky based builds.
> That said, I'm a true Eclipse novice :-(
>
> Does anyone have some guidance on what packages I might need to install to
> get a usable Eclipse framework on Fedora (13)? For example, the Yocto page
> mentions the "standard TCF" agent to contact the target - how do I make sure
> this is available and enabled?
>
> n.b. the [web] documentation on this plugin is pretty thin. Perhaps once I
> get this going, I can contribute some meat to put on these bones :-)
>
> Thanks
>

I tried to follow the documentation in the Poky manual (still thin...), but
it seems I'm now stuck.  I get this error:
   Cannot complete the install because one or more required items could not be found.
   Software being installed: Yocto Plugin for Eclipse 1.0.0.201010202121 (org.yocto.sdk.feature.group 1.0.0.201010202121)
   Missing requirement: Yocto Plugin Remote Tools 1.0.0.201010202121 (org.yocto.sdk.remotetools 1.0.0.201010202121) requires 'bundle org.eclipse.rse.terminals.ui 1.0.100' but it 
could not be found
   Cannot satisfy dependency:
     From: Yocto Plugin for Eclipse 1.0.0.201010202121 (org.yocto.sdk.feature.group 1.0.0.201010202121)

As far as I can tell, the eclise-rse package on Fedora 13 is version 1.0.1 :-(
Also, Fedora is still on Galileo 3.5.2, not Helios 3.6.

I guess I'll try the raw install of Helios since Fedora+YUM has failed me.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  2010-11-22 11:27 ` Gary Thomas
@ 2010-11-22 12:50   ` Lu, Lianhao
  2010-11-22 13:45     ` Gary Thomas
  0 siblings, 1 reply; 24+ messages in thread
From: Lu, Lianhao @ 2010-11-22 12:50 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Gary Thomas wrote on 2010-11-22:
> On 11/22/2010 02:13 AM, Gary Thomas wrote:
>> I'm interested in trying the Yocto Eclipse plugin with my Poky based builds.
>> That said, I'm a true Eclipse novice :-(
>> 
>> Does anyone have some guidance on what packages I might need to
>> install to get a usable Eclipse framework on Fedora (13)? For
>> example, the Yocto page mentions the "standard TCF" agent to contact
>> the target
>> - how do I make sure this is available and enabled?
>> 
>> n.b. the [web] documentation on this plugin is pretty thin. Perhaps
>> once I get this going, I can contribute some meat to put on these
>> bones :-)
>> 
>> Thanks
>> 
> 
> I tried to follow the documentation in the Poky manual (still
> thin...), but it seems I'm now stuck.  I get this error:
>    Cannot complete the install because one or more required items could
>    not be found. Software being installed: Yocto Plugin for Eclipse
>    1.0.0.201010202121 (org.yocto.sdk.feature.group 1.0.0.201010202121)
>    Missing requirement: Yocto Plugin Remote Tools 1.0.0.201010202121
> (org.yocto.sdk.remotetools 1.0.0.201010202121) requires 'bundle
> org.eclipse.rse.terminals.ui 1.0.100' but it could not be found
>    Cannot satisfy dependency:
>      From: Yocto Plugin for Eclipse 1.0.0.201010202121
> (org.yocto.sdk.feature.group 1.0.0.201010202121)
> 
> As far as I can tell, the eclise-rse package on Fedora 13 is version
> 1.0.1 :-( Also, Fedora is still on Galileo 3.5.2, not Helios 3.6.
> 
> I guess I'll try the raw install of Helios since Fedora+YUM has failed me.
>
Gary,

Sorry for the thin documentation about eclipse plug-in installation.

The Yocto eclipse plugin has some dependencies on other eclipse plugins:
- C/C++ Development Tools (CDT) (http://download.eclipse.org/tools/cdt/releases/helios if using Eclipse 3.6Helios, or http://download.eclipse.org/tools/cdt/releases/galileo if using Eclipse 3.5Galileo)
- Autotools support for CDT (Incubation) (http://download.eclipse.org/technology/linuxtools/update) 
- Target Management (RSE) (http://download.eclipse.org/dsdp/tm/updates/3.2) 

To install one of the above eclipse plugins in the IDE, 
1. Go to Help > Install New Software... to open the Install dialog.
2. Click the Add... button; this will display the Add Site dialog.
3. Enter the corresponding URL in the Location: field and click "OK". This will add the corresponding update site to the list of available sites.
4. The corresponding update site should now be selected in the "Work with:" selection box. If not, you can select it from the list by clicking the down arrow and locating its entry. You can simply collapse the entry for this site to view content available for installation.
5. Check the corresponding box and click Next button, following the wizard to install the plug-in.  

Best Regards,
Lianhao



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  2010-11-22 12:50   ` Lu, Lianhao
@ 2010-11-22 13:45     ` Gary Thomas
  2010-11-22 13:55       ` Lu, Lianhao
  0 siblings, 1 reply; 24+ messages in thread
From: Gary Thomas @ 2010-11-22 13:45 UTC (permalink / raw)
  To: Lu, Lianhao; +Cc: yocto@yoctoproject.org

On 11/22/2010 05:50 AM, Lu, Lianhao wrote:
> Gary Thomas wrote on 2010-11-22:
>> On 11/22/2010 02:13 AM, Gary Thomas wrote:
>>> I'm interested in trying the Yocto Eclipse plugin with my Poky based builds.
>>> That said, I'm a true Eclipse novice :-(
>>>
>>> Does anyone have some guidance on what packages I might need to
>>> install to get a usable Eclipse framework on Fedora (13)? For
>>> example, the Yocto page mentions the "standard TCF" agent to contact
>>> the target
>>> - how do I make sure this is available and enabled?
>>>
>>> n.b. the [web] documentation on this plugin is pretty thin. Perhaps
>>> once I get this going, I can contribute some meat to put on these
>>> bones :-)
>>>
>>> Thanks
>>>
>>
>> I tried to follow the documentation in the Poky manual (still
>> thin...), but it seems I'm now stuck.  I get this error:
>>     Cannot complete the install because one or more required items could
>>     not be found. Software being installed: Yocto Plugin for Eclipse
>>     1.0.0.201010202121 (org.yocto.sdk.feature.group 1.0.0.201010202121)
>>     Missing requirement: Yocto Plugin Remote Tools 1.0.0.201010202121
>> (org.yocto.sdk.remotetools 1.0.0.201010202121) requires 'bundle
>> org.eclipse.rse.terminals.ui 1.0.100' but it could not be found
>>     Cannot satisfy dependency:
>>       From: Yocto Plugin for Eclipse 1.0.0.201010202121
>> (org.yocto.sdk.feature.group 1.0.0.201010202121)
>>
>> As far as I can tell, the eclise-rse package on Fedora 13 is version
>> 1.0.1 :-( Also, Fedora is still on Galileo 3.5.2, not Helios 3.6.
>>
>> I guess I'll try the raw install of Helios since Fedora+YUM has failed me.
>>
> Gary,
>
> Sorry for the thin documentation about eclipse plug-in installation.
>
> The Yocto eclipse plugin has some dependencies on other eclipse plugins:
> - C/C++ Development Tools (CDT) (http://download.eclipse.org/tools/cdt/releases/helios if using Eclipse 3.6Helios, or http://download.eclipse.org/tools/cdt/releases/galileo if using Eclipse 3.5Galileo)
> - Autotools support for CDT (Incubation) (http://download.eclipse.org/technology/linuxtools/update)
> - Target Management (RSE) (http://download.eclipse.org/dsdp/tm/updates/3.2)
>
> To install one of the above eclipse plugins in the IDE,
> 1. Go to Help>  Install New Software... to open the Install dialog.
> 2. Click the Add... button; this will display the Add Site dialog.
> 3. Enter the corresponding URL in the Location: field and click "OK". This will add the corresponding update site to the list of available sites.
> 4. The corresponding update site should now be selected in the "Work with:" selection box. If not, you can select it from the list by clicking the down arrow and locating its entry. You can simply collapse the entry for this site to view content available for installation.
> 5. Check the corresponding box and click Next button, following the wizard to install the plug-in.

Thanks, I installed Helios directly from the Eclipse site and that's
working better now.  I also installed the components you mention above.

When I try to configure Yocto, I'm trying to use the Poky tree method
but it doesn't like my tree :-(  I pointed it to my build directory
(the one which contains tmp/, sstate-cache/ and conf/)

What else am I missing?


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  2010-11-22 13:45     ` Gary Thomas
@ 2010-11-22 13:55       ` Lu, Lianhao
  2010-11-22 15:24         ` Gary Thomas
  0 siblings, 1 reply; 24+ messages in thread
From: Lu, Lianhao @ 2010-11-22 13:55 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto@yoctoproject.org


Gary Thomas wrote on 2010-11-22:
> Thanks, I installed Helios directly from the Eclipse site and that's
> working better now.  I also installed the components you mention above.
> 
> When I try to configure Yocto, I'm trying to use the Poky tree method
> but it doesn't like my tree :-(  I pointed it to my build directory
> (the one which contains tmp/, sstate-cache/ and conf/)
> 
> What else am I missing?
> 

You need to "bitbake meta-ide-support" before you can use the poky tree mode.

Best Regards,
Lianhao




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  2010-11-22 13:55       ` Lu, Lianhao
@ 2010-11-22 15:24         ` Gary Thomas
  2010-11-22 15:32           ` Gary Thomas
  0 siblings, 1 reply; 24+ messages in thread
From: Gary Thomas @ 2010-11-22 15:24 UTC (permalink / raw)
  To: Lu, Lianhao; +Cc: yocto@yoctoproject.org

On 11/22/2010 06:55 AM, Lu, Lianhao wrote:
>
> Gary Thomas wrote on 2010-11-22:
>> Thanks, I installed Helios directly from the Eclipse site and that's
>> working better now.  I also installed the components you mention above.
>>
>> When I try to configure Yocto, I'm trying to use the Poky tree method
>> but it doesn't like my tree :-(  I pointed it to my build directory
>> (the one which contains tmp/, sstate-cache/ and conf/)
>>
>> What else am I missing?
>>
>
> You need to "bitbake meta-ide-support" before you can use the poky tree mode.

I did that and now I can move a bit farther.  I managed to select my SDK type
(ppc603e-poky-linux) and started with the autotools example.  However, I
get this error when trying to run autogen.sh:


Generating Makefile in build directory: /home/gthomas/workspace/yocto_test3

sh /home/gthomas/workspace/yocto_test3/configure --host=powerpc-poky-linux --build=i686-linux --target=powerpc-poky-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for powerpc-poky-linux-strip... no
checking for strip... strip
configure: WARNING: using cross tools not prefixed with host triplet
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... powerpc-poky-linux-gnu
checking for style of include used by make... GNU
checking for powerpc-poky-linux-gcc... powerpc-poky-linux-gcc
checking whether the C compiler works... no
configure: error: in `/home/gthomas/workspace/yocto_test3':
configure: error: C compiler cannot create executables
See `config.log' for more details.

Configuration failed with error

It looks like there is a confusion over the SDK type and the
compiler setup?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  2010-11-22 15:24         ` Gary Thomas
@ 2010-11-22 15:32           ` Gary Thomas
  2010-11-22 18:43             ` Zhang, Jessica
  0 siblings, 1 reply; 24+ messages in thread
From: Gary Thomas @ 2010-11-22 15:32 UTC (permalink / raw)
  To: Lu, Lianhao; +Cc: yocto@yoctoproject.org

On 11/22/2010 08:24 AM, Gary Thomas wrote:
> On 11/22/2010 06:55 AM, Lu, Lianhao wrote:
>>
>> Gary Thomas wrote on 2010-11-22:
>>> Thanks, I installed Helios directly from the Eclipse site and that's
>>> working better now. I also installed the components you mention above.
>>>
>>> When I try to configure Yocto, I'm trying to use the Poky tree method
>>> but it doesn't like my tree :-( I pointed it to my build directory
>>> (the one which contains tmp/, sstate-cache/ and conf/)
>>>
>>> What else am I missing?
>>>
>>
>> You need to "bitbake meta-ide-support" before you can use the poky tree mode.
>
> I did that and now I can move a bit farther. I managed to select my SDK type
> (ppc603e-poky-linux) and started with the autotools example. However, I
> get this error when trying to run autogen.sh:
>
>
> Generating Makefile in build directory: /home/gthomas/workspace/yocto_test3
>
> sh /home/gthomas/workspace/yocto_test3/configure --host=powerpc-poky-linux --build=i686-linux --target=powerpc-poky-linux
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for powerpc-poky-linux-strip... no
> checking for strip... strip
> configure: WARNING: using cross tools not prefixed with host triplet
> 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... powerpc-poky-linux-gnu
> checking for style of include used by make... GNU
> checking for powerpc-poky-linux-gcc... powerpc-poky-linux-gcc
> checking whether the C compiler works... no
> configure: error: in `/home/gthomas/workspace/yocto_test3':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
>
> Configuration failed with error
>
> It looks like there is a confusion over the SDK type and the
> compiler setup?
>

BTW, this was on my console (hidden by the eclipse window), in
case it helps:

get env key CC value powerpc-poky-linux-gcc
get env key CXX value powerpc-poky-linux-g++
get env key GDB value powerpc-poky-linux-gdb
get env key TARGET_PREFIX value powerpc-poky-linux-
get env key CONFIGURE_FLAGS value --target=powerpc-poky-linux --host=powerpc-poky-linux --build=i686-linux
get env key CFLAGS value -mcpu=603e -mhard-float
get env key CXXFLAGS value -mcpu=603e -mhard-float
get env key POKY_NATIVE_SYSROOT value /home/gary/mytarget_poky/tmp/sysroots/i686-linux
get env key POKY_TARGET_SYSROOT value /home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  2010-11-22 15:32           ` Gary Thomas
@ 2010-11-22 18:43             ` Zhang, Jessica
  2010-11-23  8:33               ` Gary Thomas
  0 siblings, 1 reply; 24+ messages in thread
From: Zhang, Jessica @ 2010-11-22 18:43 UTC (permalink / raw)
  To: Gary Thomas, Lu, Lianhao; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 3380 bytes --]

Hi Gary,

I just setup my machine for ppc and create a new auto tools based c project
and everything seems working fine for me, so if you go
"Window->Preferecencs->Yocto SDK" in that setup window, do you see "Sysroot"
field? If yo, somehow you're using the 1.0 plugin, but that's fine, just put
"/home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux" there.  And try
to reconfigure your project which should trigger autoconfig and the compiler
should be able to use the correct sysroot setup...

Let me know whether that help or not.

Thanks,
Jessica

Gary Thomas wrote:
> On 11/22/2010 08:24 AM, Gary Thomas wrote:
>> On 11/22/2010 06:55 AM, Lu, Lianhao wrote:
>>> 
>>> Gary Thomas wrote on 2010-11-22:
>>>> Thanks, I installed Helios directly from the Eclipse site and
>>>> that's working better now. I also installed the components you
>>>> mention above. 
>>>> 
>>>> When I try to configure Yocto, I'm trying to use the Poky tree
>>>> method but it doesn't like my tree :-( I pointed it to my build
>>>> directory (the one which contains tmp/, sstate-cache/ and conf/)
>>>> 
>>>> What else am I missing?
>>>> 
>>> 
>>> You need to "bitbake meta-ide-support" before you can use the poky
>>> tree mode. 
>> 
>> I did that and now I can move a bit farther. I managed to select my
>> SDK type (ppc603e-poky-linux) and started with the autotools
>> example. However, I 
>> get this error when trying to run autogen.sh:
>> 
>> 
>> Generating Makefile in build directory:
>> /home/gthomas/workspace/yocto_test3 
>> 
>> sh /home/gthomas/workspace/yocto_test3/configure
>> --host=powerpc-poky-linux --build=i686-linux
>> --target=powerpc-poky-linux checking for a BSD-compatible install...
>> /usr/bin/install -c  
>> checking whether build environment is sane... yes
>> checking for powerpc-poky-linux-strip... no
>> checking for strip... strip
>> configure: WARNING: using cross tools not prefixed with host triplet
>> 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... powerpc-poky-linux-gnu
>> checking for style of include used by make... GNU
>> checking for powerpc-poky-linux-gcc... powerpc-poky-linux-gcc
>> checking whether the C compiler works... no
>> configure: error: in `/home/gthomas/workspace/yocto_test3':
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details.
>> 
>> Configuration failed with error
>> 
>> It looks like there is a confusion over the SDK type and the
>> compiler setup?
>> 
> 
> BTW, this was on my console (hidden by the eclipse window), in
> case it helps:
> 
> get env key CC value powerpc-poky-linux-gcc
> get env key CXX value powerpc-poky-linux-g++
> get env key GDB value powerpc-poky-linux-gdb
> get env key TARGET_PREFIX value powerpc-poky-linux-
> get env key CONFIGURE_FLAGS value --target=powerpc-poky-linux
> --host=powerpc-poky-linux --build=i686-linux get env key CFLAGS value
> -mcpu=603e -mhard-float 
> get env key CXXFLAGS value -mcpu=603e -mhard-float
> get env key POKY_NATIVE_SYSROOT value
> /home/gary/mytarget_poky/tmp/sysroots/i686-linux 
> get env key POKY_TARGET_SYSROOT value
> /home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux 

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 8455 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  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
  0 siblings, 2 replies; 24+ messages in thread
From: Gary Thomas @ 2010-11-23  8:33 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto@yoctoproject.org

On 11/22/10 11:43, Zhang, Jessica wrote:
> Hi Gary,
>
> I just setup my machine for ppc and create a new auto tools based c project
> and everything seems working fine for me, so if you go
> "Window->Preferecencs->Yocto SDK" in that setup window, do you see "Sysroot"
> field? If yo, somehow you're using the 1.0 plugin, but that's fine, just put
> "/home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux" there.  And try
> to reconfigure your project which should trigger autoconfig and the compiler
> should be able to use the correct sysroot setup...
>
> Let me know whether that help or not.

I don't have a Sysroot field on that form, only a "Poky root" which is pointing
to the top of my tree, in your example "/home/gary/mytarget_poky/"

I installed the Yocto SDK 1.0.0.201010202121 from http://www.yoctoproject.org/downloads/eclipse-plugin/

> Gary Thomas wrote:
>> On 11/22/2010 08:24 AM, Gary Thomas wrote:
>>> On 11/22/2010 06:55 AM, Lu, Lianhao wrote:
>>>>
>>>> Gary Thomas wrote on 2010-11-22:
>>>>> Thanks, I installed Helios directly from the Eclipse site and
>>>>> that's working better now. I also installed the components you
>>>>> mention above.
>>>>>
>>>>> When I try to configure Yocto, I'm trying to use the Poky tree
>>>>> method but it doesn't like my tree :-( I pointed it to my build
>>>>> directory (the one which contains tmp/, sstate-cache/ and conf/)
>>>>>
>>>>> What else am I missing?
>>>>>
>>>>
>>>> You need to "bitbake meta-ide-support" before you can use the poky
>>>> tree mode.
>>>
>>> I did that and now I can move a bit farther. I managed to select my
>>> SDK type (ppc603e-poky-linux) and started with the autotools
>>> example. However, I
>>> get this error when trying to run autogen.sh:
>>>
>>>
>>> Generating Makefile in build directory:
>>> /home/gthomas/workspace/yocto_test3
>>>
>>> sh /home/gthomas/workspace/yocto_test3/configure
>>> --host=powerpc-poky-linux --build=i686-linux
>>> --target=powerpc-poky-linux checking for a BSD-compatible install...
>>> /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> checking for powerpc-poky-linux-strip... no
>>> checking for strip... strip
>>> configure: WARNING: using cross tools not prefixed with host triplet
>>> 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... powerpc-poky-linux-gnu
>>> checking for style of include used by make... GNU
>>> checking for powerpc-poky-linux-gcc... powerpc-poky-linux-gcc
>>> checking whether the C compiler works... no
>>> configure: error: in `/home/gthomas/workspace/yocto_test3':
>>> configure: error: C compiler cannot create executables
>>> See `config.log' for more details.
>>>
>>> Configuration failed with error
>>>
>>> It looks like there is a confusion over the SDK type and the
>>> compiler setup?
>>>
>>
>> BTW, this was on my console (hidden by the eclipse window), in
>> case it helps:
>>
>> get env key CC value powerpc-poky-linux-gcc
>> get env key CXX value powerpc-poky-linux-g++
>> get env key GDB value powerpc-poky-linux-gdb
>> get env key TARGET_PREFIX value powerpc-poky-linux-
>> get env key CONFIGURE_FLAGS value --target=powerpc-poky-linux
>> --host=powerpc-poky-linux --build=i686-linux get env key CFLAGS value
>> -mcpu=603e -mhard-float
>> get env key CXXFLAGS value -mcpu=603e -mhard-float
>> get env key POKY_NATIVE_SYSROOT value
>> /home/gary/mytarget_poky/tmp/sysroots/i686-linux
>> get env key POKY_TARGET_SYSROOT value
>> /home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  2010-11-23  8:33               ` Gary Thomas
@ 2010-11-23  9:00                 ` Lu, Lianhao
  2010-11-23 21:43                 ` Zhang, Jessica
  1 sibling, 0 replies; 24+ messages in thread
From: Lu, Lianhao @ 2010-11-23  9:00 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto@yoctoproject.org

Gary,

Pls compile your application using the cmd line to debug the error:

# source /home/gary/mytarget_poky/tmp/environment-setup-ppc603e-poky-linux
# cd /home/gthomas/workspace/yocto_test3
# ./configure --host=powerpc-poky-linux --build=i686-linux --target=powerpc-poky-linux

If it still fails, you may look at the config.log to see what actually goes wrong here.

Best regards,
-Lianhao

>> Gary Thomas wrote:
>>>> I did that and now I can move a bit farther. I managed to select my
>>>> SDK type (ppc603e-poky-linux) and started with the autotools
>>>> example. However, I
>>>> get this error when trying to run autogen.sh:
>>>> 
>>>> 
>>>> Generating Makefile in build directory:
>>>> /home/gthomas/workspace/yocto_test3
>>>> 
>>>> sh /home/gthomas/workspace/yocto_test3/configure
>>>> --host=powerpc-poky-linux --build=i686-linux
>>>> --target=powerpc-poky-linux checking for a BSD-compatible install...
>>>> /usr/bin/install -c
>>>> checking whether build environment is sane... yes
>>>> checking for powerpc-poky-linux-strip... no
>>>> checking for strip... strip
>>>> configure: WARNING: using cross tools not prefixed with host triplet
>>>> 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... powerpc-poky-linux-gnu
>>>> checking for style of include used by make... GNU
>>>> checking for powerpc-poky-linux-gcc... powerpc-poky-linux-gcc
>>>> checking whether the C compiler works... no
>>>> configure: error: in `/home/gthomas/workspace/yocto_test3':
>>>> configure: error: C compiler cannot create executables
>>>> See `config.log' for more details.
>>>> 
>>>> Configuration failed with error
>>>> 
>>>> It looks like there is a confusion over the SDK type and the
>>>> compiler setup?
>>>> 
>>> 
>>> BTW, this was on my console (hidden by the eclipse window), in
>>> case it helps:
>>> 
>>> get env key CC value powerpc-poky-linux-gcc
>>> get env key CXX value powerpc-poky-linux-g++
>>> get env key GDB value powerpc-poky-linux-gdb
>>> get env key TARGET_PREFIX value powerpc-poky-linux-
>>> get env key CONFIGURE_FLAGS value --target=powerpc-poky-linux
>>> --host=powerpc-poky-linux --build=i686-linux get env key CFLAGS value
>>> -mcpu=603e -mhard-float
>>> get env key CXXFLAGS value -mcpu=603e -mhard-float
>>> get env key POKY_NATIVE_SYSROOT value
>>> /home/gary/mytarget_poky/tmp/sysroots/i686-linux
>>> get env key POKY_TARGET_SYSROOT value
>>> /home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  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
  1 sibling, 1 reply; 24+ messages in thread
From: Zhang, Jessica @ 2010-11-23 21:43 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 4689 bytes --]

Gary,

I setup my eclipse IDE to be using 0.9 plug-in and couldn't reproduce the
problem that you run into.  Here're several key step screenshots that I used
to create a Yocto Autotools based project and run autoconfig for it.
Step 1: Please refere preference.png for your "Yocto SDK" settings under
Window->Preference
Step 2: In c project, please make sure you select "Yocto SDK Project->Hello
World ANSI C Autotools Project" (please refer to project.png)
Step 3: reconfigure.png is the output when I do Project->"Reconfigure
Project".  

If you still run into problem, go under Project->Invoke Yocto
Tools->Reconfigure Yocto, make sure the setting there is the same as your
settings under preference.  Then do step 3 again to reconfigure. 

Hope this will get you going...

Thanks,
Jessica


Gary Thomas wrote:
> On 11/22/10 11:43, Zhang, Jessica wrote:
>> Hi Gary,
>> 
>> I just setup my machine for ppc and create a new auto tools based c
>> project and everything seems working fine for me, so if you go
>> "Window->Preferecencs->Yocto SDK" in that setup window, do you see
>> "Sysroot" field? If yo, somehow you're using the 1.0 plugin, but
>> that's fine, just put
>> "/home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux" there. 
>> And try to reconfigure your project which should trigger autoconfig
>> and the compiler should be able to use the correct sysroot setup... 
>> 
>> Let me know whether that help or not.
> 
> I don't have a Sysroot field on that form, only a "Poky root" which
> is pointing 
> to the top of my tree, in your example "/home/gary/mytarget_poky/"
> 
> I installed the Yocto SDK 1.0.0.201010202121 from
> http://www.yoctoproject.org/downloads/eclipse-plugin/ 
> 
>> Gary Thomas wrote:
>>> On 11/22/2010 08:24 AM, Gary Thomas wrote:
>>>> On 11/22/2010 06:55 AM, Lu, Lianhao wrote:
>>>>> 
>>>>> Gary Thomas wrote on 2010-11-22:
>>>>>> Thanks, I installed Helios directly from the Eclipse site and
>>>>>> that's working better now. I also installed the components you
>>>>>> mention above. 
>>>>>> 
>>>>>> When I try to configure Yocto, I'm trying to use the Poky tree
>>>>>> method but it doesn't like my tree :-( I pointed it to my build
>>>>>> directory (the one which contains tmp/, sstate-cache/ and conf/)
>>>>>> 
>>>>>> What else am I missing?
>>>>>> 
>>>>> 
>>>>> You need to "bitbake meta-ide-support" before you can use the poky
>>>>> tree mode.
>>>> 
>>>> I did that and now I can move a bit farther. I managed to select my
>>>> SDK type (ppc603e-poky-linux) and started with the autotools
>>>> example. However, I get this error when trying to run autogen.sh:
>>>> 
>>>> 
>>>> Generating Makefile in build directory:
>>>> /home/gthomas/workspace/yocto_test3
>>>> 
>>>> sh /home/gthomas/workspace/yocto_test3/configure
>>>> --host=powerpc-poky-linux --build=i686-linux
>>>> --target=powerpc-poky-linux checking for a BSD-compatible
>>>> install... /usr/bin/install -c checking whether build environment
>>>> is sane... yes 
>>>> checking for powerpc-poky-linux-strip... no
>>>> checking for strip... strip
>>>> configure: WARNING: using cross tools not prefixed with host
>>>> triplet 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... powerpc-poky-linux-gnu
>>>> checking for style of include used by make... GNU
>>>> checking for powerpc-poky-linux-gcc... powerpc-poky-linux-gcc
>>>> checking whether the C compiler works... no
>>>> configure: error: in `/home/gthomas/workspace/yocto_test3':
>>>> configure: error: C compiler cannot create executables
>>>> See `config.log' for more details.
>>>> 
>>>> Configuration failed with error
>>>> 
>>>> It looks like there is a confusion over the SDK type and the
>>>> compiler setup? 
>>>> 
>>> 
>>> BTW, this was on my console (hidden by the eclipse window), in
>>> case it helps:
>>> 
>>> get env key CC value powerpc-poky-linux-gcc
>>> get env key CXX value powerpc-poky-linux-g++
>>> get env key GDB value powerpc-poky-linux-gdb
>>> get env key TARGET_PREFIX value powerpc-poky-linux-
>>> get env key CONFIGURE_FLAGS value --target=powerpc-poky-linux
>>> --host=powerpc-poky-linux --build=i686-linux get env key CFLAGS
>>> value 
>>> -mcpu=603e -mhard-float
>>> get env key CXXFLAGS value -mcpu=603e -mhard-float
>>> get env key POKY_NATIVE_SYSROOT value
>>> /home/gary/mytarget_poky/tmp/sysroots/i686-linux
>>> get env key POKY_TARGET_SYSROOT value
>>> /home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 8455 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  2010-11-23 21:43                 ` Zhang, Jessica
@ 2010-11-23 21:44                   ` Zhang, Jessica
  2010-11-24  6:47                     ` Gary Thomas
  0 siblings, 1 reply; 24+ messages in thread
From: Zhang, Jessica @ 2010-11-23 21:44 UTC (permalink / raw)
  To: Zhang, Jessica, Gary Thomas; +Cc: yocto@yoctoproject.org


[-- Attachment #1.1: Type: text/plain, Size: 4881 bytes --]

Sorry forgot the attachements.


Zhang, Jessica wrote:
> Gary,
> 
> I setup my eclipse IDE to be using 0.9 plug-in and couldn't reproduce
> the problem that you run into.  Here're several key step screenshots
> that I used to create a Yocto Autotools based project and run
> autoconfig for it. 
> Step 1: Please refere preference.png for your "Yocto SDK" settings
> under Window->Preference
> Step 2: In c project, please make sure you select "Yocto SDK
> Project->Hello World ANSI C Autotools Project" (please refer to
> project.png) 
> Step 3: reconfigure.png is the output when I do Project->"Reconfigure
> Project".
> 
> If you still run into problem, go under Project->Invoke Yocto
> Tools->Reconfigure Yocto, make sure the setting there is the same as
> your settings under preference.  Then do step 3 again to reconfigure.
> 
> Hope this will get you going...
> 
> Thanks,
> Jessica
> 
> 
> Gary Thomas wrote:
>> On 11/22/10 11:43, Zhang, Jessica wrote:
>>> Hi Gary,
>>> 
>>> I just setup my machine for ppc and create a new auto tools based c
>>> project and everything seems working fine for me, so if you go
>>> "Window->Preferecencs->Yocto SDK" in that setup window, do you see
>>> "Sysroot" field? If yo, somehow you're using the 1.0 plugin, but
>>> that's fine, just put
>>> "/home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux" there.
>>> And try to reconfigure your project which should trigger autoconfig
>>> and the compiler should be able to use the correct sysroot setup... 
>>> 
>>> Let me know whether that help or not.
>> 
>> I don't have a Sysroot field on that form, only a "Poky root" which
>> is pointing to the top of my tree, in your example
>> "/home/gary/mytarget_poky/" 
>> 
>> I installed the Yocto SDK 1.0.0.201010202121 from
>> http://www.yoctoproject.org/downloads/eclipse-plugin/
>> 
>>> Gary Thomas wrote:
>>>> On 11/22/2010 08:24 AM, Gary Thomas wrote:
>>>>> On 11/22/2010 06:55 AM, Lu, Lianhao wrote:
>>>>>> 
>>>>>> Gary Thomas wrote on 2010-11-22:
>>>>>>> Thanks, I installed Helios directly from the Eclipse site and
>>>>>>> that's working better now. I also installed the components you
>>>>>>> mention above. 
>>>>>>> 
>>>>>>> When I try to configure Yocto, I'm trying to use the Poky tree
>>>>>>> method but it doesn't like my tree :-( I pointed it to my build
>>>>>>> directory (the one which contains tmp/, sstate-cache/ and conf/)
>>>>>>> 
>>>>>>> What else am I missing?
>>>>>>> 
>>>>>> 
>>>>>> You need to "bitbake meta-ide-support" before you can use the
>>>>>> poky tree mode.
>>>>> 
>>>>> I did that and now I can move a bit farther. I managed to select
>>>>> my SDK type (ppc603e-poky-linux) and started with the autotools
>>>>> example. However, I get this error when trying to run autogen.sh:
>>>>> 
>>>>> 
>>>>> Generating Makefile in build directory:
>>>>> /home/gthomas/workspace/yocto_test3
>>>>> 
>>>>> sh /home/gthomas/workspace/yocto_test3/configure
>>>>> --host=powerpc-poky-linux --build=i686-linux
>>>>> --target=powerpc-poky-linux checking for a BSD-compatible
>>>>> install... /usr/bin/install -c checking whether build environment
>>>>> is sane... yes checking for powerpc-poky-linux-strip... no
>>>>> checking for strip... strip
>>>>> configure: WARNING: using cross tools not prefixed with host
>>>>> triplet 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... powerpc-poky-linux-gnu
>>>>> checking for style of include used by make... GNU
>>>>> checking for powerpc-poky-linux-gcc... powerpc-poky-linux-gcc
>>>>> checking whether the C compiler works... no
>>>>> configure: error: in `/home/gthomas/workspace/yocto_test3':
>>>>> configure: error: C compiler cannot create executables
>>>>> See `config.log' for more details.
>>>>> 
>>>>> Configuration failed with error
>>>>> 
>>>>> It looks like there is a confusion over the SDK type and the
>>>>> compiler setup? 
>>>>> 
>>>> 
>>>> BTW, this was on my console (hidden by the eclipse window), in
>>>> case it helps: 
>>>> 
>>>> get env key CC value powerpc-poky-linux-gcc
>>>> get env key CXX value powerpc-poky-linux-g++
>>>> get env key GDB value powerpc-poky-linux-gdb
>>>> get env key TARGET_PREFIX value powerpc-poky-linux-
>>>> get env key CONFIGURE_FLAGS value --target=powerpc-poky-linux
>>>> --host=powerpc-poky-linux --build=i686-linux get env key CFLAGS
>>>> value 
>>>> -mcpu=603e -mhard-float
>>>> get env key CXXFLAGS value -mcpu=603e -mhard-float
>>>> get env key POKY_NATIVE_SYSROOT value
>>>> /home/gary/mytarget_poky/tmp/sysroots/i686-linux
>>>> get env key POKY_TARGET_SYSROOT value
>>>> /home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux

[-- Attachment #1.2: reconfigure.png --]
[-- Type: image/png, Size: 274443 bytes --]

[-- Attachment #1.3: preference.png --]
[-- Type: image/png, Size: 269790 bytes --]

[-- Attachment #1.4: project.png --]
[-- Type: image/png, Size: 284424 bytes --]

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 8455 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse plugin
  2010-11-23 21:44                   ` Zhang, Jessica
@ 2010-11-24  6:47                     ` Gary Thomas
  0 siblings, 0 replies; 24+ messages in thread
From: Gary Thomas @ 2010-11-24  6:47 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto@yoctoproject.org

On 11/23/2010 02:44 PM, Zhang, Jessica wrote:
> Sorry forgot the attachements.
>
>
> Zhang, Jessica wrote:
>> Gary,
>>
>> I setup my eclipse IDE to be using 0.9 plug-in and couldn't reproduce
>> the problem that you run into.  Here're several key step screenshots
>> that I used to create a Yocto Autotools based project and run
>> autoconfig for it.
>> Step 1: Please refere preference.png for your "Yocto SDK" settings
>> under Window->Preference
>> Step 2: In c project, please make sure you select "Yocto SDK
>> Project->Hello World ANSI C Autotools Project" (please refer to
>> project.png)
>> Step 3: reconfigure.png is the output when I do Project->"Reconfigure
>> Project".
>>
>> If you still run into problem, go under Project->Invoke Yocto
>> Tools->Reconfigure Yocto, make sure the setting there is the same as
>> your settings under preference.  Then do step 3 again to reconfigure.
>>
>> Hope this will get you going...

Thanks, this did help.  My biggest problem was that the Poky tree I was
trying to use had grown a permission problem so I could no longer execute
the compiler (result of moving the tree between machines - pure cockpit
error, sorry).  Once I restarted a new Eclipse project with a proper tree
(again I forgot the meta-ide-support package - is this documented?), things
have started coming together.

Next step - try to debug this project on my remote board.

Thanks again

>> Gary Thomas wrote:
>>> On 11/22/10 11:43, Zhang, Jessica wrote:
>>>> Hi Gary,
>>>>
>>>> I just setup my machine for ppc and create a new auto tools based c
>>>> project and everything seems working fine for me, so if you go
>>>> "Window->Preferecencs->Yocto SDK" in that setup window, do you see
>>>> "Sysroot" field? If yo, somehow you're using the 1.0 plugin, but
>>>> that's fine, just put
>>>> "/home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux" there.
>>>> And try to reconfigure your project which should trigger autoconfig
>>>> and the compiler should be able to use the correct sysroot setup...
>>>>
>>>> Let me know whether that help or not.
>>>
>>> I don't have a Sysroot field on that form, only a "Poky root" which
>>> is pointing to the top of my tree, in your example
>>> "/home/gary/mytarget_poky/"
>>>
>>> I installed the Yocto SDK 1.0.0.201010202121 from
>>> http://www.yoctoproject.org/downloads/eclipse-plugin/
>>>
>>>> Gary Thomas wrote:
>>>>> On 11/22/2010 08:24 AM, Gary Thomas wrote:
>>>>>> On 11/22/2010 06:55 AM, Lu, Lianhao wrote:
>>>>>>>
>>>>>>> Gary Thomas wrote on 2010-11-22:
>>>>>>>> Thanks, I installed Helios directly from the Eclipse site and
>>>>>>>> that's working better now. I also installed the components you
>>>>>>>> mention above.
>>>>>>>>
>>>>>>>> When I try to configure Yocto, I'm trying to use the Poky tree
>>>>>>>> method but it doesn't like my tree :-( I pointed it to my build
>>>>>>>> directory (the one which contains tmp/, sstate-cache/ and conf/)
>>>>>>>>
>>>>>>>> What else am I missing?
>>>>>>>>
>>>>>>>
>>>>>>> You need to "bitbake meta-ide-support" before you can use the
>>>>>>> poky tree mode.
>>>>>>
>>>>>> I did that and now I can move a bit farther. I managed to select
>>>>>> my SDK type (ppc603e-poky-linux) and started with the autotools
>>>>>> example. However, I get this error when trying to run autogen.sh:
>>>>>>
>>>>>>
>>>>>> Generating Makefile in build directory:
>>>>>> /home/gthomas/workspace/yocto_test3
>>>>>>
>>>>>> sh /home/gthomas/workspace/yocto_test3/configure
>>>>>> --host=powerpc-poky-linux --build=i686-linux
>>>>>> --target=powerpc-poky-linux checking for a BSD-compatible
>>>>>> install... /usr/bin/install -c checking whether build environment
>>>>>> is sane... yes checking for powerpc-poky-linux-strip... no
>>>>>> checking for strip... strip
>>>>>> configure: WARNING: using cross tools not prefixed with host
>>>>>> triplet 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... powerpc-poky-linux-gnu
>>>>>> checking for style of include used by make... GNU
>>>>>> checking for powerpc-poky-linux-gcc... powerpc-poky-linux-gcc
>>>>>> checking whether the C compiler works... no
>>>>>> configure: error: in `/home/gthomas/workspace/yocto_test3':
>>>>>> configure: error: C compiler cannot create executables
>>>>>> See `config.log' for more details.
>>>>>>
>>>>>> Configuration failed with error
>>>>>>
>>>>>> It looks like there is a confusion over the SDK type and the
>>>>>> compiler setup?
>>>>>>
>>>>>
>>>>> BTW, this was on my console (hidden by the eclipse window), in
>>>>> case it helps:
>>>>>
>>>>> get env key CC value powerpc-poky-linux-gcc
>>>>> get env key CXX value powerpc-poky-linux-g++
>>>>> get env key GDB value powerpc-poky-linux-gdb
>>>>> get env key TARGET_PREFIX value powerpc-poky-linux-
>>>>> get env key CONFIGURE_FLAGS value --target=powerpc-poky-linux
>>>>> --host=powerpc-poky-linux --build=i686-linux get env key CFLAGS
>>>>> value
>>>>> -mcpu=603e -mhard-float
>>>>> get env key CXXFLAGS value -mcpu=603e -mhard-float
>>>>> get env key POKY_NATIVE_SYSROOT value
>>>>> /home/gary/mytarget_poky/tmp/sysroots/i686-linux
>>>>> get env key POKY_TARGET_SYSROOT value
>>>>> /home/gary/mytarget_poky/tmp/sysroots/ppc603e-poky-linux

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Eclipse Plugin
@ 2013-01-17 12:09 Raul Rosetto Munoz
  2013-01-17 19:22 ` Zhang, Jessica
  0 siblings, 1 reply; 24+ messages in thread
From: Raul Rosetto Munoz @ 2013-01-17 12:09 UTC (permalink / raw)
  To: yocto@yoctoproject.org


[-- Attachment #1.1: Type: text/plain, Size: 7810 bytes --]

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*

[-- Attachment #1.2: Type: text/html, Size: 14084 bytes --]

[-- Attachment #2: config.log --]
[-- Type: application/octet-stream, Size: 35108 bytes --]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by teste configure 0.1.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /home/prjs/compsis0001/workspace/teste/configure --with-libtool-sysroot=/opt/poky/1.3 --host=arm-poky-linux-gnueabi --build=i686-linux --target=arm-poky-linux-gnueabi

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu
uname -m = i686
uname -r = 3.2.0-23-generic-pae
uname -s = Linux
uname -v = #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin
PATH: /opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi
PATH: /usr/lib/lightdm/lightdm
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2002: loading site script /opt/poky/1.3/site-config-armv5te-poky-linux-gnueabi
| ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
| ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
| 
| # libnet
| ac_cv_libnet_endianess=${ac_cv_libnet_endianess=lil}
| 
| # general
| ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
| ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
| ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4}
| ac_cv_sizeof_unsigned_char_p=${ac_cv_sizeof_unsigned_char_p=4}
| ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
| ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int=4}
| ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4}
| ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
| ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=4}
| ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
| ac_cv_sizeof_unsigned_long_long=${ac_cv_sizeof_unsigned_long_long=8}
| ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
| ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}
| ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=4}
| ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4}
| ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=4}
| ac_cv_sizeof_long_p=${ac_cv_sizeof_long_p=4}
| ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
| ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=4}
| ac_cv_sizeof_uid_t=${ac_cv_sizeof_uid_t=4}
| ac_cv_sizeof_gid_t=${ac_cv_sizeof_gid_t=4}
| ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=4}
| ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8}
| ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes}
| ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
| ac_cv_func_pthread_key_delete=${ac_cv_func_pthread_key_delete=yes}
| ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}
| ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no}
| ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
| ac_cv_va_val_copy=${ac_cv_va_val_copy=yes}
| 
| ac_cv_header_netinet_sctp_h=${ac_cv_header_netinet_sctp_h=no}
| ac_cv_header_netinet_sctp_uio_h=${ac_cv_header_netinet_sctp_uio_h=no}
| ac_cv_linux_vers=${ac_cv_linux_vers=2}
| ac_cv_sctp=${ac_cv_sctp=no}
| 
| apr_cv_process_shared_works=${apr_cv_process_shared_works=no}
| apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
| 
| ac_cv_path_ESD_CONFIG=no
| lf_cv_sane_realloc=yes
| jm_cv_func_gettimeofday_clobber=no
| samba_cv_HAVE_GETTIMEOFDAY_TZ=yes
| bf_lsbf=1
| ac_cv_uchar=${ac_cv_uchar=no}
| ac_cv_uint=${ac_cv_uint=yes}
| ac_cv_ulong=${ac_cv_ulong=yes}
| ac_cv_ushort=${ac_cv_ushort=yes}
| 
| # audacity
| ac_cv_file_lib_src_libmad_frame_h=${ac_cv_file_lib_src_libmad_frame_h=no}
| 
| # bash
| ac_cv_c_long_double=${ac_cv_c_long_double=yes}
| bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing}
| 
| # clamav
| clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
| clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
| clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
| ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
| 
| # cvs
| cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
| 
| # db
| db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
| db_cv_align_t=${db_cv_align_t='unsigned long long'}
| db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
| db_cv_sprintf_count=${db_cv_sprintf_count=yes}
| 
| # D-BUS
| ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
| 
| # ettercap
| ettercap_cv_type_socklen_t=${ettercap_cv_type_socklen_t=yes}
| 
| # gettext
| am_cv_func_working_getline=${am_cv_func_working_getline=yes}
| 
| # glib
| glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
| glib_cv_has__inline=${glib_cv_has__inline=yes}
| glib_cv_has__inline__=${glib_cv_has__inline__=yes}
| glib_cv_hasinline=${glib_cv_hasinline=yes}
| glib_cv_sane_realloc=${glib_cv_sane_realloc=yes}
| glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
| glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_posix=yes}
| glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=yes}
| glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes}
| glib_cv_uscore=${glib_cv_uscore=no}
| glib_cv_va_val_copy=${glib_cv_va_val_copy=yes}
| glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=yes}
| 
| # glib-2.0
| glib_cv_stack_grows=${glib_cv_stack_grows=no}
| utils_cv_sys_open_max=${utils_cv_sys_open_max=1015}
| glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}
| ac_cv_alignof_guint32=4
| ac_cv_alignof_guint64=4
| ac_cv_alignof_unsigned_long=4
| 
| # guile
| ac_cv_uchar=${ac_cv_uchar=no}
| ac_cv_uint=${ac_cv_uint=yes}
| ac_cv_ulong=${ac_cv_ulong=yes}
| ac_cv_ushort=${ac_cv_ushort=yes}
| 
| # intercom
| ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
| 
| # jikes-native
| ac_cv_sizeof_wchar_t=4
| 
| # lftp
| ac_cv_need_trio=${ac_cv_need_trio=no}
| lftp_cv_va_val_copy=${lftp_cv_va_val_copy=yes}
| 
| # libidl
| libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
| 
| # libnet 
| ac_cv_lbl_unaligned_fail=${ac_cv_lbl_unaligned_fail=no}
| ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
| 
| # libxfce4util
| with_broken_putenv=${with_broken_putenv=no}
| 
| # mysql
| mysql_cv_func_atomic_sub=${mysql_cv_func_atomic_sub=yes}
| mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=yes}
| 
| # ORBit2
| ac_cv_alignof_CORBA_boolean=1
| ac_cv_alignof_CORBA_char=1
| ac_cv_alignof_CORBA_double=4
| ac_cv_alignof_CORBA_float=4
| ac_cv_alignof_CORBA_long=4
| ac_cv_alignof_CORBA_long_double=4
| ac_cv_alignof_CORBA_long_long=4
| ac_cv_alignof_CORBA_octet=1
| ac_cv_alignof_CORBA_pointer=4
| ac_cv_alignof_CORBA_short=2
| ac_cv_alignof_CORBA_struct=4
| ac_cv_alignof_CORBA_wchar=2
| 
| # php
| ac_cv_pread=${ac_cv_pread=no}
| ac_cv_pwrite=${ac_cv_pwrite=no}
| php_cv_lib_cookie_io_functions_use_off64_t=${php_cv_lib_cookie_io_functions_use_off64_t=yes}
| 
| # rsync
| rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no}
| rsync_cv_HAVE_SOCKETPAIR=${rsync_cv_HAVE_SOCKETPAIR=yes}
| rsync_cv_HAVE_LONGLONG=${rsync_cv_HAVE_LONGLONG=yes}
| rsync_cv_HAVE_OFF64_T=${rsync_cv_HAVE_OFF64_T=no}
| rsync_cv_HAVE_SHORT_INO_T=${rsync_cv_HAVE_SHORT_INO_T=no}
| rsync_cv_HAVE_UNSIGNED_CHAR=${rsync_cv_HAVE_UNSIGNED_CHAR=no}
| rsync_cv_HAVE_BROKEN_READDIR=${rsync_cv_HAVE_BROKEN_READDIR=no}
| rsync_cv_HAVE_GETTIMEOFDAY_TZ=${rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes}
| rsync_cv_HAVE_C99_VSNPRINTF=${rsync_cv_HAVE_C99_VSNPRINTF=yes}
| rsync_cv_HAVE_SECURE_MKSTEMP=${rsync_cv_HAVE_SECURE_MKSTEMP=yes}
| rsync_cv_REPLACE_INET_NTOA=${rsync_cv_REPLACE_INET_NTOA=no}
| rsync_cv_REPLACE_INET_ATON=${rsync_cv_REPLACE_INET_ATON=no}
| 
| # samba
| samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
| 
| # screen
| screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
| screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
| screen_cv_sys_memmove_overlap=${screen_cv_sys_memmove_overlap=no}
| screen_cv_sys_fifo_broken_impl=${screen_cv_sys_fifo_broken_impl=yes}
| screen_cv_sys_fifo_usable=${screen_cv_sys_fifo_usable=yes}
| screen_cv_sys_select_broken_retval=${screen_cv_sys_select_broken_retval=no}
| screen_cv_sys_sockets_nofs=${screen_cv_sys_sockets_nofs=no}
| screen_cv_sys_sockets_usable=${screen_cv_sys_sockets_usable=yes}
| screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes}
| 
| # slrn
| slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes}
| 
| # ssh
| ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
| ac_cv_have_broken_snprintf=${ac_cv_have_broken_snprintf=no}
| ac_cv_have_accrights_in_msghdr=${ac_cv_have_accrights_in_msghdr=no}
| ac_cv_have_control_in_msghdr=${ac_cv_have_control_in_msghdr=yes}
| ac_cv_type_struct_timespec=${ac_cv_type_struct_timespec=yes}
| ac_cv_have_openpty_ctty_bug=${ac_cv_have_openpty_ctty_bug=yes}
| 
| # startup-notification
| lf_cv_sane_realloc=yes
| 
| # xffm
| jm_cv_func_working_readdir=yes
| 
| # xorg X11R7
| ac_cv_sys_linker_h=${ac_cv_sys_linker_h=no}
| ac_cv_file__usr_share_X11_sgml_defs_ent=${ac_cv_file__usr_share_X11_sgml_defs_ent=no}
| 
| # evolution-data-server
| ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
| 
| #dbus
| ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
| 
| #libpciaccess
| have_mtrr_h=yes
| 
| #mozilla
| moz_cv_size_of_JS_BYTES_PER_WORD=4
| moz_cv_align_of_JS_ALIGN_OF_POINTER=4
| moz_cv_size_of_JS_BYTES_PER_DOUBLE=8
| 
| #ofono
| ac_cv_lib_c_signalfd=${ac_cv_lib_c_signalfd=yes}
| 
| #unfs-server
| nfsd_cv_broken_setfsuid=${nfsd_cv_broken_setfsuid=0}
| nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
| nfsd_cv_bsd_signals=${nfsd_cv_bsd_signals=yes}
| # apr
| ac_cv_file__dev_zero=${ac_cv_file__dev_zero=yes}
| ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t=4}
| 
| # samba
| samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no}
| samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes}
| samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes}
| samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no}
| 
| # db
| db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar}
| db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod}
| db_cv_path_cp=${db_cv_path_cp=/bin/cp}
| db_cv_path_ln=${db_cv_path_ln=/bin/ln}
| db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir}
| db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib}
| db_cv_path_rm=${db_cv_path_rm=/bin/rm}
| db_cv_path_sh=${db_cv_path_sh=/bin/sh}
| db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip}
| 
| # bash
| bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes}
| bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no}
| bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken=no}
| bash_cv_dup2_broken=${bash_cv_dup2_broken=no}
| bash_cv_opendir_not_robust=${bash_cv_opendir_not_robust=no}
| bash_cv_type_rlimit=${bash_cv_type_rlimit=rlim_t}
| bash_cv_getenv_redef=${bash_cv_getenv_redef=yes}
| bash_cv_ulimit_maxfds=${bash_cv_ulimit_maxfds=yes}
| bash_cv_getcwd_calls_popen=${bash_cv_getcwd_calls_popen=no}
| bash_cv_printf_a_format=${bash_cv_printf_a_format=yes}
| bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no}
| bash_cv_job_control_missing=${bash_cv_job_control_missing=present}
| bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present}
| bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no}
| 
| # coreutils
| gl_cv_func_fstatat_zero_flag=${gl_cv_func_fstatat_zero_flag=yes}
| 
| # mysql
| ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes}
| ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes}
| 
| # TCL
| tcl_cv_api_serial=${tcl_cv_api_serial=termios}
| 
| # python
| ac_cv_have_long_long_format=yes
| # general
| ac_cv_have_decl_sys_siglist=${ac_cv_have_decl_sys_siglist=yes}
| ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes}
| ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes}
| ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes}
| ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
| ac_cv_func_memcmp_working=${ac_cv_func_memcmp_working=yes}
| ac_cv_func_getpgrp_void=yes
| ac_cv_func_setpgrp_void=yes
| ac_cv_func_setgrent_void=yes
| ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes}
| ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes}
| ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
| ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
| ac_cv_type_uid_t={ac_cv_type_uid_t=yes}
| ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
| 
| # bash
| bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist=yes}
| bash_cv_sys_siglist=${bash_cv_sys_siglist=yes}
| 
| # clamav
| clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
| clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
| clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
| ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
| 
| # coreutils
| fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes}
| 
| # glib
| glib_cv_strlcpy=${glib_cv_strlcpy=no}
| ac_cv_func_printf_unix98=${ac_cv_func_printf_unix98=yes}
| ac_cv_func_snprintf_c99=${ac_cv_func_snprintf_c99=yes}
| ac_cv_func_vsnprintf_c99=${ac_cv_func_vsnprintf_c99=yes}
| glib_cv_compliant_posix_memalign=${glib_cv_compliant_posix_memalign=1}
| glib_cv_long_long_format=${glib_cv_long_long_format=ll}
| # glib-1.x requires this and pkgconfig-native / pkgconfig-nativesdk use
| # that to avoid a dependency loop.
| glib_cv___va_copy=${glib_cv___va_copy=yes}
| glib_cv_va_copy=${glib_cv_va_copy=yes}
| glib_cv_have_qsort_r=${glib_cv_have_qsort_r=yes}
| 
| #dbus-glib
| ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
| 
| # gnucash
| am_cv_scanf_lld=${am_cv_scanf_lld=yes}
| 
| # guile
| ac_cv_func_pthread_attr_getstack=${ac_cv_func_pthread_attr_getstack=yes}
| 
| #gcc-zlib
| ac_cv_func_getpagesize=${ac_cv_func_getpagesize=yes}
| ac_cv_func_memcpy=${ac_cv_func_memcpy=yes}
| ac_cv_func_strerror=${ac_cv_func_strerror=yes}
| 
| # squid
| ac_cv_af_unix_large_dgram=${ac_cv_af_unix_large_dgram=yes}
| ac_cv_func_setresuid=${ac_cv_func_setresuid=yes}
| ac_cv_func_va_copy=${ac_cv_func_va_copy=yes}
| ac_cv_func___va_copy=${ac_cv_func___va_copy=yes}
| ac_cv_epoll_works=${ac_cv_epoll_works=yes}
| 
| ac_cv_check_sjlj=ssjlj
| 
| # m4
| gt_cv_locale_fr=${gt_cv_locale_fr=fr_FR}
| gl_cv_func_btowc_eof=${gl_cv_func_btowc_eof=yes}
| gl_cv_func_wcrtomb_retval=${gl_cv_func_wcrtomb_retval=yes}
| gl_cv_func_wctob_works=${gl_cv_func_wctob_works=yes}
| gl_cv_func_mbrtowc_incomplete_state=${gl_cv_func_mbrtowc_incomplete_state=yes}
| gl_cv_func_mbrtowc_sanitycheck=${gl_cv_func_mbrtowc_sanitycheck=yes}
| gl_cv_func_mbrtowc_null_arg=${gl_cv_func_mbrtowc_null_arg=yes}
| gl_cv_func_mbrtowc_retval=${gl_cv_func_mbrtowc_retval=yes}
| gl_cv_func_mbrtowc_nul_retval=${gl_cv_func_mbrtowc_nul_retval=yes}
| 
| # va_copy and _va_copy
| ac_cv_va_copy=${ac_cv_va_copy=yes}
| ac_cv___va_copy=${ac_cv___va_copy=yes}
| ac_cv_func_va_copy=${ac_cv_func_va_copy=yes}
| ac_cv_func___va_copy=${ac_cv_func___va_copy=yes}
| # libelf
| mr_cv_target_elf=${mr_cv_target_elf=yes}
| 
| # Normally kernels have /dev/random enabled
| ac_cv_file__dev_random=${ac_cv_file__dev_random=yes}
| 
| # Avoid sudo to assume void for unsetenv in cross environment, or else it conflicts with
| # target stdlib.h prototype which follows POSIX compiliance. Mark for upstream.
| sudo_cv_func_unsetenv_void=no
| 
| # shadow dir info, to avoid searching build system
| shadow_cv_maildir=${localstatedir}/spool/mail
| shadow_cv_mailfile=Mailbox
| shadow_cv_utmpdir=${localstatedir}/run
| shadow_cv_logdir=${localstatedir}/log
| shadow_cv_passwd_dir=${bindir}
| 
configure:2143: checking for a BSD-compatible install
configure:2211: result: /usr/bin/install -c
configure:2222: checking whether build environment is sane
configure:2277: result: yes
configure:2336: checking for arm-poky-linux-gnueabi-strip
configure:2363: result: arm-poky-linux-gnueabi-strip
configure:2428: checking for a thread-safe mkdir -p
configure:2467: result: /bin/mkdir -p
configure:2474: checking for gawk
configure:2490: found /usr/bin/gawk
configure:2501: result: gawk
configure:2512: checking whether make sets $(MAKE)
configure:2534: result: yes
configure:2654: checking build system type
configure:2668: result: i686-pc-linux-gnu
configure:2688: checking host system type
configure:2701: result: arm-poky-linux-gnueabi
configure:2742: checking how to print strings
configure:2769: result: printf
configure:2802: checking for style of include used by make
configure:2830: result: GNU
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. ##
## ---------------- ##

ac_cv___va_copy=yes
ac_cv_af_unix_large_dgram=yes
ac_cv_alignof_CORBA_boolean=1
ac_cv_alignof_CORBA_char=1
ac_cv_alignof_CORBA_double=4
ac_cv_alignof_CORBA_float=4
ac_cv_alignof_CORBA_long=4
ac_cv_alignof_CORBA_long_double=4
ac_cv_alignof_CORBA_long_long=4
ac_cv_alignof_CORBA_octet=1
ac_cv_alignof_CORBA_pointer=4
ac_cv_alignof_CORBA_short=2
ac_cv_alignof_CORBA_struct=4
ac_cv_alignof_CORBA_wchar=2
ac_cv_alignof_guint32=4
ac_cv_alignof_guint64=4
ac_cv_alignof_unsigned_long=4
ac_cv_build=i686-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_littleendian=yes
ac_cv_c_long_double=yes
ac_cv_check_sjlj=ssjlj
ac_cv_conv_longlong_to_float=yes
ac_cv_dirent_have_space_d_name=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value='arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=' -g -O0  --sysroot=/opt/poky/1.3'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=' --sysroot=/opt/poky/1.3'
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='arm-poky-linux-gnueabi-gcc -E  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' --sysroot=/opt/poky/1.3'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-poky-linux-gnueabi
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-poky-linux-gnueabi
ac_cv_epoll_works=yes
ac_cv_file__dev_random=yes
ac_cv_file__dev_zero=yes
ac_cv_file__usr_share_X11_sgml_defs_ent=no
ac_cv_file_lib_src_libmad_frame_h=no
ac_cv_func___va_copy=yes
ac_cv_func_fnmatch_works=yes
ac_cv_func_getaddrinfo=yes
ac_cv_func_getgrgid_r=yes
ac_cv_func_getpagesize=yes
ac_cv_func_getpgrp_void=yes
ac_cv_func_getpwuid_r=yes
ac_cv_func_lstat_dereferences_slashed_symlink=yes
ac_cv_func_lstat_empty_string_bug=no
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_malloc_works=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_memcpy=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getpwnam_r=yes
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_printf_unix98=yes
ac_cv_func_pthread_attr_getstack=yes
ac_cv_func_pthread_key_delete=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_realloc_works=yes
ac_cv_func_setgrent_void=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_setresuid=yes
ac_cv_func_setvbuf_reversed=no
ac_cv_func_snprintf_c99=yes
ac_cv_func_stat_empty_string_bug=no
ac_cv_func_stat_ignores_trailing_slash=no
ac_cv_func_strerror=yes
ac_cv_func_va_copy=yes
ac_cv_func_vsnprintf_c99=yes
ac_cv_have_abstract_sockets=yes
ac_cv_have_accrights_in_msghdr=no
ac_cv_have_broken_snprintf=no
ac_cv_have_control_in_msghdr=yes
ac_cv_have_decl_sys_siglist=yes
ac_cv_have_long_long_format=yes
ac_cv_have_openpty_ctty_bug=yes
ac_cv_have_space_d_name_in_struct_dirent=yes
ac_cv_header_netinet_sctp_h=no
ac_cv_header_netinet_sctp_uio_h=no
ac_cv_host=arm-poky-linux-gnueabi
ac_cv_lbl_unaligned_fail=no
ac_cv_lib_c_signalfd=yes
ac_cv_libiconv_utf8=yes
ac_cv_libnet_endianess=lil
ac_cv_linux_vers=2
ac_cv_need_trio=no
ac_cv_path_ESD_CONFIG=no
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_pread=no
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm'
ac_cv_prog_STRIP=arm-poky-linux-gnueabi-strip
ac_cv_prog_make_make_set=yes
ac_cv_pwrite=no
ac_cv_sctp=no
ac_cv_sizeof_char=1
ac_cv_sizeof_char_p=4
ac_cv_sizeof_dev_t=8
ac_cv_sizeof_float=4
ac_cv_sizeof_gid_t=4
ac_cv_sizeof_ino_t=4
ac_cv_sizeof_int=4
ac_cv_sizeof_int_p=4
ac_cv_sizeof_long=4
ac_cv_sizeof_long_long=8
ac_cv_sizeof_long_p=4
ac_cv_sizeof_off_t=4
ac_cv_sizeof_pid_t=4
ac_cv_sizeof_short=2
ac_cv_sizeof_size_t=4
ac_cv_sizeof_ssize_t=4
ac_cv_sizeof_uid_t=4
ac_cv_sizeof_unsigned_char=1
ac_cv_sizeof_unsigned_char_p=4
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_unsigned_long=4
ac_cv_sizeof_unsigned_long_long=8
ac_cv_sizeof_unsigned_short=2
ac_cv_sizeof_void_p=4
ac_cv_sizeof_wchar_t=4
ac_cv_sys_linker_h=no
ac_cv_sys_restartable_syscalls=yes
ac_cv_type_struct_timespec=yes
ac_cv_type_uid_t='{ac_cv_type_uid_t=yes}'
ac_cv_uchar=no
ac_cv_uint=yes
ac_cv_ulong=yes
ac_cv_ushort=yes
ac_cv_va_copy=yes
ac_cv_va_val_copy=yes
am_cv_func_working_getline=yes
am_cv_scanf_lld=yes
apr_cv_process_shared_works=no
apr_cv_tcp_nodelay_with_cork=yes
bash_cv_dup2_broken=no
bash_cv_func_sigsetjmp=missing
bash_cv_func_strcoll_broken=no
bash_cv_getcwd_calls_popen=no
bash_cv_getenv_redef=yes
bash_cv_have_mbstate_t=yes
bash_cv_job_control_missing=present
bash_cv_must_reinstall_sighandlers=no
bash_cv_opendir_not_robust=no
bash_cv_pgrp_pipe=no
bash_cv_printf_a_format=yes
bash_cv_sys_named_pipes=present
bash_cv_sys_siglist=yes
bash_cv_type_rlimit=rlim_t
bash_cv_ulimit_maxfds=yes
bash_cv_under_sys_siglist=yes
bash_cv_unusable_rtsigs=no
cvs_cv_func_printf_ptr=yes
db_cv_align_t='unsigned long long'
db_cv_alignp_t='unsigned long'
db_cv_fcntl_f_setfd=yes
db_cv_path_ar=/usr/bin/ar
db_cv_path_chmod=/bin/chmod
db_cv_path_cp=/bin/cp
db_cv_path_ln=/bin/ln
db_cv_path_mkdir=/bin/mkdir
db_cv_path_ranlib=/usr/bin/ranlib
db_cv_path_rm=/bin/rm
db_cv_path_sh=/bin/sh
db_cv_path_strip=/usr/bin/strip
db_cv_sprintf_count=yes
ettercap_cv_type_socklen_t=yes
fu_cv_sys_stat_statfs2_bsize=yes
gl_cv_func_btowc_eof=yes
gl_cv_func_fstatat_zero_flag=yes
gl_cv_func_mbrtowc_incomplete_state=yes
gl_cv_func_mbrtowc_nul_retval=yes
gl_cv_func_mbrtowc_null_arg=yes
gl_cv_func_mbrtowc_retval=yes
gl_cv_func_mbrtowc_sanitycheck=yes
gl_cv_func_wcrtomb_retval=yes
gl_cv_func_wctob_works=yes
glib_cv___va_copy=yes
glib_cv_compliant_posix_memalign=1
glib_cv_has__inline=yes
glib_cv_has__inline__=yes
glib_cv_hasinline=yes
glib_cv_have_qsort_r=yes
glib_cv_long_long_format=ll
glib_cv_rtldglobal_broken=yes
glib_cv_sane_realloc=yes
glib_cv_sizeof_gmutex=24
glib_cv_sizeof_system_thread=4
glib_cv_stack_grows=no
glib_cv_strlcpy=no
glib_cv_sys_pthread_cond_timedwait_posix=yes
glib_cv_sys_pthread_getspecific_posix=yes
glib_cv_sys_pthread_mutex_trylock_posix=yes
glib_cv_uscore=no
glib_cv_use_pid_surrogate=yes
glib_cv_va_copy=yes
glib_cv_va_val_copy=yes
gt_cv_locale_fr=fr_FR
jm_cv_func_gettimeofday_clobber=no
jm_cv_func_working_readdir=yes
lf_cv_sane_realloc=yes
lftp_cv_va_val_copy=yes
libIDL_cv_long_long_format=ll
moz_cv_align_of_JS_ALIGN_OF_POINTER=4
moz_cv_size_of_JS_BYTES_PER_DOUBLE=8
moz_cv_size_of_JS_BYTES_PER_WORD=4
mr_cv_target_elf=yes
mysql_cv_func_atomic_add=yes
mysql_cv_func_atomic_sub=yes
nfsd_cv_broken_setfsuid=0
nfsd_cv_bsd_signals=yes
nfsd_cv_func_statfs=statfs2_bsize
php_cv_lib_cookie_io_functions_use_off64_t=yes
rsync_cv_HAVE_BROKEN_LARGEFILE=no
rsync_cv_HAVE_BROKEN_READDIR=no
rsync_cv_HAVE_C99_VSNPRINTF=yes
rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes
rsync_cv_HAVE_LONGLONG=yes
rsync_cv_HAVE_OFF64_T=no
rsync_cv_HAVE_SECURE_MKSTEMP=yes
rsync_cv_HAVE_SHORT_INO_T=no
rsync_cv_HAVE_SOCKETPAIR=yes
rsync_cv_HAVE_UNSIGNED_CHAR=no
rsync_cv_REPLACE_INET_ATON=no
rsync_cv_REPLACE_INET_NTOA=no
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes
samba_cv_HAVE_IFACE_AIX=no
samba_cv_HAVE_IFACE_IFCONF=yes
samba_cv_HAVE_IFACE_IFREQ=yes
samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no
screen_cv_sys_bcopy_overlap=no
screen_cv_sys_fifo_broken_impl=yes
screen_cv_sys_fifo_usable=yes
screen_cv_sys_memcpy_overlap=no
screen_cv_sys_memmove_overlap=no
screen_cv_sys_select_broken_retval=no
screen_cv_sys_sockets_nofs=no
screen_cv_sys_sockets_usable=yes
screen_cv_sys_terminfo_used=yes
shadow_cv_logdir='${prefix}/var/log'
shadow_cv_maildir='${prefix}/var/spool/mail'
shadow_cv_mailfile=Mailbox
shadow_cv_passwd_dir='${exec_prefix}/bin'
shadow_cv_utmpdir='${prefix}/var/run'
slrn_cv_va_val_copy=yes
sudo_cv_func_unsetenv_void=no
tcl_cv_api_serial=termios
utils_cv_sys_open_max=1015

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/prjs/compsis0001/workspace/teste/missing --run aclocal-1.12'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR='arm-poky-linux-gnueabi-ar'
AUTOCONF='${SHELL} /home/prjs/compsis0001/workspace/teste/missing --run autoconf'
AUTOHEADER='${SHELL} /home/prjs/compsis0001/workspace/teste/missing --run autoheader'
AUTOMAKE='${SHELL} /home/prjs/compsis0001/workspace/teste/missing --run automake-1.12'
AWK='gawk'
CC='arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm'
CCDEPMODE=''
CFLAGS=' -g -O0  --sysroot=/opt/poky/1.3'
CPP='arm-poky-linux-gnueabi-gcc -E  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/home/prjs/compsis0001/philinux/arm'
CPPFLAGS=' --sysroot=/opt/poky/1.3'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='arm-poky-linux-gnueabi-ld  --sysroot=/home/prjs/compsis0001/philinux/arm'
LDFLAGS=' --sysroot=/opt/poky/1.3'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/prjs/compsis0001/workspace/teste/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM='arm-poky-linux-gnueabi-nm'
NMEDIT=''
OBJDUMP='arm-poky-linux-gnueabi-objdump'
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='teste'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='teste'
PACKAGE_STRING='teste 0.1.0'
PACKAGE_TARNAME='teste'
PACKAGE_URL=''
PACKAGE_VERSION='0.1.0'
PATH_SEPARATOR=':'
RANLIB='arm-poky-linux-gnueabi-ranlib'
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='arm-poky-linux-gnueabi-strip'
VERSION='0.1.0'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-linux'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='arm-poky-linux-gnueabi'
host_alias='arm-poky-linux-gnueabi'
host_cpu='arm'
host_os='linux-gnueabi'
host_vendor='poky'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/prjs/compsis0001/workspace/teste/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='arm-poky-linux-gnueabi'
teste_CFLAGS=''
teste_LIBS=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* 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

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse Plugin
  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
  0 siblings, 1 reply; 24+ messages in thread
From: Zhang, Jessica @ 2013-01-17 19:22 UTC (permalink / raw)
  To: Raul Rosetto Munoz, yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 8602 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 25142 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse Plugin
  2013-01-17 19:22 ` Zhang, Jessica
@ 2013-01-18 12:24   ` Flavio Castro Alves Filho
  2013-01-18 12:55     ` Björn Arnelid
  2013-01-18 15:09     ` Zhang, Jessica
  0 siblings, 2 replies; 24+ messages in thread
From: Flavio Castro Alves Filho @ 2013-01-18 12:24 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto@yoctoproject.org, Raul Rosetto Munoz

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
>



-- 
Flavio de Castro Alves Filho

flavio.alves@gmail.com
www.linuxembarcado.com
Twitter: http://twitter.com/#!/fraviofii
LinkedIn profile: www.linkedin.com/in/flaviocastroalves


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse Plugin
  2013-01-18 12:24   ` Flavio Castro Alves Filho
@ 2013-01-18 12:55     ` Björn Arnelid
  2013-01-18 13:10       ` Flavio Castro Alves Filho
  2013-01-18 15:09     ` Zhang, Jessica
  1 sibling, 1 reply; 24+ messages in thread
From: Björn Arnelid @ 2013-01-18 12:55 UTC (permalink / raw)
  To: yocto

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.



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse Plugin
  2013-01-18 12:55     ` Björn Arnelid
@ 2013-01-18 13:10       ` Flavio Castro Alves Filho
  2013-01-18 13:16         ` Björn Arnelid
  2013-01-18 15:00         ` Zhang, Jessica
  0 siblings, 2 replies; 24+ messages in thread
From: Flavio Castro Alves Filho @ 2013-01-18 13:10 UTC (permalink / raw)
  To: Björn Arnelid; +Cc: yocto

The problem right now is not regarding compilation issues, but Eclipse
plugin is not launching the compilation correctly.

I tried to install Eclipse Indigo, with the instructions from Yocto dev manual.

I installed Eclipse, its components and when I try to install the
Yocto component, I have the following error:

Cannot complete the install because one or more required items could
not be found.
  Software being installed: Yocto Plugin for Eclipse
1.2.0.201210102158 (org.yocto.sdk.feature.group 1.2.0.201210102158)
  Missing requirement: Yocto Plugin for Eclipse 1.2.0.201210102158
(org.yocto.sdk.feature.group 1.2.0.201210102158) requires
'org.eclipse.cdt.autotools.core 1.1.0' but it could not be found

I searched for this component in my eclipse/plugins directory and it
is not available.

But ... when I see the installed components in Eclipse (from the UI),
it indicates that autotools for CDT is installed.


2013/1/18 Björn Arnelid <bjorn.arnelid@enea.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.
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



-- 
Flavio de Castro Alves Filho

flavio.alves@gmail.com
www.linuxembarcado.com
Twitter: http://twitter.com/#!/fraviofii
LinkedIn profile: www.linkedin.com/in/flaviocastroalves


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse Plugin
  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
  1 sibling, 1 reply; 24+ messages in thread
From: Björn Arnelid @ 2013-01-18 13:16 UTC (permalink / raw)
  To: Flavio Castro Alves Filho; +Cc: yocto

Yeah, sounds like problems with your installation.
remove eclipse and try to set it up again - or try to manually copy 
autotools into your plugin folder.

regards,
Björn

2013-01-18 14:10, Flavio Castro Alves Filho skrev:
> The problem right now is not regarding compilation issues, but Eclipse
> plugin is not launching the compilation correctly.
>
> I tried to install Eclipse Indigo, with the instructions from Yocto dev manual.
>
> I installed Eclipse, its components and when I try to install the
> Yocto component, I have the following error:
>
> Cannot complete the install because one or more required items could
> not be found.
>    Software being installed: Yocto Plugin for Eclipse
> 1.2.0.201210102158 (org.yocto.sdk.feature.group 1.2.0.201210102158)
>    Missing requirement: Yocto Plugin for Eclipse 1.2.0.201210102158
> (org.yocto.sdk.feature.group 1.2.0.201210102158) requires
> 'org.eclipse.cdt.autotools.core 1.1.0' but it could not be found
>
> I searched for this component in my eclipse/plugins directory and it
> is not available.
>
> But ... when I see the installed components in Eclipse (from the UI),
> it indicates that autotools for CDT is installed.
>
>
> 2013/1/18 Björn Arnelid <bjorn.arnelid@enea.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.
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
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.



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse Plugin
  2013-01-18 13:16         ` Björn Arnelid
@ 2013-01-18 13:49           ` Flavio Castro Alves Filho
  0 siblings, 0 replies; 24+ messages in thread
From: Flavio Castro Alves Filho @ 2013-01-18 13:49 UTC (permalink / raw)
  To: Björn Arnelid; +Cc: yocto

I believe that the best solution is to check why is it not working on
Eclipse Juno.

2013/1/18 Björn Arnelid <bjorn.arnelid@enea.com>:
> Yeah, sounds like problems with your installation.
> remove eclipse and try to set it up again - or try to manually copy
> autotools into your plugin folder.
>
> regards,
> Björn
>
> 2013-01-18 14:10, Flavio Castro Alves Filho skrev:
>
>> The problem right now is not regarding compilation issues, but Eclipse
>> plugin is not launching the compilation correctly.
>>
>> I tried to install Eclipse Indigo, with the instructions from Yocto dev
>> manual.
>>
>> I installed Eclipse, its components and when I try to install the
>> Yocto component, I have the following error:
>>
>> Cannot complete the install because one or more required items could
>> not be found.
>>    Software being installed: Yocto Plugin for Eclipse
>> 1.2.0.201210102158 (org.yocto.sdk.feature.group 1.2.0.201210102158)
>>    Missing requirement: Yocto Plugin for Eclipse 1.2.0.201210102158
>> (org.yocto.sdk.feature.group 1.2.0.201210102158) requires
>> 'org.eclipse.cdt.autotools.core 1.1.0' but it could not be found
>>
>> I searched for this component in my eclipse/plugins directory and it
>> is not available.
>>
>> But ... when I see the installed components in Eclipse (from the UI),
>> it indicates that autotools for CDT is installed.
>>
>>
>> 2013/1/18 Björn Arnelid <bjorn.arnelid@enea.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.
>>>
>>>
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>>
>
>
> --
> 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.
>



-- 
Flavio de Castro Alves Filho

flavio.alves@gmail.com
www.linuxembarcado.com
Twitter: http://twitter.com/#!/fraviofii
LinkedIn profile: www.linkedin.com/in/flaviocastroalves


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse Plugin
  2013-01-18 13:10       ` Flavio Castro Alves Filho
  2013-01-18 13:16         ` Björn Arnelid
@ 2013-01-18 15:00         ` Zhang, Jessica
  1 sibling, 0 replies; 24+ messages in thread
From: Zhang, Jessica @ 2013-01-18 15:00 UTC (permalink / raw)
  To: Flavio Castro Alves Filho, Bj?rn Arnelid; +Cc: yocto@yoctoproject.org

So can you upgrade to eclipse Juno, base on the error org.eclipse.cdt.autotools.core could not be found, the yocto plug-in you're installing is for Juno.

-----Original Message-----
From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Flavio Castro Alves Filho
Sent: Friday, January 18, 2013 5:11 AM
To: Björn Arnelid
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Eclipse Plugin

The problem right now is not regarding compilation issues, but Eclipse plugin is not launching the compilation correctly.

I tried to install Eclipse Indigo, with the instructions from Yocto dev manual.

I installed Eclipse, its components and when I try to install the Yocto component, I have the following error:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Yocto Plugin for Eclipse
1.2.0.201210102158 (org.yocto.sdk.feature.group 1.2.0.201210102158)
  Missing requirement: Yocto Plugin for Eclipse 1.2.0.201210102158 (org.yocto.sdk.feature.group 1.2.0.201210102158) requires 'org.eclipse.cdt.autotools.core 1.1.0' but it could not be found

I searched for this component in my eclipse/plugins directory and it is not available.

But ... when I see the installed components in Eclipse (from the UI), it indicates that autotools for CDT is installed.


2013/1/18 Björn Arnelid <bjorn.arnelid@enea.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/li
>>> bexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/lt
>>> o-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-p
>>> oky-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/a
>>> rmv5te-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-p
>>> oky-linux-gnueabi
>>> --includedir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/include
>>> --oldincludedir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/includ
>>> e --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-s
>>> lave/nightly-arm/build/build/tmp/sysroots/i686-nativesdk-pokysdk-lin
>>> ux --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-gnu
>>> eabi/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-sla
>>> ve/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/nightl
>>> y-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.
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



--
Flavio de Castro Alves Filho

flavio.alves@gmail.com
www.linuxembarcado.com
Twitter: http://twitter.com/#!/fraviofii LinkedIn profile: www.linkedin.com/in/flaviocastroalves
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse Plugin
  2013-01-18 12:24   ` Flavio Castro Alves Filho
  2013-01-18 12:55     ` Björn Arnelid
@ 2013-01-18 15:09     ` Zhang, Jessica
  2013-01-19 13:37       ` Flavio Castro Alves Filho
  1 sibling, 1 reply; 24+ messages in thread
From: Zhang, Jessica @ 2013-01-18 15:09 UTC (permalink / raw)
  To: Flavio Castro Alves Filho; +Cc: yocto@yoctoproject.org, Raul Rosetto Munoz

Hi Flavio,

See my comments or questions below...

Thanks,
Jessica

-----Original Message-----
From: Flavio Castro Alves Filho [mailto:flavio.alves@gmail.com]
Sent: Friday, January 18, 2013 4:25 AM
To: Zhang, Jessica
Cc: Raul Rosetto Munoz; yocto@yoctoproject.org
Subject: Re: [yocto] Eclipse Plugin

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
[JZ}So if you want to use the image rootfs packages as target sysroot, please build an -sdk or -dev image which contains the dev packages for your application need

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.

[JZ] Base on your info, in the eclipse plug-in preference setup, you "Build system derived toolchain" and can you give me your toolchain location and sysroot location settings?

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/libe
> xec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/lto-wr
> apper
>
> Target: arm-poky-linux-gnueabi
>
> Configured with:
> /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/bu
> ild/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-pok
> y-linux-gnueabi
> --sbindir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv5te-po
> ky-linux-gnueabi
> --libexecdir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/arm
> v5te-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-pok
> y-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-sla
> ve/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-gnuea
> bi/usr/include/c++
> --with-build-time-tools=/srv/home/pokybuild/yocto-autobuilder/yocto-sl
> ave/nightly-arm/build/build/tmp/sysroots/x86_64-linux/usr/arm-poky-lin
> ux-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-a
> rm/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
>



--
Flavio de Castro Alves Filho

flavio.alves@gmail.com
www.linuxembarcado.com
Twitter: http://twitter.com/#!/fraviofii LinkedIn profile: www.linkedin.com/in/flaviocastroalves


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Eclipse Plugin
  2013-01-18 15:09     ` Zhang, Jessica
@ 2013-01-19 13:37       ` Flavio Castro Alves Filho
  0 siblings, 0 replies; 24+ messages in thread
From: Flavio Castro Alves Filho @ 2013-01-19 13:37 UTC (permalink / raw)
  To: Zhang, Jessica; +Cc: yocto@yoctoproject.org, Raul Rosetto Munoz

Hello Jessica,

2013/1/18 Zhang, Jessica <jessica.zhang@intel.com>:
> Hi Flavio,
>
> See my comments or questions below...
>
> Thanks,
> Jessica
>
> -----Original Message-----
> From: Flavio Castro Alves Filho [mailto:flavio.alves@gmail.com]
> Sent: Friday, January 18, 2013 4:25 AM
> To: Zhang, Jessica
> Cc: Raul Rosetto Munoz; yocto@yoctoproject.org
> Subject: Re: [yocto] Eclipse Plugin
>
> 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
> [JZ}So if you want to use the image rootfs packages as target sysroot, please build an -sdk or -dev image which contains the dev packages for your application need

Ok ... thank you. Actually, I didn't do that.

>
> 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.
>
> [JZ] Base on your info, in the eclipse plug-in preference setup, you "Build system derived toolchain" and can you give me your toolchain location and sysroot location settings?

The toolchain location is the build system location, as indicated in
the documentation. The sysroot location is a different directory where
I extracted the generated .tar.gz file from the end of the build.

But ... to be clear: our problem is that Eclipse is not building the
'autotools hello world' example project. The project is created
correctly, but it is not compiling from the IDE.

When I go, using terminal, to the project directory. I can see the
'autogen.sh' file. If I execute, from IDE, the reconfigure option, I
can see, from terminal, the configure file. But I cannot see the
makefiles.

According to the documentation, when I execute the 'reconfigure'
option from Eclipse, it will execute autogen.sh + configure. What is
happening is that autogen.sh is being executed, but not configure.

>
> 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/libe
>> xec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/lto-wr
>> apper
>>
>> Target: arm-poky-linux-gnueabi
>>
>> Configured with:
>> /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/bu
>> ild/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-pok
>> y-linux-gnueabi
>> --sbindir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/bin/armv5te-po
>> ky-linux-gnueabi
>> --libexecdir=/opt/poky/1.3/sysroots/i686-pokysdk-linux/usr/libexec/arm
>> v5te-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-pok
>> y-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-sla
>> ve/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-gnuea
>> bi/usr/include/c++
>> --with-build-time-tools=/srv/home/pokybuild/yocto-autobuilder/yocto-sl
>> ave/nightly-arm/build/build/tmp/sysroots/x86_64-linux/usr/arm-poky-lin
>> ux-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-a
>> rm/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
>>
>
>
>
> --
> Flavio de Castro Alves Filho
>
> flavio.alves@gmail.com
> www.linuxembarcado.com
> Twitter: http://twitter.com/#!/fraviofii LinkedIn profile: www.linkedin.com/in/flaviocastroalves



--
Flavio de Castro Alves Filho

flavio.alves@gmail.com
www.linuxembarcado.com
Twitter: http://twitter.com/#!/fraviofii
LinkedIn profile: www.linkedin.com/in/flaviocastroalves


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Eclipse Plugin
@ 2017-08-16 10:15 Arno Steffens
  0 siblings, 0 replies; 24+ messages in thread
From: Arno Steffens @ 2017-08-16 10:15 UTC (permalink / raw)
  To: pokyyoctoproject.org

I give the Eclipse Plugin a try. It works so far at a first glance - so compilation was fine.
But: The include pathes are all set to the PC (0x86) instead of ARM. This seems to be a bug.

Is there someone out there, that can solve this?

Also, oxygen is out now for quite a while, but no plugin for this version. Are there expected problems to use previous plugin (neon) for oxygen?

Thanks
Arno


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2017-08-16 10:20 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
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
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
2017-08-16 10:15 Arno Steffens

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.