<?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: Error while executing a makefile named as &amp;quot;makefile&amp;quot; in Edge Computing Infrastructure</title>
    <link>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560339#M793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duplicated. See the reply in &lt;A href="https://community.cisco.com/thread/54458"&gt;Running .ova files on Oracle VM virtual box&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2015 01:24:40 GMT</pubDate>
    <dc:creator>Steve Zhang</dc:creator>
    <dc:date>2015-07-08T01:24:40Z</dc:date>
    <item>
      <title>Error while executing a makefile named as "makefile"</title>
      <link>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560335#M789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Have written the code factorial.c as said in the document 819-IOx-SDK-cookbook.&lt;/P&gt;&lt;P&gt;2.Have created the make file named "makefile".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Path of SDK- /opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1/&lt;/P&gt;&lt;P&gt;path of my example programs(followed the procedure of cookbook) - /home/user/iox_c/src&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error is as follows&lt;/P&gt;&lt;P&gt;/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1//tools/toolchain/powerpc-linux-gnu/bin/powerpc-linux-gnu-gcc -te500v2 -L/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1//tools/toolchain/powerpc-linux-gnu/powepc-linux-gnu/libc/lib -L/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1//tools/toolchain/powerpc-linux-gnu/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.5.1/ -o "factorial.bin" factorial.o&lt;/P&gt;&lt;P&gt;factorial.o: In function `_start':&lt;/P&gt;&lt;P&gt;(.text+0x0): multiple definition of `_start'&lt;/P&gt;&lt;P&gt;/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1/tools/toolchain/powerpc-linux-gnu/bin/../powerpc-linux-gnu/libc/te500v2/usr/lib/crt1.o:(.text+0x0): first defined here&lt;/P&gt;&lt;P&gt;factorial.o: In function `_fini':&lt;/P&gt;&lt;P&gt;(.fini+0x0): multiple definition of `_fini'&lt;/P&gt;&lt;P&gt;/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1/tools/toolchain/powerpc-linux-gnu/bin/../powerpc-linux-gnu/libc/te500v2/usr/lib/crti.o:(.fini+0x0): first defined here&lt;/P&gt;&lt;P&gt;factorial.o:(.rodata+0x10): multiple definition of `_IO_stdin_used'&lt;/P&gt;&lt;P&gt;/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1/tools/toolchain/powerpc-linux-gnu/bin/../powerpc-linux-gnu/libc/te500v2/usr/lib/crt1.o:(.rodata.cst4+0x0): first defined here&lt;/P&gt;&lt;P&gt;factorial.o: In function `__data_start':&lt;/P&gt;&lt;P&gt;(.data+0x0): multiple definition of `__data_start'&lt;/P&gt;&lt;P&gt;/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1/tools/toolchain/powerpc-linux-gnu/bin/../powerpc-linux-gnu/libc/te500v2/usr/lib/crt1.o:(.data+0x0): first defined here&lt;/P&gt;&lt;P&gt;factorial.o: In function `__data_start':&lt;/P&gt;&lt;P&gt;(.data+0x4): multiple definition of `__dso_handle'&lt;/P&gt;&lt;P&gt;/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1/tools/toolchain/powerpc-linux-gnu/bin/../lib/gcc/powerpc-linux-gnu/4.5.1/te500v2/crtbegin.o:(.data+0x0): first defined here&lt;/P&gt;&lt;P&gt;factorial.o: In function `_init':&lt;/P&gt;&lt;P&gt;(.init+0x0): multiple definition of `_init'&lt;/P&gt;&lt;P&gt;/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1/tools/toolchain/powerpc-linux-gnu/bin/../powerpc-linux-gnu/libc/te500v2/usr/lib/crti.o:(.init+0x0): first defined here&lt;/P&gt;&lt;P&gt;/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1/tools/toolchain/powerpc-linux-gnu/bin/../lib/gcc/powerpc-linux-gnu/4.5.1/te500v2/crtend.o:(.dtors+0x0): multiple definition of `__DTOR_END__'&lt;/P&gt;&lt;P&gt;factorial.o:(.dtors+0x4): first defined here&lt;/P&gt;&lt;P&gt;/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1/tools/toolchain/powerpc-linux-gnu/bin/../lib/gcc/powerpc-linux-gnu/4.5.1/../../../../powerpc-linux-gnu/bin/ld: error in factorial.o(.eh_frame); no .eh_frame_hdr table will be created.&lt;/P&gt;&lt;P&gt;collect2: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;make: *** [factorial.bin] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached:&lt;/P&gt;&lt;P&gt;factorial.c&lt;/P&gt;&lt;P&gt;makefile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help in understanding the error and debugging it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 07:31:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560335#M789</guid>
      <dc:creator>darshan.sr1</dc:creator>
      <dc:date>2015-07-06T07:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing a makefile named as "makefile"</title>
      <link>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560336#M790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem solved by "make clean".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Darshan.S.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 11:16:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560336#M790</guid>
      <dc:creator>darshan.sr1</dc:creator>
      <dc:date>2015-07-06T11:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing a makefile named as "makefile"</title>
      <link>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560337#M791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darshan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be working well if you follow the Cook book. &lt;/P&gt;&lt;P&gt;Regarding the error, could you please check your Makefile? I guess the error is caused by the LDFLAGS. There should be blankspaces before "\" in LDFLAGS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 03:28:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560337#M791</guid>
      <dc:creator>Steve Zhang</dc:creator>
      <dc:date>2015-07-07T03:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing a makefile named as "makefile"</title>
      <link>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560338#M792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/happy.png" /&gt; Solved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any detailed explanation of running the OVA files on Vmware or VMbox?? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 04:04:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560338#M792</guid>
      <dc:creator>darshan.sr1</dc:creator>
      <dc:date>2015-07-07T04:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error while executing a makefile named as "makefile"</title>
      <link>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560339#M793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duplicated. See the reply in &lt;A href="https://community.cisco.com/thread/54458"&gt;Running .ova files on Oracle VM virtual box&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 01:24:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/edge-computing-infrastructure/error-while-executing-a-makefile-named-as-quot-makefile-quot/m-p/3560339#M793</guid>
      <dc:creator>Steve Zhang</dc:creator>
      <dc:date>2015-07-08T01:24:40Z</dc:date>
    </item>
  </channel>
</rss>

