[Qt-wince-interest] OpenSSL failing to build for a Qt 4.6/WinCE 5.0 target
Nikolay Mikheev
el.vooft at gmail.com
Thu Jan 21 17:55:17 CET 2010
2010/1/20 Andreas Unger <andi.unger05 at gmail.com>
>
> I should first build wcecompat libs before building OpenSSL, right? I'm unable to build just wcecompat by itself. As a Linux user, I'm not very familiar with WinCE. See my attempts at building wcecompat below. What is the sequence of steps that I should follow?
> I first start with these commands:
> cd C:\Qt\mauricek-wcecompat
> set OSVERSION=WCE500
> set PLATFORM=STANDARDSDK
> set TARGETCPU=MIPSII
> set PATH=%PATH%;C:\Qt\qt-4.6.0-MIPS-CE-5.0\bin
> Attempt 1:
> ----------
> 1) C:\Qt\qt-4.6.0-MIPS-CE-5.0\bin\setcepaths wince50standard-mipsii-msvc2008
> output:
> Environment Selection:STANDARDSDK_500 (MIPSII)
> Standard SDK for mips-ii selected, environment is set up
> 2) perl config.pl
> output:
> windows ce version:WCE500
> major:5
> minor:00
> Compiling for Architecture:MIPSII
> Compile: -D_WIN32_WCE=0x500 -DUNDER_CE=500 -DMIPS -D_MIPS_ -DMIPS_R4000
> Link:/SUBSYSTEM:windowsce,5.00 /MACHINE:MIPS
> 3) nmake
> include\winsock_extras.h(33) : error C2220: warning treated as error - no 'objec
> t' file generated
> include\winsock_extras.h(33) : warning C4273: 'getservbyname' : inconsistent dll
> linkage
> C:\Program Files (x86)\Windows CE Tools\wce500\STANDARDSDK_500\include\M
> IPSII\winsock2.h(2183) : see previous definition of 'getservbyname'
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
> VC\ce\bin\x86_mips\cl.EXE"' : return code '0x2'
> Stop.
> Attempt 2:
> ------------
> 1) C:\Qt\qt-4.6.0-MIPS-CE-5.0\bin\setcepaths wince50standard-mipsii-msvc2008
> 2) C:\Qt\qt-4.6.0-MIPS-CE-5.0\bin\qmake
> WARNING: Failure to find: src\io.cpp
> WARNING: Failure to find: src\process.cp
> WARNING: Failure to find: src\time.cpp
> WARNING: Failure to find: src\io.cpp
> WARNING: Failure to find: src\process.cp
> WARNING: Failure to find: src\time.cpp
When i tried to build it, setcepaths was not working correctly for
building wcecompat, because it was written for building Qt, not for
any other software. I wrote own bat-file with INCLUDE, LIBS and other
paths manually.
Also, i'm not so advanced in WinCE, because i'm linux user too.
Maybe, you should ask mauricek directly how to build it for MIPSII.
--
Best regards, Nikolay Mikheev
More information about the Qt-wince-interest
mailing list