<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    I am trying to compile openssl for windows ce.<br>
    As per the INSTALL.WCE instructions, all command were succeeded
    except one command.<br>
    1. "C:\Program Files\Microsoft eMbedded
    Tools\EVC\WCE300\BIN\WCEARM.BAT"&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XXXXXXXXX&nbsp;&nbsp;&nbsp; <br>
    &nbsp;&nbsp;&nbsp; "c:\Program Files\Microsoft eMbedded C++
    4.0\EVC\wce500\bin\WCEARMV4.BAT"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As I am using evc4 I have used
    this batch file<br>
    2. set WCECOMPAT=C:\wcecompat<br>
    3. perl Configure VC-CE<br>
    4. ms\do_ms<br>
    &nbsp;Then from the VC++ environment at a prompt do:<br>
    5. nmake -f ms\ce.mak<br>
    The following error report.<br>
    <font color="#006600"><tt>C:\openssl-0.9.8i&gt;nmake -f ms\ce.mak<br>
        Microsoft (R) Program Maintenance Utility Version 9.00.21022.08<br>
        Copyright (C) Microsoft Corporation.&nbsp; All rights reserved.<br>
        Building OpenSSL<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /Fotmp32_\cryptlib.obj&nbsp; -Iinc32 -Itmp32_ /MC /O1i /W3
        /WX /GF /Gy /nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE
        -DWIN32_LEAN_AND_MEAN<br>
        -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -I/include
        -DOPENSSL_SMALL_FOOTPRINT -D_WIN32_WCE=500 -DUNDER_CE=500
        -DWCE_PLATFORM_STANDARDSDK_500 -DARM -D_ARM_ -DAR<br>
        MV4 /Fdout32_ -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED
        -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_TLSEXT
        -DOPENSSL_NO_CMS -DOPENSSL_NO_CAPIENG -DOPE<br>
        NSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE&nbsp; -c .\crypto\cryptlib.c<br>
        cl : Command line warning D9002 : ignoring unknown option '/MC'<br>
        cryptlib.c<br>
        .\crypto\cryptlib.c(724) : error C2220: warning treated as error
        - no 'object' file generated<br>
        .\crypto\cryptlib.c(724) : warning C4996: '_vsnwprintf': This
        function or variable may be unsafe. Consider using _vsnwprintf_s
        instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
        See online help for details.<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft Visual Studio
        9.0\VC\INCLUDE\stdio.h(483) : see declaration of '_vsnwprintf'<br>
        NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
        Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'<br>
        Stop.</tt></font><b><tt><br>
      </tt></b><br>
    I am still facing few environmental settings here. Can anybody
    suggest me on the above issue.<br>
    <br>
    <br>
    <br>
    <div class="moz-signature">Thanks
      -Srinivas</div>
    <br>
    <br>
    -------- Original Message --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject: </th>
          <td>wpa_supplicant on WinCE6</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
          <td>Mon, 02 Apr 2012 13:01:33 +0530</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
          <td>Srinivas <a class="moz-txt-link-rfc2396E" href="mailto:srinivas.chappidi@redpinesignals.com">&lt;srinivas.chappidi@redpinesignals.com&gt;</a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
          <td><a class="moz-txt-link-abbreviated" href="mailto:hostap@lists.shmoo.com">hostap@lists.shmoo.com</a></td>
        </tr>
      </tbody>
    </table>
    <br>
    <br>
    <pre>Hi,

1. I have found crash during configuring wpa_supplicant for WPA mode on 
WinCE600.
The crash is on crypto API.
+cryptoapi_hash_vector1 CryptAcquireContext Failed
wpa_supp: CryptoAPI: CryptAcquireContext: -2146893802
Exception 'Data Abort' (4): Thread-Id=07a70002(pth=855a44f8), 
Proc-Id=07a60002(pprc=855a40c0) 'wpa_supplicant.exe', 
VM-active=07a60002(pprc=855a40c0) 'wpa_supplicant.exe'
PC=000a2a78(wpa_supplicant.exe+0x00092a78) 
RA=000a2a6c(wpa_supplicant.exe+0x00092a6c) SP=000cea00, BVA=00000001.

2. How to configure the OpenSSL library for WinCE 6.

Thanks in advance.

-- 
Thanks -Srinivas
</pre>
  </body>
</html>