[yocto] Issue with yocto ADT

Minchev, Todor todor.minchev at intel.com
Tue May 19 00:44:21 PDT 2015


On Tue, 2015-05-19 at 07:07 +0000, Raghavendra Kakarla wrote:
> Hi Todor,
> 
> For not working scenario there is no makefile created.
> 
> For working scenario using build directory sysroot makefiles are created.

So configure fails to create your Makefile. You probably see something
like this in your config.log:

configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables
See `config.log' for more details 

Please have a look at this thread, it explains how to resolve this
problem:

https://lists.yoctoproject.org/pipermail/yocto/2015-March/024089.html

Cheers,
Todor

> 
> I attaching the makefile for working scenario.
> 
> Regards,
> 
> Raghavendra K. 
> ________________________________________
> From: Minchev, Todor <todor.minchev at intel.com>
> Sent: Tuesday, May 19, 2015 12:13 PM
> To: Raghavendra Kakarla
> Cc: yocto at yoctoproject.org
> Subject: Re: [yocto] Issue with yocto ADT
> 
> On Mon, 2015-05-18 at 16:55 +0000, Raghavendra Kakarla wrote:
> > Hi Todor,
> >
> > I created four more new projects.
> >
> > For all the projects I gives error like this only.
> 
> Is the error message the same as the original one you posted about a
> missing make `all` target?
> 
> > Can send those projects make files?
> 
> Please share both your working and non-working Makefiles.
> 
> >
> > But when I give the sysroot path in eclipse to the poky/build/tmp/sysroot/machine it worked properly.
> >
> > When we give the extracted sysroot it gives problem.
> > Regards,
> > Raghavendra.
> > ________________________________________
> > From: Minchev, Todor [todor.minchev at intel.com]
> > Sent: Monday, May 18, 2015 9:51 PM
> > To: Raghavendra Kakarla
> > Cc: yocto at yoctoproject.org
> > Subject: Re: [yocto] Issue with yocto ADT
> >
> > Hello Raghavendra,
> >
> > On Mon, 2015-05-18 at 05:07 +0000, Raghavendra Kakarla wrote:
> > > Hi Todor,
> > >
> > > Could you please let me know the cause for the issue.
> > Please pastebin your Makefile and share the pastebin link.
> >
> > Seem like your project is corrupt and the Makefile is not generated
> > correctly.
> >
> > Have you tried to delete the project and create a new one?
> >
> > > Thanks in advance.
> > >
> > > Regards,
> > > Raghavendra K.
> > >
> > >
> > > ________________________________________
> > > From: Raghavendra Kakarla
> > > Sent: Friday, May 15, 2015 5:31 PM
> > > To: Minchev, Todor
> > > Cc: yocto at yoctoproject.org
> > > Subject: RE: [yocto] Issue with yocto ADT
> > >
> > > Hi Todor,
> > >
> > > It is provided by the Yocto eclipse plugin itself.
> > >
> > > Regards,
> > > Raghavendra.
> > > ________________________________________
> > > From: Minchev, Todor <todor.minchev at intel.com>
> > > Sent: Friday, May 15, 2015 5:27 PM
> > > To: Raghavendra Kakarla
> > > Cc: yocto at yoctoproject.org
> > > Subject: Re: [yocto] Issue with yocto ADT
> > >
> > > On Fri, 2015-05-15 at 11:33 +0000, Raghavendra Kakarla wrote:
> > > > Hi Todor,
> > > >
> > > > It is an autotool based example.
> > > > It is not generated makefile itself.
> > > >
> > >
> > > Is it an example you created yourself or is it the autotools C Hello
> > > World template provided by the Yocto Eclipse Plug-in.
> > >
> > > > I attached the makefile.in and makefile.am file to the paste bin.
> > >
> > > Could you please paste the Makefile and share the pastebin link?
> > >
> > > > Thanks,
> > > >
> > > > Raghavendra.
> > > >
> > > >
> > > > ________________________________________
> > > > From: Minchev, Todor <todor.minchev at intel.com>
> > > > Sent: Friday, May 15, 2015 4:41 PM
> > > > To: Raghavendra Kakarla
> > > > Cc: yocto at yoctoproject.org
> > > > Subject: Re: [yocto] Issue with yocto ADT
> > > >
> > > > Hello Raghavendra,
> > > >
> > > > Could you please pastebin the makefile from your project?
> > > >
> > > > http://pastebin.com/
> > > >
> > > > Cheers,
> > > > Todor
> > > >
> > > > On Fri, 2015-05-15 at 10:47 +0000, Raghavendra Kakarla wrote:
> > > > > Hi Todor,
> > > > >
> > > > > Thank you for your  reply.
> > > > >
> > > > > By default we have the setting like this only.
> > > > >
> > > > > But we got the error.
> > > > >
> > > > > Thanks,
> > > > > Raghavendra.
> > > > > ________________________________________
> > > > > From: Minchev, Todor <todor.minchev at intel.com>
> > > > > Sent: Friday, May 15, 2015 4:05 PM
> > > > > To: Raghavendra Kakarla
> > > > > Cc: yocto at yoctoproject.org
> > > > > Subject: Re: [yocto] Issue with yocto ADT
> > > > >
> > > > > Hello Raghavendra,
> > > > >
> > > > > Please try the following:
> > > > >
> > > > > Right click on your project - Properties - C/C++ Build - Select the
> > > > > 'Behavior' tab - untick 'Build on resource save' and remove 'all' from
> > > > > the 'Build' field
> > > > >
> > > > > Cheers,
> > > > > Todor
> > > > >
> > > > > On Fri, 2015-05-15 at 09:32 +0000, Raghavendra Kakarla wrote:
> > > > > > Hi All,
> > > > > >
> > > > > >
> > > > > > I have problem with the ADT while i am building the autotool example
> > > > > > helloword project which is given in the "yocto ADT autotool project".
> > > > > >
> > > > > >
> > > > > > Could you please help me in resolving this issue.
> > > > > >
> > > > > >
> > > > > > I followed the following steps for installing the adt in my
> > > > > > development PC:
> > > > > >
> > > > > >
> > > > > >
> > > > > > I built the toolchain using the following command:
> > > > > >
> > > > > > $cd ~/poky
> > > > > > $source ./oe-init-build-env
> > > > > > $bitbake meta-ide-support
> > > > > >
> > > > > >
> > > > > > Extract the root file system by using the following commands:
> > > > > >
> > > > > > $cd ~
> > > > > > $source ~/poky/build/tmp/environment-setup-mips32r2el-poky-linux
> > > > > > $runqemu-extract-sdk \
> > > > > >         ~/poky/build/tmp/deploy/images/arqlyn/
> > > > > > core-image-minimal-dhruwa_ioe-20150511102759.rootfs.tar.bz2\
> > > > > >         $HOME/arqlyn
> > > > > >
> > > > > > I followed the command given in the yocto project dev-manual for
> > > > > > installing eclipse and adding yocto plugin to eclipse.
> > > > > >
> > > > > > I Gave the following data to the eclipse for configuring the
> > > > > > cross-compiler options:
> > > > > >
> > > > > > 1. I select the "Build System Derived Toolchain"
> > > > > > 2.point the toolchain path to "home/testuser/poky/build"
> > > > > > 3.gave sysroot path to /home/testuser/arqlyn
> > > > > >
> > > > > > After entered this information I got the my machine-name in the
> > > > > > "select the target architecture" filed.
> > > > > >
> > > > > > After this I create a autotool support project and tried to build but
> > > > > > it gives the error.
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > Raghavendra.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > yocto mailing list
> > > > > > yocto at yoctoproject.org
> > > > > > https://lists.yoctoproject.org/listinfo/yocto
> > > > >
> > > >
> > >
> >
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5229 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150519/65f93ef1/attachment.bin>


More information about the yocto mailing list