[Qt-wince-interest] OpenSSL failing to build for a Qt 4.6/WinCE 5.0 target
Maurice Kalinowski
maurice.kalinowski at nokia.com
Fri Jan 22 17:58:02 CET 2010
Hi,
you're lucky that Friday has not ended yet :)
Attached you can find some patches to both wcecompat and openssl to get
at least the libraries compiling. The build process stops when compiling
one of its tests, but I hope that the libraries are ok.
Steps which need to be done after patching and compilation of wcecompat:
1. set WCECOMPAT=<path to wcecompat>
2. set PLATFORM=STANDARDSDK // you can basically use anything, it is
getting ignored
3. ensure that ActiveState Perl is being used, not any perl used by
mingw or such
4. perl Configure VC-CE
5. ms\do_ms.bat
6. nmake -f ms\cedll.mak
This compiles the libraries dynamically. Might work for static version
as well, haven't tried.
In addition I would like to emphasize, that this is a spare time hack,
not supported at all. Also it has only been tested for the MIPS II
platform from Standard SDK for Windows CE 5.0. In case it works for you,
I hope that someone is willing to provide a proper patch after cleanup :)
Generally I think that we should remove the winsock stuff from wcecompat
as basically all Windows CE 5 SDKs seem to have it. So my guess is, that
this is some legacy code for Windows CE 4.2, which I guess nobody is
using anymore these days.
Hope it works for you and have fun with the patch.
Best Regards,
Maurice
Andreas Unger wrote:
>
>
> On Fri, Jan 22, 2010 at 9:51 AM, Maurice Kalinowski
> <maurice.kalinowski at nokia.com <mailto:maurice.kalinowski at nokia.com>>
> wrote:
>
> Could you please point me to the OpenSSL version you are using, so
> that
> I can have a look at it?
> Download link would be perfect.
>
> Best Regards,
> Maurice
>
>
> Here it is: http://www.openssl.org/source/openssl-0.9.8l.tar.gz
>
> It's basically the latest release from this
> page: http://www.openssl.org/source/
>
>
> >
> > C:\Program Files (x86)\Windows CE
> > Tools\wce500\STANDARDSDK_500\include\MIPSII\winsock2.h(233) : error
> > C2011: 'servent' : 'struct' type redefinition
> >
> > C:\Qt\mauricek-wcecompat/include\winsock_extras.h(30) : see
> > declaration of 'servent'
> >
> > C:\Program Files (x86)\Windows CE
> > Tools\wce500\STANDARDSDK_500\include\MIPSII\winsock2.h(2186) : error
> > C2375: 'getservbyname' : redefinition; different linkage
> >
> > C:\Qt\mauricek-wcecompat/include\winsock_extras.h(37) : see
> > declaration 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.
> >
> > On Fri, Jan 22, 2010 at 9:27 AM, Pablo Rogina <pablojr at gmail.com
> <mailto:pablojr at gmail.com>
> > <mailto:pablojr at gmail.com <mailto:pablojr at gmail.com>>> wrote:
> >
> > > Maurice, I can't thank you enough! It works :-)
> >
> > Kudos for Maurice, and the one who approved the Creative
> Fridays!
> >
> > Andreas, I understand that you are now able to build Qt with
> OpenSSL
> > support for WinCE, aren't you?
> >
> > If so, could it be possibel that you document all the steps done
> > so far?
> >
> > Thanks.
> >
> > Pablo Rogina
> > _______________________________________________
> > Qt-wince-interest mailing list
> > Qt-wince-interest at trolltech.com
> <mailto:Qt-wince-interest at trolltech.com>
> > <mailto:Qt-wince-interest at trolltech.com
> <mailto:Qt-wince-interest at trolltech.com>>
> > http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Qt-wince-interest mailing list
> > Qt-wince-interest at trolltech.com
> <mailto:Qt-wince-interest at trolltech.com>
> > http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
> >
>
>
> --
> Maurice Kalinowski
> Nokia, Qt Development Frameworks
> Rudower Chaussee 13, 12489 Berlin, Germany
> Email : maurice.kalinowski at nokia.com
> <mailto:maurice.kalinowski at nokia.com>
> Phone : (+49) 30 6392 3255
> Fax : (+49) 30 6392 3256
> http://qt.nokia.com/
>
> Nokia gate5 GmbH
> Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
> Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
> Umsatzsteueridentifikationsnummer: DE 812 845 193
> Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
>
> _______________________________________________
> Qt-wince-interest mailing list
> Qt-wince-interest at trolltech.com
> <mailto:Qt-wince-interest at trolltech.com>
> http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-wince-interest mailing list
> Qt-wince-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
>
--
Maurice Kalinowski
Nokia, Qt Development Frameworks
Rudower Chaussee 13, 12489 Berlin, Germany
Email : maurice.kalinowski at nokia.com
Phone : (+49) 30 6392 3255
Fax : (+49) 30 6392 3256
http://qt.nokia.com/
Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_wcecompat.diff
Url: http://lists.qt.nokia.com/pipermail/qt-wince-interest/attachments/20100122/3a94bd42/attachment.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_openssl098l.diff
Url: http://lists.qt.nokia.com/pipermail/qt-wince-interest/attachments/20100122/3a94bd42/attachment-0001.pl
More information about the Qt-wince-interest
mailing list