<?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: cst tools windows compile</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/cst-tools-windows-compile/m-p/802657#M124002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. Yes I did try this before and I get different errors for it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;../../../mingw32/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x1093): undefined reference to `_imp__GetDeviceCaps@8'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x10c1): undefined reference to `_imp__CreateCompatibleBitmap@12'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x10df): undefined reference to `_imp__GetObjectA@12'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x11bd): undefined reference to `_imp__GetDIBits@28'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x1221): undefined reference to `_imp__DeleteObject@4'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x5c): undefined reference to `inflate'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0xdf): undefined reference to `deflate'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x12d): undefined reference to `inflateEnd'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x149): undefined reference to `deflateEnd'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x1b4): undefined reference to `inflateEnd'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x1bf): undefined reference to `deflateEnd'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x25b): undefined reference to `inflateInit_'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x2d0): undefined reference to `deflateInit_'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x57a): undefined reference to `deflate'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x658): undefined reference to `zError'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x816): undefined reference to `deflate'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x8a8): undefined reference to `zError'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x947): undefined reference to `deflateInit_'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0xa2e): undefined reference to `inflate'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0xa98): undefined reference to `zError'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0xb20): undefined reference to `inflateInit_'&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2018 15:10:46 GMT</pubDate>
    <dc:creator>rohith_chinnasw</dc:creator>
    <dc:date>2018-10-18T15:10:46Z</dc:date>
    <item>
      <title>cst tools windows compile</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cst-tools-windows-compile/m-p/802655#M124000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded the cst tool 3.0.1 and im trying to compile the csp.exe in windows using the steps listed in release notes. The reason i need to recompile is eventually I have to modify this tool to run with a adaption plugin to sign the image using HSM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as a first step i tried to recompile the cst with the following command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;cd &amp;lt;CST install directory/code/back_end/src&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i686-w64-mingw32-gcc -o cst.exe -I ../hdr -L ../../../mingw32/lib \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*.c -lfrontend -lcrypto&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The error i get is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i686-w64-mingw32-gcc -o cst.exe -I ../hdr -L ../../../mingw32/lib \ *.c -lfrontend -lcrypto&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.1.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find \: No such file or directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;collect2.exe: error: ld returned 1 exit status&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what is wrong here. Is there something wrong with the command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The steps from release note&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;To relink on Windows machines:&lt;BR /&gt; This requires the MINGW compiler and OpenSSL header files and&lt;BR /&gt; library. The easiest way to get them is to install Cygwin&lt;/P&gt;&lt;P&gt;cd &amp;lt;CST install directory/code/back_end/src&lt;BR /&gt; i686-w64-mingw32-gcc -o cst.exe -I ../hdr -L ../../../mingw32/lib \&lt;BR /&gt; *.c -lfrontend -lcrypto&lt;BR /&gt; cp cst ../../../mingw32&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 19:41:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cst-tools-windows-compile/m-p/802655#M124000</guid>
      <dc:creator>rohith_chinnasw</dc:creator>
      <dc:date>2018-10-17T19:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: cst tools windows compile</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cst-tools-windows-compile/m-p/802656#M124001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the backslash ' \ ' is used as a line continuation character.&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;P&gt;i686-w64-mingw32-gcc -o cst.exe -I ../hdr -L ../../../mingw32/lib *.c -lfrontend -lcrypto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 04:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cst-tools-windows-compile/m-p/802656#M124001</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2018-10-18T04:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: cst tools windows compile</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cst-tools-windows-compile/m-p/802657#M124002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. Yes I did try this before and I get different errors for it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;../../../mingw32/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x1093): undefined reference to `_imp__GetDeviceCaps@8'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x10c1): undefined reference to `_imp__CreateCompatibleBitmap@12'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x10df): undefined reference to `_imp__GetObjectA@12'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x11bd): undefined reference to `_imp__GetDIBits@28'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x1221): undefined reference to `_imp__DeleteObject@4'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x5c): undefined reference to `inflate'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0xdf): undefined reference to `deflate'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x12d): undefined reference to `inflateEnd'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x149): undefined reference to `deflateEnd'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x1b4): undefined reference to `inflateEnd'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x1bf): undefined reference to `deflateEnd'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x25b): undefined reference to `inflateInit_'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x2d0): undefined reference to `deflateInit_'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x57a): undefined reference to `deflate'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x658): undefined reference to `zError'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x816): undefined reference to `deflate'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x8a8): undefined reference to `zError'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0x947): undefined reference to `deflateInit_'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0xa2e): undefined reference to `inflate'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0xa98): undefined reference to `zError'&lt;BR /&gt;../../../mingw32/lib/libcrypto.a(c_zlib.o):c_zlib.c:(.text+0xb20): undefined reference to `inflateInit_'&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 15:10:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cst-tools-windows-compile/m-p/802657#M124002</guid>
      <dc:creator>rohith_chinnasw</dc:creator>
      <dc:date>2018-10-18T15:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: cst tools windows compile</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cst-tools-windows-compile/m-p/802658#M124003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So using this command worked, the additional linker options for libgdi and libz might have been because of the openssl version i have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;i686-w64-mingw32-gcc -o cst.exe -I ../hdr -L ../../../mingw32/lib *.c -lfrontend -lcrypto -lgdi32&lt;BR /&gt;-lz&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 15:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cst-tools-windows-compile/m-p/802658#M124003</guid>
      <dc:creator>rohith_chinnasw</dc:creator>
      <dc:date>2018-10-18T15:42:31Z</dc:date>
    </item>
  </channel>
</rss>

