<?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>i.MX Processors中的主题 Re: Cross compilation with alsa</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compilation-with-alsa/m-p/499224#M80537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you cross compiled alsa-library and alsa-utils for iMX6?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2019 11:45:20 GMT</pubDate>
    <dc:creator>purvi_billore1</dc:creator>
    <dc:date>2019-06-11T11:45:20Z</dc:date>
    <item>
      <title>Cross compilation with alsa</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compilation-with-alsa/m-p/499222#M80535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Hello!&amp;nbsp; I have a general question.&amp;nbsp; We are cross compiling on a Linux machine for an ARM processor on an embedded device.&amp;nbsp; When compiling, we specify paths for the include files and our cross compiled Alsa library.&amp;nbsp; We then try to port this to our embedded device(iMX6UL).&amp;nbsp; When trying to run the executable on the embedded device we get two problems:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL class="ol1"&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;it doesn’t recognize the PCM device called ‘default’— I think we just need to call this out with hw:0,0 but we need to play with this.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;We get this error: “ALSA lib conf.c(snd_config&lt;EM&gt;_&lt;/EM&gt;update_r)Cannot access file /path/to/alsa.conf"&lt;/SPAN&gt;&lt;OL class="ol1"&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;The path that it lists is the path to our cross compiled alsa lib on our linux box… so it seems that in the compilation process, this path is preserved and transferred to the executable somehow.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;So my question is, is there a way to specify two different library paths for the two devices (linux and embedded) while compiling so that when we port to the embedded device, the executable knows where to look for the alsa library?&amp;nbsp; Normally, this wouldn’t be an issue because the default on a linux machine is usr/include, which I believe gets searched by default (?).&amp;nbsp; However, on our embedded device, the path is different.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 18:11:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compilation-with-alsa/m-p/499222#M80535</guid>
      <dc:creator>claudiaalvarado</dc:creator>
      <dc:date>2016-03-23T18:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compilation with alsa</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compilation-with-alsa/m-p/499223#M80536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using Yocto? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 03:02:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compilation-with-alsa/m-p/499223#M80536</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2016-03-31T03:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compilation with alsa</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compilation-with-alsa/m-p/499224#M80537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you cross compiled alsa-library and alsa-utils for iMX6?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 11:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compilation-with-alsa/m-p/499224#M80537</guid>
      <dc:creator>purvi_billore1</dc:creator>
      <dc:date>2019-06-11T11:45:20Z</dc:date>
    </item>
  </channel>
</rss>

