<?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: AN12195 Linux build error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1595616#M201251</link>
    <description>&lt;P&gt;Tried on Ubuntu 20.04.5, repo init completes without issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, when I run "bitbake core-image-base", I get the following error.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 13:34:57 GMT</pubDate>
    <dc:creator>Enuwai</dc:creator>
    <dc:date>2023-02-08T13:34:57Z</dc:date>
    <item>
      <title>AN12195 Linux build error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1590152#M200818</link>
      <description>&lt;P&gt;Build toolchain according to "i.MX Yocto Project User's Guide" in "5.1.2. Setup aarch64 toolchain" section of AN12195&lt;BR /&gt;When I run "bitbake core-image-base", I get a lot of errors (some are excerpted below)&lt;BR /&gt;Do you know the solution?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;I. -include ../git/localedef/include/always.h -Wall -Wno-format -c -o ld-collate.o glibc/locale/programs/ld-collate.c
| In file included from /usr/include/x86_64-linux-gnu/bits/types/locale_t.h:22:0,
|                  from /usr/include/string.h:152,
|                  from ../git/localedef/include/string.h:1,
|                  from glibc/locale/programs/ld-address.c:25:
| /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h:28:8: error: redefinition of ‘struct __locale_struct’
|  struct __locale_struct
|         ^~~~~~~~~~~~~~~
| In file included from glibc/locale/langinfo.h:591:0,
|                  from glibc/locale/programs/ld-address.c:24:
| glibc/locale/xlocale.h:27:16: note: originally defined here
|  typedef struct __locale_struct
|                 ^~~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/bits/types/locale_t.h:22:0,
|                  from /usr/include/string.h:152,
|                  from ../git/localedef/include/string.h:1,
|                  from glibc/locale/programs/ld-address.c:25:
| /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h:42:33: error: conflicting types for ‘__locale_t’
|  typedef struct __locale_struct *__locale_t;
|                                  ^~~~~~~~~~
| In file included from glibc/locale/langinfo.h:591:0,
|                  from glibc/locale/programs/ld-address.c:24:
| glibc/locale/xlocale.h:39:4: note: previous declaration of ‘__locale_t’ was here
|  } *__locale_t;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 01:43:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1590152#M200818</guid>
      <dc:creator>Enuwai</dc:creator>
      <dc:date>2023-01-31T01:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: AN12195 Linux build error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1590207#M200821</link>
      <description>&lt;P&gt;The&amp;nbsp;i.MX Yocto Project User's Guide&amp;nbsp;&amp;nbsp;has recommended minimum Ubuntu version.Please check the&amp;nbsp;i.MX Yocto Project User's Guide you refering and install all&amp;nbsp;packages refering the 3.2 Host&amp;nbsp;packages.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qmiller_0-1675133622992.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/208879iB34E061F41A79BEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Qmiller_0-1675133622992.png" alt="Qmiller_0-1675133622992.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 02:55:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1590207#M200821</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-01-31T02:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: AN12195 Linux build error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1590244#M200827</link>
      <description>&lt;P&gt;Hi Qmiller&lt;/P&gt;&lt;P&gt;My development environment is:&lt;BR /&gt;　Ubuntu 18.04.1&lt;BR /&gt;　Yocto L4.9.51&lt;/P&gt;&lt;P&gt;AN12195 application note mentions Yocto version L4.9.51,&lt;BR /&gt;Is it better to use Ubuntu 20.04 and the latest Yocto?&lt;/P&gt;&lt;P&gt;Or is it better to use Ubuntu14.04?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 03:53:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1590244#M200827</guid>
      <dc:creator>Enuwai</dc:creator>
      <dc:date>2023-01-31T03:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: AN12195 Linux build error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1591789#M200925</link>
      <description>&lt;P&gt;You can try Ubuntu16.04, these error are caused by Ubuntu version of Host PC&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 01:51:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1591789#M200925</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-02-02T01:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: AN12195 Linux build error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1592791#M200991</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151788" target="_self"&gt;&lt;SPAN class=""&gt;Qmiller&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I tried it on Ubuntu 16.04.7, but the following error occurred when executing the "repo init" command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;unxp@U16047:~/imx-yocto-bsp$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-morty -m imx-4.9.51-8mq_beta.xml
Downloading Repo source from https://gerrit.googlesource.com/git-repo
repo: Updating release signing keys to keyset ver 2.3
Traceback (most recent call last):
  File "/home/unxp/imx-yocto-bsp/.repo/repo/main.py", line 38, in &amp;lt;module&amp;gt;
    from color import SetDefaultColoring
  File "/home/unxp/imx-yocto-bsp/.repo/repo/color.py", line 18, in &amp;lt;module&amp;gt;
    import pager
  File "/home/unxp/imx-yocto-bsp/.repo/repo/pager.py", line 63
    sys.exit(f'fatal: cannot start pager "{pager}"')
                                                  ^
SyntaxError: invalid syntax
unxp@U16047:~/imx-yocto-bsp$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 04:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1592791#M200991</guid>
      <dc:creator>Enuwai</dc:creator>
      <dc:date>2023-02-03T04:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: AN12195 Linux build error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1595616#M201251</link>
      <description>&lt;P&gt;Tried on Ubuntu 20.04.5, repo init completes without issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, when I run "bitbake core-image-base", I get the following error.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 13:34:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/AN12195-Linux-build-error/m-p/1595616#M201251</guid>
      <dc:creator>Enuwai</dc:creator>
      <dc:date>2023-02-08T13:34:57Z</dc:date>
    </item>
  </channel>
</rss>

