<?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 Thanks Alexander. That was my in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Compiling-C-using-mraa-on-Edison/m-p/1035109#M43585</link>
    <description>&lt;P&gt;Thanks Alexander. That was my problem. Here is an example for other rookies like me:&lt;/P&gt;

&lt;P&gt;gcc -g analog_input.c -o analog_input -lmraa&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Oct 2014 14:25:45 GMT</pubDate>
    <dc:creator>toadaze</dc:creator>
    <dc:date>2014-10-25T14:25:45Z</dc:date>
    <item>
      <title>Compiling C using mraa on Edison</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-C-using-mraa-on-Edison/m-p/1035107#M43583</link>
      <description>&lt;P&gt;The iotdk-ide-win SDK(Eclipse) works great on my Windows machine to compile, upload and run programs on my Edison.&amp;nbsp; And of course, I can run the compiled executable directly on the Edison from its command line, too.&lt;/P&gt;&lt;P&gt;But I am not able to compile C programs using mraa references directly on the Edison. I get this error:&lt;/P&gt;&lt;P&gt;/tmp/ccqxH6Mw.o: In function `main':&lt;BR /&gt;analog_input.c:(.text+0x18): undefined reference to `mraa_aio_init'&lt;BR /&gt;analog_input.c:(.text+0x28): undefined reference to `mraa_aio_read'&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;I would have expected the compiler to error on the #include "mraa.h" line if that was the problem.&lt;/P&gt;&lt;P&gt;I can compile other C programs on the Edison using gcc.&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2014 12:08:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-C-using-mraa-on-Edison/m-p/1035107#M43583</guid>
      <dc:creator>toadaze</dc:creator>
      <dc:date>2014-10-25T12:08:29Z</dc:date>
    </item>
    <item>
      <title>It is linker not compiler</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-C-using-mraa-on-Edison/m-p/1035108#M43584</link>
      <description>&lt;P&gt;It is linker not compiler giving the error. Please make sure you add -lmraa to the options to let the linker know what library to link with.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2014 12:20:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-C-using-mraa-on-Edison/m-p/1035108#M43584</guid>
      <dc:creator>Alexander_K_Intel</dc:creator>
      <dc:date>2014-10-25T12:20:55Z</dc:date>
    </item>
    <item>
      <title>Thanks Alexander. That was my</title>
      <link>https://community.intel.com/t5/Software-Archive/Compiling-C-using-mraa-on-Edison/m-p/1035109#M43585</link>
      <description>&lt;P&gt;Thanks Alexander. That was my problem. Here is an example for other rookies like me:&lt;/P&gt;

&lt;P&gt;gcc -g analog_input.c -o analog_input -lmraa&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2014 14:25:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Compiling-C-using-mraa-on-Edison/m-p/1035109#M43585</guid>
      <dc:creator>toadaze</dc:creator>
      <dc:date>2014-10-25T14:25:45Z</dc:date>
    </item>
  </channel>
</rss>

