<?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 Re: cst 3.3.1 back_end-hsm Build Problems in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/cst-3-3-1-back-end-hsm-Build-Problems/m-p/1552803#M197498</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204302"&gt;@AlpinaInformatik&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;The following works for me on Linux, I guess there is a way to mimic this on Windows.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Extract cst-3.3.1.tgz&lt;/LI&gt;&lt;LI&gt;Change into ./cst-3.3.1/code/cst and run: bash -c "OSTYPE=linux64 make rel_bin"&lt;/LI&gt;&lt;LI&gt;Change into ./cst-3.3.1/code/back_end-engine/src and run:&lt;OL&gt;&lt;LI&gt;sed -i 's#^ROOT :=.*#ROOT := ../../cst/code#g' ./Makefile&lt;/LI&gt;&lt;LI&gt;sed -i 's#^FRONTEND :=.*#FRONTEND := $(ROOT)/obj.linux$(BITNESS)/libfrontend.a#g' ./Makefile&lt;/LI&gt;&lt;LI&gt;bash -c "OSTYPE=linux64 make"&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The cst binary for the HSM is now ./cst-3.3.1/code/back_end-engine/src/cst&lt;/P&gt;</description>
    <pubDate>Sun, 13 Nov 2022 05:57:47 GMT</pubDate>
    <dc:creator>YairBA</dc:creator>
    <dc:date>2022-11-13T05:57:47Z</dc:date>
    <item>
      <title>cst 3.3.1 back_end-hsm Build Problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cst-3-3-1-back-end-hsm-Build-Problems/m-p/1499559#M193316</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;i am facing with the following problems:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am trying to build cst-3.1.1 /back_end-hsm source on Windows using gccCompiler. I read the "cst-3.3.1_/code/back_end-hsm/doc/HSM-CST_UG.pdf" tutorial and&amp;nbsp; do all insructions one by one.&lt;/P&gt;&lt;P&gt;-&amp;gt;compiling&amp;nbsp;..\cst-3.3.1\code\cst\code" is not possible, fails&lt;/P&gt;&lt;P&gt;-&amp;gt;compiling&amp;nbsp;"..\cst-3.3.1\code\back_end-hsm\src" is not possible, fails. It is not an standalone application and so the output is not an exe file.&lt;/P&gt;&lt;P&gt;-&amp;gt;Some base information is missing in&amp;nbsp;HSM-CST_UG.pdf document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&amp;gt; Can somebody help us about this topic?&lt;/P&gt;&lt;P&gt;--&amp;gt;How can we build (glue) cst and back_end-hsm together on Windows wth GCC.&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;My Environment and Installed:&lt;/P&gt;&lt;P&gt;OS: Windows/64, MSys2 64 Bit, GCC&lt;/P&gt;&lt;P&gt;pacman -S mingw-w64-x86_64-gcc make&lt;BR /&gt;pacman -S mingw-w64-x86_64-libconfig&lt;BR /&gt;pacman -S mingw-w64-x86_64-dlfcn&lt;BR /&gt;pacman -S --needed base-devel msys2-devel&lt;BR /&gt;pacman -S --needed base-devel mingw-w64-x86_64-toolchain&lt;BR /&gt;pacman -S mingw-w64-x86_64-openssl&lt;BR /&gt;pacman -S mingw-w64-x86_64-zlib mingw-w64-x86_64-zstd&lt;/P&gt;&lt;P&gt;------------------------------------------------------&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 11:54:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cst-3-3-1-back-end-hsm-Build-Problems/m-p/1499559#M193316</guid>
      <dc:creator>AlpinaInformatik</dc:creator>
      <dc:date>2022-08-02T11:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: cst 3.3.1 back_end-hsm Build Problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cst-3-3-1-back-end-hsm-Build-Problems/m-p/1502093#M193517</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204302"&gt;@AlpinaInformatik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"I am trying to build cst-3.1.1 /back_end-hsm source on Windows using gccCompiler." &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I saw you performing with cst-3.3.1, Hope you don't mix them while performing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And, you can try to check gcc compiler, libconfig, and openssl which are installed properly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;such as: gcc -v, &amp;nbsp;pacman -Ss openssl-devel, and&amp;nbsp;pacman -Ss libconfig, respectively.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You might need to check if you have performed under&amp;nbsp;MINGW64 and source code for CST that is not corrupted.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harvey&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2022 08:17:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cst-3-3-1-back-end-hsm-Build-Problems/m-p/1502093#M193517</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-08-07T08:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: cst 3.3.1 back_end-hsm Build Problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cst-3-3-1-back-end-hsm-Build-Problems/m-p/1502343#M193555</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you have to use 3.3.0 (or something like that, some older version) if you would like to compile back_end-hsm without any issues.&lt;/P&gt;&lt;P&gt;Since 3.3.1 you have to use back_end-engine (cst-3.3.1\code\back_end-engine) for HSM backend (which is documented in "AN12812 Using Code-Signing Tool with Hardware Security Module")&lt;/P&gt;&lt;P&gt;If you still would like to compile 3.3.1 with back_end-hsm - you have to fix Makefiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Denis&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 06:45:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cst-3-3-1-back-end-hsm-Build-Problems/m-p/1502343#M193555</guid>
      <dc:creator>mdn0</dc:creator>
      <dc:date>2022-08-08T06:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: cst 3.3.1 back_end-hsm Build Problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cst-3-3-1-back-end-hsm-Build-Problems/m-p/1552803#M197498</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204302"&gt;@AlpinaInformatik&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;The following works for me on Linux, I guess there is a way to mimic this on Windows.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Extract cst-3.3.1.tgz&lt;/LI&gt;&lt;LI&gt;Change into ./cst-3.3.1/code/cst and run: bash -c "OSTYPE=linux64 make rel_bin"&lt;/LI&gt;&lt;LI&gt;Change into ./cst-3.3.1/code/back_end-engine/src and run:&lt;OL&gt;&lt;LI&gt;sed -i 's#^ROOT :=.*#ROOT := ../../cst/code#g' ./Makefile&lt;/LI&gt;&lt;LI&gt;sed -i 's#^FRONTEND :=.*#FRONTEND := $(ROOT)/obj.linux$(BITNESS)/libfrontend.a#g' ./Makefile&lt;/LI&gt;&lt;LI&gt;bash -c "OSTYPE=linux64 make"&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The cst binary for the HSM is now ./cst-3.3.1/code/back_end-engine/src/cst&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2022 05:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cst-3-3-1-back-end-hsm-Build-Problems/m-p/1552803#M197498</guid>
      <dc:creator>YairBA</dc:creator>
      <dc:date>2022-11-13T05:57:47Z</dc:date>
    </item>
  </channel>
</rss>

