<?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 Tinyalsa compilation error for Android JB4.3 for i.mx6sl evk in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Tinyalsa-compilation-error-for-Android-JB4-3-for-i-mx6sl-evk/m-p/313138#M41045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to build my Android image in my ubuntu 10.04 environment and come across the following error.&lt;/P&gt;&lt;P&gt;======================&lt;/P&gt;&lt;P&gt;target thumb C: audio.primary.imx6 &amp;lt;= hardware/imx/alsa/tinyalsa_hal.c&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c: In function 'pcm_read_wrapper':&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:1105:10: warning: implicit declaration of function 'pcm_state' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:1108:20: warning: implicit declaration of function 'pcm_prepare' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c: In function 'in_get_input_frames_lost':&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:2111:5: warning: implicit declaration of function 'pcm_get_time_of_xrun' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c: In function 'scan_available_device':&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3037:9: warning: implicit declaration of function 'control_open' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3037:21: warning: assignment makes pointer from integer without a cast [enabled by default]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: implicit declaration of function 'control_card_info_get_id' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: implicit declaration of function 'control_card_info_get_driver' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: implicit declaration of function 'control_card_info_get_name' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Wformat]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'int' [-Wformat]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3044:13: warning: passing argument 1 of 'strstr' makes pointer from integer without a cast [enabled by default]&lt;BR /&gt;In file included from bionic/libc/include/signal.h:34:0,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from bionic/libc/include/pthread.h:32,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from hardware/imx/alsa/tinyalsa_hal.c:22:&lt;BR /&gt;bionic/libc/include/string.h:60:15: note: expected 'const char *' but argument is of type 'int'&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3053:30: warning: passing argument 1 of 'strcmp' makes pointer from integer without a cast [enabled by default]&lt;BR /&gt;In file included from bionic/libc/include/signal.h:34:0,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from bionic/libc/include/pthread.h:32,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from hardware/imx/alsa/tinyalsa_hal.c:22:&lt;BR /&gt;bionic/libc/include/string.h:52:15: note: expected 'const char *' but argument is of type 'int'&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3055:33: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [enabled by default]&lt;BR /&gt;In file included from bionic/libc/include/signal.h:34:0,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from bionic/libc/include/pthread.h:32,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from hardware/imx/alsa/tinyalsa_hal.c:22:&lt;BR /&gt;bionic/libc/include/string.h:118:7: note: expected 'const char *' but argument is of type 'int'&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3083:17: warning: implicit declaration of function 'pcm_get_near_param' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3083:55: error: 'PCM_HW_PARAM_RATE' undeclared (first use in this function)&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3083:55: note: each undeclared identifier is reported only once for each function it appears in&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3095:54: error: 'PCM_HW_PARAM_CHANNELS' undeclared (first use in this function)&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3099:17: warning: implicit declaration of function 'pcm_check_param_mask' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3099:56: error: 'PCM_HW_PARAM_FORMAT' undeclared (first use in this function)&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3117:9: warning: implicit declaration of function 'control_close' [-Wimplicit-function-declaration]&lt;BR /&gt;make: *** [out/target/product/evk_6sl/obj/SHARED_LIBRARIES/audio.primary.imx6_intermediates/tinyalsa_hal.o] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================&lt;/P&gt;&lt;P&gt;I am building the image for i.MX6SL EVK. Could anyone share his/her experience on fixing this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2014 22:22:59 GMT</pubDate>
    <dc:creator>vincentchou</dc:creator>
    <dc:date>2014-04-09T22:22:59Z</dc:date>
    <item>
      <title>Tinyalsa compilation error for Android JB4.3 for i.mx6sl evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Tinyalsa-compilation-error-for-Android-JB4-3-for-i-mx6sl-evk/m-p/313138#M41045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to build my Android image in my ubuntu 10.04 environment and come across the following error.&lt;/P&gt;&lt;P&gt;======================&lt;/P&gt;&lt;P&gt;target thumb C: audio.primary.imx6 &amp;lt;= hardware/imx/alsa/tinyalsa_hal.c&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c: In function 'pcm_read_wrapper':&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:1105:10: warning: implicit declaration of function 'pcm_state' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:1108:20: warning: implicit declaration of function 'pcm_prepare' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c: In function 'in_get_input_frames_lost':&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:2111:5: warning: implicit declaration of function 'pcm_get_time_of_xrun' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c: In function 'scan_available_device':&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3037:9: warning: implicit declaration of function 'control_open' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3037:21: warning: assignment makes pointer from integer without a cast [enabled by default]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: implicit declaration of function 'control_card_info_get_id' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: implicit declaration of function 'control_card_info_get_driver' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: implicit declaration of function 'control_card_info_get_name' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'int' [-Wformat]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3040:9: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'int' [-Wformat]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3044:13: warning: passing argument 1 of 'strstr' makes pointer from integer without a cast [enabled by default]&lt;BR /&gt;In file included from bionic/libc/include/signal.h:34:0,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from bionic/libc/include/pthread.h:32,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from hardware/imx/alsa/tinyalsa_hal.c:22:&lt;BR /&gt;bionic/libc/include/string.h:60:15: note: expected 'const char *' but argument is of type 'int'&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3053:30: warning: passing argument 1 of 'strcmp' makes pointer from integer without a cast [enabled by default]&lt;BR /&gt;In file included from bionic/libc/include/signal.h:34:0,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from bionic/libc/include/pthread.h:32,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from hardware/imx/alsa/tinyalsa_hal.c:22:&lt;BR /&gt;bionic/libc/include/string.h:52:15: note: expected 'const char *' but argument is of type 'int'&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3055:33: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [enabled by default]&lt;BR /&gt;In file included from bionic/libc/include/signal.h:34:0,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from bionic/libc/include/pthread.h:32,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from hardware/imx/alsa/tinyalsa_hal.c:22:&lt;BR /&gt;bionic/libc/include/string.h:118:7: note: expected 'const char *' but argument is of type 'int'&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3083:17: warning: implicit declaration of function 'pcm_get_near_param' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3083:55: error: 'PCM_HW_PARAM_RATE' undeclared (first use in this function)&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3083:55: note: each undeclared identifier is reported only once for each function it appears in&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3095:54: error: 'PCM_HW_PARAM_CHANNELS' undeclared (first use in this function)&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3099:17: warning: implicit declaration of function 'pcm_check_param_mask' [-Wimplicit-function-declaration]&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3099:56: error: 'PCM_HW_PARAM_FORMAT' undeclared (first use in this function)&lt;BR /&gt;hardware/imx/alsa/tinyalsa_hal.c:3117:9: warning: implicit declaration of function 'control_close' [-Wimplicit-function-declaration]&lt;BR /&gt;make: *** [out/target/product/evk_6sl/obj/SHARED_LIBRARIES/audio.primary.imx6_intermediates/tinyalsa_hal.o] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================&lt;/P&gt;&lt;P&gt;I am building the image for i.MX6SL EVK. Could anyone share his/her experience on fixing this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 22:22:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Tinyalsa-compilation-error-for-Android-JB4-3-for-i-mx6sl-evk/m-p/313138#M41045</guid>
      <dc:creator>vincentchou</dc:creator>
      <dc:date>2014-04-09T22:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Tinyalsa compilation error for Android JB4.3 for i.mx6sl evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Tinyalsa-compilation-error-for-Android-JB4-3-for-i-mx6sl-evk/m-p/313139#M41046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Vincent,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have tested compiling i.MX6SL android 4.3 BSP on unbunt 12.04 64bit LTS platform, No errors occured. I don't have enough time to set up the same environment with yours, So I recommend you use unbunt 12.04 64bit LTS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Attachment is a document written by me , I recorded&amp;nbsp; all the steps on setting up this environment! But the document is not a formal one, just for you as a reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 08:10:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Tinyalsa-compilation-error-for-Android-JB4-3-for-i-mx6sl-evk/m-p/313139#M41046</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2014-04-15T08:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tinyalsa compilation error for Android JB4.3 for i.mx6sl evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Tinyalsa-compilation-error-for-Android-JB4-3-for-i-mx6sl-evk/m-p/313140#M41047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vincent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you are using "android_jb4.3_1.1.0-ga_source" to patch with. If so, I would run the patch again. It will ask to delete the patches; enter yes. It will delete the patches and then, re-patch. Now type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ make clobber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then start your build again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 21:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Tinyalsa-compilation-error-for-Android-JB4-3-for-i-mx6sl-evk/m-p/313140#M41047</guid>
      <dc:creator>freewaymad</dc:creator>
      <dc:date>2014-04-17T21:21:35Z</dc:date>
    </item>
  </channel>
</rss>

