>       From: owner-openssl-us...@openssl.org On Behalf Of Mykhaylo
Mastykash
>       Sent: Tuesday, 16 June, 2009 07:35

>       C:\openssl-1.0.0-beta2>nmake -f ms\cedll.mak

>               clarm.exe /Fotmp32dll_ARMV4I\cryptlib.obj  -Iinc32
-Itmp32dll_ARMV4I /MC
>        /O1i /W3 /WX /GF /Gy /nologo -DUNICODE -D_UNICODE
-DOPENSSL_SYSNAME_WINCE -DWIN
>       32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD
-DOPENSSL_SMALL_FOOTPRINT -D_
>       WIN32_WCE=500 -DUNDER_CE=500 -DWCE_PLATFORM_STANDARDSDK_500 -DARM
-D_ARM_ -DARMV
>       4I -QRarch4T -QRinterwork-return -IC:\wcecompat/include
/Fdout32dll_ARMV4I -DOPE
>       NSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE
-DOPENSSL_NO_
>       STATIC_ENGINE -D_WINDLL -D_DLL  -DOPENSSL_BUILD_SHLIBCRYPTO -c
.\crypto\cryptlib
>       .c
>       cryptlib.c
>       c:\openssl-1.0.0-beta2\tmp32dll_armv4i\e_os.h(287) : fatal error
C1083: Cannot o
>       pen include file: 'windows.h': No such file or directory
>       NMAKE : fatal error U1077: 'clarm.exe' : return code '0x2'

I'm not familiar with the WinCE (cross)dev toolset, but 
I believe windows.h is a standard-all-Windows header.
Can you compile (and link) a trivial program like 
 int main () { return 0; }
?

The 'desktop' VC++s have a command file (my version is vcvars32.bat) 
that sets several environment variables in particular %INCLUDE% for 
compile and %LIB% for link. Does WinCE-dev do something like that? 
If your mk1mf VC-CE succeeded in creating cedll.mak, it obviously 
did get %OSVERSION% %PLATFORM% %TARGETCPU%, since lack of those is 
a fairly common problem for people (like me) doing desktop builds.

I see that util/pl/VC-32.pl for CE does put -I$(WCECOMPAT)/include 
into the flags, implying that it thinks the toolkit needs to be told 
where to look. This came out in your config above as c:\wcecompat/include .
Is that in fact the correct location where your headers are installed?
And similarly $(WCECOMPAT)/lib for linking?



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
  • Build problem Mykhaylo Mastykash
    • RE: Build problem: WinCE Dave Thompson

Reply via email to