ListArc » English » Miscellaneous » Delta » Installing QCA and qca-ossl in a windows machine(mingw32)


Installing QCA and qca-ossl in a windows machine(mingw32)


15-02-2011 01:04 PM
1


Can someone tell me how can i install qca and qca-ossl in a windows machine.
I have installed openssl latest version & qtsdk latest version as of feb 15.
The QCA installation goes without any problem. But when i try to compile
qca-ossl beta3 it fails. The error message shows while compiling it is given
here! Somebody pls help me!
Thanks in Advance!

C:\qca-ossl-2.0.0-beta3>mingw32-make
mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `C:/qca-ossl-2.0.0-beta3'
C:\Qt\2010.05\qt\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DOSSL_097
-DQT_DL
L -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-I"..\Qt\2010.05\qt\include\QtCo
re" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
-I"..\qca-2.0.3\include\Qt
Crypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
-I"..\Qt\2010.05\qt\mksp
ecs\win32-g++" -D__GNUC__ -DWIN32 qca-ossl.cpp -o debug\qca-ossl.moc
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
-DQT_LARGEFILE_SUPPORT -
DOSSL_097 -DQT_DLL -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-I"..\Qt\2010.0
5\qt\include\QtCore" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
-I"..\qca
-2.0.3\include\QtCrypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
-I"..\Q
t\2010.05\qt\mkspecs\win32-g++" -o debug\qca-ossl.o qca-ossl.cpp
qca-ossl.cpp: In function 'X509_EXTENSION*
opensslQCAPlugin::new_subject_key_id(
X509*)':
qca-ossl.cpp:330: warning: deprecated conversion from string constant to
'char*'

qca-ossl.cpp: In member function 'virtual void
opensslQCAPlugin::RSAKey::startSi
gn(QCA::SignatureAlgorithm, QCA::SignatureFormat)':
qca-ossl.cpp:1775: error: 'EVP_md2' was not declared in this scope
qca-ossl.cpp: In member function 'virtual void
opensslQCAPlugin::RSAKey::startVe
rify(QCA::SignatureAlgorithm, QCA::SignatureFormat)':
qca-ossl.cpp:1793: error: 'EVP_md2' was not declared in this scope
qca-ossl.cpp: In member function 'virtual QCA::Provider::Context*
opensslProvide
r::createContext(const QString&)':
qca-ossl.cpp:6792: error: 'EVP_md2' was not declared in this scope
qca-ossl.cpp:6820: error: 'EVP_md2' was not declared in this scope
mingw32-make[1]: *** [debug/qca-ossl.o] Error 1
mingw32-make[1]: Leaving directory `C:/qca-ossl-2.0.0-beta3'
mingw32-make: *** [debug-all] Error 2

--






*Thanks & Regards,*

Plato P.B.
obscurant1st.biz/blog
coolfacts.in


15-02-2011 11:47 PM
2


On Tuesday, February 15, 2011 09:04:33 pm Plato P.B. wrote:
> qca-ossl.cpp:1775: error: 'EVP_md2' was not declared in this scope
That could be an API change in openssl. Which version of openssl are you
building against?

Brad
_______________________________________________
___________________________________________________

Posted on the Delta mailing list. Go to http://lists.affinix.com/listinfo.cgi/delta-affinix.com to subscribe.


15-02-2011 11:55 PM
3


my openssl version is Win32OpenSSL-1_0_0c

On Wed, Feb 16, 2011 at 2:17 AM, Brad Hards <> wrote:

> On Tuesday, February 15, 2011 09:04:33 pm Plato P.B. wrote:
> > qca-ossl.cpp:1775: error: 'EVP_md2' was not declared in this scope
> That could be an API change in openssl. Which version of openssl are you
> building against?
>
> Brad
> _______________________________________________
___________________________________________________

Posted on the Delta mailing list. Go to http://lists.affinix.com/listinfo.cgi/delta-affinix.com to subscribe.


16-02-2011 03:40 AM
4


On Wed, 16 Feb 2011 07:55:47 am Plato P.B. wrote:
> my openssl version is Win32OpenSSL-1_0_0c
OK, the man page for EVP_DigestInit() says MD2 isn't included in the default
configuration as of 1.0 because of security weaknesses.

So the real solution is probably to detect this at compile time, but an
interim solution would be to figure out if you can change the openssl
configuration to still provide MD2 and recompile openssl.

Alternatively, we could just toss MD2 support, since probably no-one still
uses it. It'd be trivial to remove.

Brad
_______________________________________________
___________________________________________________

Posted on the Delta mailing list. Go to http://lists.affinix.com/listinfo.cgi/delta-affinix.com to subscribe.


16-02-2011 03:53 AM
5


2011/2/15 Plato P.B. <>:
> Can someone tell me how can i install qca and qca-ossl in a windows machine.
> I have installed openssl latest version & qtsdk latest version as of feb 15.
> The QCA installation goes without any problem. But when i try to compile
> qca-ossl beta3 it fails. The error message shows while compiling it is given
> here! Somebody pls help me!
> Thanks in Advance!
>
> C:\qca-ossl-2.0.0-beta3>mingw32-make
> mingw32-make -f Makefile.Debug all
> mingw32-make[1]: Entering directory `C:/qca-ossl-2.0.0-beta3'
> C:\Qt\2010.05\qt\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DOSSL_097
> -DQT_DL
> L -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
> -I"..\Qt\2010.05\qt\include\QtCo
> re" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
> -I"..\qca-2.0.3\include\Qt
> Crypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
> -I"..\Qt\2010.05\qt\mksp
> ecs\win32-g++" -D__GNUC__ -DWIN32 qca-ossl.cpp -o debug\qca-ossl.moc
> g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
> -DQT_LARGEFILE_SUPPORT -
> DOSSL_097 -DQT_DLL -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
> -I"..\Qt\2010.0
> 5\qt\include\QtCore" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
> -I"..\qca
> -2.0.3\include\QtCrypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
> -I"..\Q
> t\2010.05\qt\mkspecs\win32-g++" -o debug\qca-ossl.o qca-ossl.cpp
> qca-ossl.cpp: In function 'X509_EXTENSION*
> opensslQCAPlugin::new_subject_key_id(
> X509*)':
> qca-ossl.cpp:330: warning: deprecated conversion from string constant to
> 'char*'
>
> qca-ossl.cpp: In member function 'virtual void
> opensslQCAPlugin::RSAKey::startSi
> gn(QCA::SignatureAlgorithm, QCA::SignatureFormat)':
> qca-ossl.cpp:1775: error: 'EVP_md2' was not declared in this scope
> qca-ossl.cpp: In member function 'virtual void
> opensslQCAPlugin::RSAKey::startVe
> rify(QCA::SignatureAlgorithm, QCA::SignatureFormat)':
> qca-ossl.cpp:1793: error: 'EVP_md2' was not declared in this scope
> qca-ossl.cpp: In member function 'virtual QCA::Provider::Context*
> opensslProvide
> r::createContext(const QString&)':
> qca-ossl.cpp:6792: error: 'EVP_md2' was not declared in this scope
> qca-ossl.cpp:6820: error: 'EVP_md2' was not declared in this scope
> mingw32-make[1]: *** [debug/qca-ossl.o] Error 1
> mingw32-make[1]: Leaving directory `C:/qca-ossl-2.0.0-beta3'
> mingw32-make: *** [debug-all] Error 2
>


Looks to me like it's already fixed in SVN.

Cheers,
Bartosz

> --
>
>
>
>
>
>
> Thanks & Regards,
>
> Plato P.B.
> obscurant1st.biz/blog
> coolfacts.in
>
_______________________________________________
___________________________________________________

Posted on the Delta mailing list. Go to http://lists.affinix.com/listinfo.cgi/delta-affinix.com to subscribe.


16-02-2011 10:29 AM
6


So i have to download the qca-ossl from svn and compile it? Can you please
provide some link for information on how to do it from svn?

On Wed, Feb 16, 2011 at 6:23 AM, Bartosz Brachaczek
<>wrote:

> 2011/2/15 Plato P.B. <>:
> > Can someone tell me how can i install qca and qca-ossl in a windows
> machine.
> > I have installed openssl latest version & qtsdk latest version as of feb
> 15.
> > The QCA installation goes without any problem. But when i try to compile
> > qca-ossl beta3 it fails. The error message shows while compiling it is
> given
> > here! Somebody pls help me!
> > Thanks in Advance!
> >
> > C:\qca-ossl-2.0.0-beta3>mingw32-make
> > mingw32-make -f Makefile.Debug all
> > mingw32-make[1]: Entering directory `C:/qca-ossl-2.0.0-beta3'
> > C:\Qt\2010.05\qt\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DOSSL_097
> > -DQT_DL
> > L -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
> > -I"..\Qt\2010.05\qt\include\QtCo
> > re" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
> > -I"..\qca-2.0.3\include\Qt
> > Crypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
> > -I"..\Qt\2010.05\qt\mksp
> > ecs\win32-g++" -D__GNUC__ -DWIN32 qca-ossl.cpp -o debug\qca-ossl.moc
> > g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
> > -DQT_LARGEFILE_SUPPORT -
> > DOSSL_097 -DQT_DLL -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
> > -I"..\Qt\2010.0
> > 5\qt\include\QtCore" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
> > -I"..\qca
> > -2.0.3\include\QtCrypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
> > -I"..\Q
> > t\2010.05\qt\mkspecs\win32-g++" -o debug\qca-ossl.o qca-ossl.cpp
> > qca-ossl.cpp: In function 'X509_EXTENSION*
> > opensslQCAPlugin::new_subject_key_id(
> > X509*)':
> > qca-ossl.cpp:330: warning: deprecated conversion from string constant to
> > 'char*'
> >
> > qca-ossl.cpp: In member function 'virtual void
> > opensslQCAPlugin::RSAKey::startSi
> > gn(QCA::SignatureAlgorithm, QCA::SignatureFormat)':
> > qca-ossl.cpp:1775: error: 'EVP_md2' was not declared in this scope
> > qca-ossl.cpp: In member function 'virtual void
> > opensslQCAPlugin::RSAKey::startVe
> > rify(QCA::SignatureAlgorithm, QCA::SignatureFormat)':
> > qca-ossl.cpp:1793: error: 'EVP_md2' was not declared in this scope
> > qca-ossl.cpp: In member function 'virtual QCA::Provider::Context*
> > opensslProvide
> > r::createContext(const QString&)':
> > qca-ossl.cpp:6792: error: 'EVP_md2' was not declared in this scope
> > qca-ossl.cpp:6820: error: 'EVP_md2' was not declared in this scope
> > mingw32-make[1]: *** [debug/qca-ossl.o] Error 1
> > mingw32-make[1]: Leaving directory `C:/qca-ossl-2.0.0-beta3'
> > mingw32-make: *** [debug-all] Error 2
> >
>
>
> Looks to me like it's already fixed in SVN.
>
> Cheers,
> Bartosz
>
> > --
> >
> >
> >
> >
> >
> >
> > Thanks & Regards,
> >
> > Plato P.B.
> > obscurant1st.biz/blog
> > coolfacts.in
> >
> _______________________________________________
___________________________________________________

Posted on the Delta mailing list. Go to http://lists.affinix.com/listinfo.cgi/delta-affinix.com to subscribe.


16-02-2011 11:57 AM
7


How can i remove the md2 support. i dont need it! i tried commneting out all
the lines with md2 from qca-oss.cpp but this gives me error like

C:\Qt\2010.05\qt\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DOSSL_097
-DQT_DL
L -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-I"..\Qt\2010.05\qt\include\QtCo
re" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
-I"..\qca-2.0.3\include\Qt
Crypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
-I"..\Qt\2010.05\qt\mksp
ecs\win32-g++" -D__GNUC__ -DWIN32 qca-ossl.cpp -o debug\qca-ossl.moc
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
-DQT_LARGEFILE_SUPPORT -
DOSSL_097 -DQT_DLL -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-I"..\Qt\2010.0
5\qt\include\QtCore" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
-I"..\qca
-2.0.3\include\QtCrypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
-I"..\Q
t\2010.05\qt\mkspecs\win32-g++" -o debug\qca-ossl.o qca-ossl.cpp
qca-ossl.cpp: In function 'X509_EXTENSION*
opensslQCAPlugin::new_subject_key_id(
X509*)':
qca-ossl.cpp:330: warning: deprecated conversion from string constant to
'char*'

windres -i qca-ossld_resource.rc -o debug\qca-ossld_resource_res.o
--include-dir
=. -DUNICODE -DQT_LARGEFILE_SUPPORT -DOSSL_097 -DQT_DLL -DQT_PLUGIN
-DQT_CORE_LI
B -DQT_THREAD_SUPPORT
g++ -enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -shared -Wl,--out-implib,lib\libqca-ossld2.a -o
lib\qca-ossld2.
dll debug/qca-ossl.o -L"c:\Qt\2010.05\qt\lib"
debug\qca-ossld_resource_res.o -L
C:/local/lib -llibeay32 -lssleay32 -lgdi32 -lwsock32 -LC:/qca-2.0.3/lib
-lqcad -
lQtCored4
c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
cannot find -lqcad
collect2: ld returned 1 exit status
mingw32-make[1]: *** [lib\qca-ossld2.dll] Error 1
mingw32-make[1]: Leaving directory `C:/qca-ossl-2.0.0-beta3'
mingw32-make: *** [debug-all] Error 2

On Wed, Feb 16, 2011 at 6:10 AM, Brad Hards <> wrote:

> On Wed, 16 Feb 2011 07:55:47 am Plato P.B. wrote:
> > my openssl version is Win32OpenSSL-1_0_0c
> OK, the man page for EVP_DigestInit() says MD2 isn't included in the
> default
> configuration as of 1.0 because of security weaknesses.
>
> So the real solution is probably to detect this at compile time, but an
> interim solution would be to figure out if you can change the openssl
> configuration to still provide MD2 and recompile openssl.
>
> Alternatively, we could just toss MD2 support, since probably no-one still
> uses it. It'd be trivial to remove.
>
> Brad
>



--






*Thanks & Regards,*

Plato P.B.
obscurant1st.biz/blog
coolfacts.in

B'Lore. ( +919844882641)
Kerala. ( +919037036661)


16-02-2011 02:21 PM
8


I also tried to install qca using svn. But I dont have any clue on how to do
this. I just downloaded the qca from the svn using a svn client for windows.
Now i read the install file. But they have asked to execute configur. There
is nothing like configure in that svn qca folder!
pls somebody help me!

On Wed, Feb 16, 2011 at 2:27 PM, Plato P.B. <> wrote:

> How can i remove the md2 support. i dont need it! i tried commneting out
> all the lines with md2 from qca-oss.cpp but this gives me error like
>
> C:\Qt\2010.05\qt\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DOSSL_097
> -DQT_DL
> L -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
> -I"..\Qt\2010.05\qt\include\QtCo
> re" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
> -I"..\qca-2.0.3\include\Qt
> Crypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
> -I"..\Qt\2010.05\qt\mksp
> ecs\win32-g++" -D__GNUC__ -DWIN32 qca-ossl.cpp -o debug\qca-ossl.moc
> g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
> -DQT_LARGEFILE_SUPPORT -
> DOSSL_097 -DQT_DLL -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
> -I"..\Qt\2010.0
> 5\qt\include\QtCore" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
> -I"..\qca
> -2.0.3\include\QtCrypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
> -I"..\Q
> t\2010.05\qt\mkspecs\win32-g++" -o debug\qca-ossl.o qca-ossl.cpp
> qca-ossl.cpp: In function 'X509_EXTENSION*
> opensslQCAPlugin::new_subject_key_id(
> X509*)':
> qca-ossl.cpp:330: warning: deprecated conversion from string constant to
> 'char*'
>
> windres -i qca-ossld_resource.rc -o debug\qca-ossld_resource_res.o
> --include-dir
> =. -DUNICODE -DQT_LARGEFILE_SUPPORT -DOSSL_097 -DQT_DLL -DQT_PLUGIN
> -DQT_CORE_LI
> B -DQT_THREAD_SUPPORT
> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
> -Wl,-enable-runtime-pseudo-rel
> oc -mthreads -Wl -shared -Wl,--out-implib,lib\libqca-ossld2.a -o
> lib\qca-ossld2.
> dll debug/qca-ossl.o -L"c:\Qt\2010.05\qt\lib"
> debug\qca-ossld_resource_res.o -L
> C:/local/lib -llibeay32 -lssleay32 -lgdi32 -lwsock32 -LC:/qca-2.0.3/lib
> -lqcad -
> lQtCored4
>
> c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
> cannot find -lqcad
> collect2: ld returned 1 exit status
> mingw32-make[1]: *** [lib\qca-ossld2.dll] Error 1
>
> mingw32-make[1]: Leaving directory `C:/qca-ossl-2.0.0-beta3'
> mingw32-make: *** [debug-all] Error 2
>
> On Wed, Feb 16, 2011 at 6:10 AM, Brad Hards <> wrote:
>
>> On Wed, 16 Feb 2011 07:55:47 am Plato P.B. wrote:
>> > my openssl version is Win32OpenSSL-1_0_0c
>> OK, the man page for EVP_DigestInit() says MD2 isn't included in the
>> default
>> configuration as of 1.0 because of security weaknesses.
>>
>> So the real solution is probably to detect this at compile time, but an
>> interim solution would be to figure out if you can change the openssl
>> configuration to still provide MD2 and recompile openssl.
>>
>> Alternatively, we could just toss MD2 support, since probably no-one still
>> uses it. It'd be trivial to remove.
>>
>> Brad
>>
>
>
>
> --
>
>
>
>
>
>
> *Thanks & Regards,*
>
> Plato P.B.
> obscurant1st.biz/blog
> coolfacts.in
>
> B'Lore. ( +919844882641)
> Kerala. ( +919037036661)
>



--






*Thanks & Regards,*

Plato P.B.
obscurant1st.biz/blog
coolfacts.in

B'Lore. ( +919844882641)
Kerala. ( +919037036661)


16-02-2011 05:29 PM
9


On 2011-02-16 06:21, Plato P.B. wrote:
> I also tried to install qca using svn. But I dont have any clue on how
> to do this. I just downloaded the qca from the svn using a svn client
> for windows. Now i read the install file. But they have asked to execute
> configur. There is nothing like configure in that svn qca folder!
> pls somebody help me!

the procedure i used in June 2009 may or may not help you. obviously
you need to adapt some steps to new versions.

1. Get openssl-0.9.8k binaries from
http://www.slproweb.com/products/Win32OpenSSL.html, as well as
qt-4.5.1-win-opensource-4.5.1-mingw, qca-2.0.2, and qca-ossl-2.0.0-beta3.
2. Install OpenSSL by running the installer. Create C:/local/include and
copy into it the contents of C:/OpenSSL/include. Create C:/local/lib and
copy into it the DLLs contained in C:/OpenSSL/bin.
2. Install Qt by running the installer.
3. Build Qt with OpenSSL support by running `configure`, `configure
-openssl -I C:/local/include -L C:/local/lib-debug-and-release`, and `make`.
3. Install QCA by runnning `configure --debug-and-release`, `make`, and
`installwin` in the Qt Command Prompt.
4. Install qca-ossl:
4.1. Create QTDIR/mkspecs/features/winlocal.prf with the line
"WINLOCAL_PREFIX=C:/local", as described in
http://delta.affinix.com/platform/#winlocal.
4.2. Comment lines 6813-6816 of qca-ossl.cpp to work around the issue
described in
http://listas.apesol.org/pipermail/delta-affinix.com/2008-September/001338.html.
4.3. Run `configwin rd`, `qmake`, and `make` in the Qt Command Prompt.
Copy the resulting DLLs to QTDIR/plugins/crypto.


16-02-2011 05:31 PM
10


2011/2/16 Plato P.B. <>:
> I also tried to install qca using svn. But I dont have any clue on how to do
> this. I just downloaded the qca from the svn using a svn client for windows.
> Now i read the install file. But they have asked to execute configur. There
> is nothing like configure in that svn qca folder!
> pls somebody help me!
>
> On Wed, Feb 16, 2011 at 2:27 PM, Plato P.B. <> wrote:
>>
>> How can i remove the md2 support. i dont need it! i tried commneting out
>> all the lines with md2 from qca-oss.cpp but this gives me error like
>>
>> C:\Qt\2010.05\qt\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DOSSL_097
>> -DQT_DL
>> L -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
>> -I"..\Qt\2010.05\qt\include\QtCo
>> re" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
>> -I"..\qca-2.0.3\include\Qt
>> Crypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
>> -I"..\Qt\2010.05\qt\mksp
>> ecs\win32-g++" -D__GNUC__ -DWIN32 qca-ossl.cpp -o debug\qca-ossl.moc
>> g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
>> -DQT_LARGEFILE_SUPPORT -
>> DOSSL_097 -DQT_DLL -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
>> -I"..\Qt\2010.0
>> 5\qt\include\QtCore" -I"..\Qt\2010.05\qt\include" -I"..\local\include"
>> -I"..\qca
>> -2.0.3\include\QtCrypto" -I"..\Qt\2010.05\qt\include\ActiveQt" -I"debug"
>> -I"..\Q
>> t\2010.05\qt\mkspecs\win32-g++" -o debug\qca-ossl.o qca-ossl.cpp
>> qca-ossl.cpp: In function 'X509_EXTENSION*
>> opensslQCAPlugin::new_subject_key_id(
>> X509*)':
>> qca-ossl.cpp:330: warning: deprecated conversion from string constant to
>> 'char*'
>>
>> windres -i qca-ossld_resource.rc -o debug\qca-ossld_resource_res.o
>> --include-dir
>> =. -DUNICODE -DQT_LARGEFILE_SUPPORT -DOSSL_097 -DQT_DLL -DQT_PLUGIN
>> -DQT_CORE_LI
>> B -DQT_THREAD_SUPPORT
>> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
>> -Wl,-enable-runtime-pseudo-rel
>> oc -mthreads -Wl -shared -Wl,--out-implib,lib\libqca-ossld2.a -o
>> lib\qca-ossld2.
>> dll debug/qca-ossl.o  -L"c:\Qt\2010.05\qt\lib"
>> debug\qca-ossld_resource_res.o -L
>> C:/local/lib -llibeay32 -lssleay32 -lgdi32 -lwsock32 -LC:/qca-2.0.3/lib
>> -lqcad -
>> lQtCored4
>>
>> c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
>>  cannot find -lqcad
>> collect2: ld returned 1 exit status
>> mingw32-make[1]: *** [lib\qca-ossld2.dll] Error 1
>> mingw32-make[1]: Leaving directory `C:/qca-ossl-2.0.0-beta3'
>> mingw32-make: *** [debug-all] Error 2
>>
>> On Wed, Feb 16, 2011 at 6:10 AM, Brad Hards <> wrote:
>>>
>>> On Wed, 16 Feb 2011 07:55:47 am Plato P.B. wrote:
>>> > my openssl version is Win32OpenSSL-1_0_0c
>>> OK, the man page for EVP_DigestInit() says MD2 isn't included in the
>>> default
>>> configuration as of 1.0 because of security weaknesses.
>>>
>>> So the real solution is probably to detect this at compile time, but an
>>> interim solution would be to figure out if you can change the openssl
>>> configuration to still provide MD2 and recompile openssl.
>>>
>>> Alternatively, we could just toss MD2 support, since probably no-one
>>> still
>>> uses it. It'd be trivial to remove.
>>>
>>> Brad
>>
>>
>>
>> --
>>
>>
>>
>>
>>
>>
>> Thanks & Regards,
>>
>> Plato P.B.
>> obscurant1st.biz/blog
>> coolfacts.in
>>
>> B'Lore.  ( +919844882641)
>> Kerala.  ( +919037036661)
>

Instead of using SVN you can apply a patch to your copy of beta3
sources. Try this one:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-crypt/qca-ossl/files/qca-ossl-openssl-1.0.0.patch?revision=1.1&view=markup.

Cheers,
Bartosz


>
>
> --
>
>
>
>
>
>
> Thanks & Regards,
>
> Plato P.B.
> obscurant1st.biz/blog
> coolfacts.in
>
> B'Lore.  ( +919844882641)
> Kerala.  ( +919037036661)
>
_______________________________________________
___________________________________________________

Posted on the Delta mailing list. Go to http://lists.affinix.com/listinfo.cgi/delta-affinix.com to subscribe.