<?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>Layerscapeのトピックmain-1.0-r0 do_compile: oe_runmake failed while building using bitbake</title>
    <link>https://community.nxp.com/t5/Layerscape/main-1-0-r0-do-compile-oe-runmake-failed-while-building-using/m-p/1732985#M13426</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I have created a custom layer as meta-examplelayer. In that layer, I want to compile my application and generate image&amp;nbsp; for ls1043ardb using bitbake command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Following is my .bb file&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;DESCRIPTION = "My application"&lt;/DIV&gt;&lt;DIV&gt;LICENSE = "MIT"&lt;/DIV&gt;&lt;DIV&gt;LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SRC_URI = "file://main.c \&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;file://header.h \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;file://structures.h \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;file://terminalMode.h \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;file://microblaze.h \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;file://Makefile \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;CLEANBROKEN = "1"&lt;/DIV&gt;&lt;DIV&gt;S = "${WORKDIR}"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;do_compile() {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;oe_runmake&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;do_install() {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;install -d ${D}${bindir}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;install -m 0755 main ${D}${bindir}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting the following error while bitbake main&lt;/P&gt;&lt;P&gt;ERROR: main-1.0-r0 do_compile: oe_runmake failed&lt;BR /&gt;ERROR: main-1.0-r0 do_compile: ExecutionError('/home/icomm/distro/build_ls1043ardb/tmp/work/aarch64-fsl-linux/main/1.0-r0/temp/run.do_compile.59027', 1, None, None)&lt;BR /&gt;ERROR: Logfile of failure stored in: /home/icomm/distro/build_ls1043ardb/tmp/work/aarch64-fsl-linux/main/1.0-r0/temp/log.do_compile.59027&lt;/P&gt;&lt;P&gt;ERROR: oe_runmake failed&lt;BR /&gt;| WARNING: exit code 1 from a shell command.&lt;BR /&gt;ERROR: Task (/home/icomm/distro/sources/meta-examplelayer/recipes-example/HS_NW/main.bb:do_compile) failed with exit code '1'&lt;BR /&gt;NOTE: Tasks Summary: Attempted 730 tasks of which 722 didn't need to be rerun and 1 failed.&lt;/P&gt;&lt;P&gt;Summary: 1 task failed:&lt;BR /&gt;/home/icomm/distro/sources/meta-examplelayer/recipes-example/HS_NW/main.bb:do_compile&lt;BR /&gt;Summary: There were 2 ERROR messages, returning a non-zero exit code.&lt;/P&gt;&lt;P&gt;I have attached the tree of my lmeta-examplelayer and my Makefile&lt;/P&gt;&lt;P&gt;How can I change my .bb file to solve this error.&lt;/P&gt;&lt;P&gt;Please help me out&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 Oct 2023 11:04:52 GMT</pubDate>
    <dc:creator>dibyarekha</dc:creator>
    <dc:date>2023-10-03T11:04:52Z</dc:date>
    <item>
      <title>main-1.0-r0 do_compile: oe_runmake failed while building using bitbake</title>
      <link>https://community.nxp.com/t5/Layerscape/main-1-0-r0-do-compile-oe-runmake-failed-while-building-using/m-p/1732985#M13426</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have created a custom layer as meta-examplelayer. In that layer, I want to compile my application and generate image&amp;nbsp; for ls1043ardb using bitbake command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Following is my .bb file&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;DESCRIPTION = "My application"&lt;/DIV&gt;&lt;DIV&gt;LICENSE = "MIT"&lt;/DIV&gt;&lt;DIV&gt;LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SRC_URI = "file://main.c \&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;file://header.h \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;file://structures.h \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;file://terminalMode.h \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;file://microblaze.h \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;file://Makefile \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;CLEANBROKEN = "1"&lt;/DIV&gt;&lt;DIV&gt;S = "${WORKDIR}"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;do_compile() {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;oe_runmake&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;do_install() {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;install -d ${D}${bindir}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;install -m 0755 main ${D}${bindir}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting the following error while bitbake main&lt;/P&gt;&lt;P&gt;ERROR: main-1.0-r0 do_compile: oe_runmake failed&lt;BR /&gt;ERROR: main-1.0-r0 do_compile: ExecutionError('/home/icomm/distro/build_ls1043ardb/tmp/work/aarch64-fsl-linux/main/1.0-r0/temp/run.do_compile.59027', 1, None, None)&lt;BR /&gt;ERROR: Logfile of failure stored in: /home/icomm/distro/build_ls1043ardb/tmp/work/aarch64-fsl-linux/main/1.0-r0/temp/log.do_compile.59027&lt;/P&gt;&lt;P&gt;ERROR: oe_runmake failed&lt;BR /&gt;| WARNING: exit code 1 from a shell command.&lt;BR /&gt;ERROR: Task (/home/icomm/distro/sources/meta-examplelayer/recipes-example/HS_NW/main.bb:do_compile) failed with exit code '1'&lt;BR /&gt;NOTE: Tasks Summary: Attempted 730 tasks of which 722 didn't need to be rerun and 1 failed.&lt;/P&gt;&lt;P&gt;Summary: 1 task failed:&lt;BR /&gt;/home/icomm/distro/sources/meta-examplelayer/recipes-example/HS_NW/main.bb:do_compile&lt;BR /&gt;Summary: There were 2 ERROR messages, returning a non-zero exit code.&lt;/P&gt;&lt;P&gt;I have attached the tree of my lmeta-examplelayer and my Makefile&lt;/P&gt;&lt;P&gt;How can I change my .bb file to solve this error.&lt;/P&gt;&lt;P&gt;Please help me out&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Oct 2023 11:04:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/main-1-0-r0-do-compile-oe-runmake-failed-while-building-using/m-p/1732985#M13426</guid>
      <dc:creator>dibyarekha</dc:creator>
      <dc:date>2023-10-03T11:04:52Z</dc:date>
    </item>
  </channel>
</rss>

