<?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>Other NXP ProductsのトピックRe: i.MX 8M Plus Compiling the Kernel error</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/i-MX-8M-Plus-Compiling-the-Kernel-error/m-p/2078830#M28313</link>
    <description>&lt;P&gt;Thank you for your reply. Also when I try this command, I have compiled without errors.&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;$&lt;/FONT&gt;HOSTLDFLAGS="-ldl -lpthread" make -j$(nproc)&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;</description>
    <pubDate>Fri, 11 Apr 2025 06:31:35 GMT</pubDate>
    <dc:creator>ezohc21</dc:creator>
    <dc:date>2025-04-11T06:31:35Z</dc:date>
    <item>
      <title>i.MX 8M Plus Compiling the Kernel error</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/i-MX-8M-Plus-Compiling-the-Kernel-error/m-p/2076252#M28278</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="i.MX8M" id="i.MX8M"&gt;&lt;/LI-PRODUCT&gt;I am currently encountering an issue while attempting to compile the kernel. When I run the following command:&lt;/P&gt;&lt;P&gt;$ make -j $(nproc)&lt;/P&gt;&lt;P&gt;I receive the following error message:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `pthread_rwlock_rdlock@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x6_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `pthread_setspecific@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `pthread_key_delete@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `pthread_rwlock_unlock@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `dlopen@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `pthread_rwlock_destroy@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `dlerror@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `dlclose@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `dlsym@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `pthread_once@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `pthread_rwlock_wrlock@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `pthread_rwlock_init@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `pthread_key_create@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `pthread_getspecific@GLIBC_2.2.5'&lt;BR /&gt;/opt/yocto/fsl-imx-xwayland/6.6-scarthgap/sysroots/x86_64-pokysdk-linux/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcrypto.so: undefined reference to `dladdr@GLIBC_2.2.5'&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;BR /&gt;make[3]: *** [scripts/Makefile.host:114: certs/extract-cert] Error 1&lt;BR /&gt;make[3]: *** Waiting for unfinished jobs....&lt;BR /&gt;CC security/keys/key.o&lt;BR /&gt;CC sound/core/sound.o&lt;BR /&gt;make[2]: *** [scripts/Makefile.build:480: certs] Error 2&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Despite multiple attempts, I have been unable to resolve the problem. I would greatly appreciate your assistance in identifying the cause and suggesting a possible solution.&lt;/P&gt;&lt;P class=""&gt;Thank you in advance for your support.&lt;/P&gt;&lt;P class=""&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 14:04:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/i-MX-8M-Plus-Compiling-the-Kernel-error/m-p/2076252#M28278</guid>
      <dc:creator>ezohc21</dc:creator>
      <dc:date>2025-04-08T14:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX 8M Plus Compiling the Kernel error</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/i-MX-8M-Plus-Compiling-the-Kernel-error/m-p/2078430#M28301</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Try to erase everything about yocto and try this &lt;STRONG&gt;UG10164 i.MX Yocto Project User's Guide Rev. LF6.6.52_2.2.0&amp;nbsp;&lt;/STRONG&gt; and this is the kernel version I have cloned using the step given in this doc -&lt;BR /&gt;"&lt;STRONG&gt;repo init -u &lt;A href="https://github.com/nxp-imx/imx-manifest" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/nxp-imx/imx-manifest&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;-b imx-linux-scarthgap -m imx-6.6.52-2.2.0.xml&lt;/STRONG&gt;"&lt;BR /&gt;&lt;BR /&gt;To build the Image and populate SDK, the steps followed are listed below:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Image:&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;$ DISTRO=fsl-imx-xwayland MACHINE=imx93-11x11-lpddr4x-evk source imx-setup-release.sh -b&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;build-xwayland&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;$ bitbake imx-image-full&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;Populate SDK:&lt;/STRONG&gt; (Used the same environment with which I build the above Image)&lt;BR /&gt;&lt;FONT size="2"&gt;$ DISTRO=fsl-imx-xwayland MACHINE=imx93-11x11-lpddr4x-evk bitbake imx-image-full -c populate_sdk&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;Then used the &lt;STRONG&gt;.sh&lt;/STRONG&gt; file generated and &lt;STRONG&gt;executed it and sourced it in another environment&lt;/STRONG&gt; and followed the below steps for &lt;STRONG&gt;Linux Kernel Standalone build:&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;$ git clone &lt;A href="https://github.com/nxp-imx/linux-imx" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/nxp-imx/linux-imx&lt;/A&gt; -b lf-6.6.y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;$ cd linux-imx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;$ make imx_v8_defconfig&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;$ make &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I have compiled the 6.6.52 kernel without errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 14:33:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/i-MX-8M-Plus-Compiling-the-Kernel-error/m-p/2078430#M28301</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-04-10T14:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX 8M Plus Compiling the Kernel error</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/i-MX-8M-Plus-Compiling-the-Kernel-error/m-p/2078830#M28313</link>
      <description>&lt;P&gt;Thank you for your reply. Also when I try this command, I have compiled without errors.&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;$&lt;/FONT&gt;HOSTLDFLAGS="-ldl -lpthread" make -j$(nproc)&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 06:31:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/i-MX-8M-Plus-Compiling-the-Kernel-error/m-p/2078830#M28313</guid>
      <dc:creator>ezohc21</dc:creator>
      <dc:date>2025-04-11T06:31:35Z</dc:date>
    </item>
  </channel>
</rss>

