<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: helloworld recipe using autotools in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/helloworld-recipe-using-autotools/m-p/420021#M63322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just for anyone else who may be stopping by, one answer to get the GNU Hello package autotools to work correctly can be found in &lt;A href="http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#migration-1.6-build-changes"&gt;Section 5.5.7&lt;/A&gt; of the Yocto Project Reference Manual for poky 1.8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2015 04:09:03 GMT</pubDate>
    <dc:creator>ryandeville</dc:creator>
    <dc:date>2015-10-14T04:09:03Z</dc:date>
    <item>
      <title>helloworld recipe using autotools</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/helloworld-recipe-using-autotools/m-p/420018#M63319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the recipe given by poky documentation in reference manual and i am not able to bitbake.&lt;/P&gt;&lt;P&gt;*********************************************************************************************************&lt;/P&gt;&lt;P&gt;DESCRIPTION = "GNU Helloworld application"&lt;/P&gt;&lt;P&gt;SECTION = "examples"&lt;/P&gt;&lt;P&gt;LICENSE = "GPLv3"&lt;/P&gt;&lt;P&gt;LIC_FILES_CHKSUM = "file://COPYING;md5=adefda309052235aa5d1e99ce7557010"&lt;/P&gt;&lt;P&gt;SRC_URI = "${GNU_MIRROR}/hello/hello-${PV}.tar.bz2"&lt;/P&gt;&lt;P&gt;inherit autotools&lt;/P&gt;&lt;P&gt;*********************************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody got the error when recipe is using autotools?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a do_install error that i am getting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 12:41:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/helloworld-recipe-using-autotools/m-p/420018#M63319</guid>
      <dc:creator>manjunathjoshi</dc:creator>
      <dc:date>2015-05-11T12:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: helloworld recipe using autotools</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/helloworld-recipe-using-autotools/m-p/420019#M63320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Manju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven’t used autotools in a Yocto recipe but perhaps the following slides may be of help (page 7)&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/sites/default/files/elc2013-eclipse-lab.pdf"&gt;https://www.yoctoproject.org/sites/default/files/elc2013-eclipse-lab.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the example you were working with? Hopefully someone else on the community can also add some insight on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 23:11:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/helloworld-recipe-using-autotools/m-p/420019#M63320</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2015-05-13T23:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: helloworld recipe using autotools</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/helloworld-recipe-using-autotools/m-p/420020#M63321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gusarambula,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No that was not the example i am working with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to bitbake some Qt image with Helloworld app.&lt;/P&gt;&lt;P&gt;*******************************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;do_compile() {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cc -o ***&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;do_install()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*****&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;********************************************************************************************************&lt;/P&gt;&lt;P&gt;This works fine. Since the steps are explicitly defined. This may be got as an example when we create a new layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ yocto-layer create ***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what i am refering to, is the one which uses Autotools to compile, configure, install the same helloworld example. This is given in POKY reference manual as well as the YOCTO reference manual.&lt;/P&gt;&lt;P&gt;**************************************************************************************************************&lt;/P&gt;&lt;P&gt;LIC_FILES_CHKSUM = "file://COPYING;md5=adefda309052235aa5d1e99ce7557010"&lt;/P&gt;&lt;P&gt;SRC_URI = "${GNU_MIRROR}/hello/hello-${PV}.tar.bz2"&lt;/P&gt;&lt;P&gt;inherit autotools&amp;nbsp; //This doesn't work at do_install step while bitbake.&lt;/P&gt;&lt;P&gt;***************************************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even i have observed few things which you may be surprised,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* The same do_install() error appeared when i was trying one more recipe which also used autotools. Obviously i cross checked for how i wrote a recipe but it was okay.&lt;/P&gt;&lt;P&gt;* The toolchain 1.7.1 (poky) does not compile helloworld.&lt;/P&gt;&lt;P&gt;i.e &lt;/P&gt;&lt;P&gt;arm-poky-linux-gnueabi-gcc -o hello hello.c ---does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Here i have to use AUTOTOOLS to cross compile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* But toolchain 1.4.1(poky) does above step without the need of autotools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are these issues please explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 12:49:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/helloworld-recipe-using-autotools/m-p/420020#M63321</guid>
      <dc:creator>manjunathjoshi</dc:creator>
      <dc:date>2015-05-15T12:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: helloworld recipe using autotools</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/helloworld-recipe-using-autotools/m-p/420021#M63322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just for anyone else who may be stopping by, one answer to get the GNU Hello package autotools to work correctly can be found in &lt;A href="http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#migration-1.6-build-changes"&gt;Section 5.5.7&lt;/A&gt; of the Yocto Project Reference Manual for poky 1.8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 04:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/helloworld-recipe-using-autotools/m-p/420021#M63322</guid>
      <dc:creator>ryandeville</dc:creator>
      <dc:date>2015-10-14T04:09:03Z</dc:date>
    </item>
  </channel>
</rss>

