I just sucesfully compiled library for ARM using evc4.0 compiler. Here
is what I had to do:

1. in C:\Program Files\Microsoft eMbedded C++ 4.0\EVC\wce420\bin I had
to change WCEARMV4.BAT so that set TARGETCPU=ARM instead of ARMV4

2. compiler reported internal error in
openssl-0.9.7d\crypto\rc2\rc2_skey.c
I had to add this line: ";ki = &c;" before      "ki= &(key->data[63]);"
doesn't make sense but compiler was crashing in ki= &(key->data[63]);

3. rand\rand_win.c
#if defined(OPENSSL_SYS_WINCE) && (WCEPLATFORM!=MS_HPC_PRO) - error was
changed to
#if defined(OPENSSL_SYS_WINCE)
#if defined(WCEPLATFORM) && defined(MS_HPC_PRO)
#if (WCEPLATFORM!=MS_HPC_PRO)
with corespodning endifs

4. apps/apps.c had following code at 3 places
        if (stat(dbfile,&sb) < 0)
                {
                if (errno != ENOENT
#ifdef ENOTDIR
                        && errno != ENOTDIR)
#endif
                        goto err;
                }

 so if ENOTDIR was not defined ) was missing so it was changed to:
        if (stat(dbfile,&sb) < 0)
                {
                if (errno != ENOENT
#ifdef ENOTDIR
                        && errno != ENOTDIR
#endif
                        )         // PARENTHESIS is outside if def
                        goto err;
                }


regards
  Milan

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.17 - Release Date: 5/25/2005
 

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to