Damiano,
Damiano ALBANI wrote:
Yes, I use Cygwin and compile with MS Virtual C++ Toolkit 2003 (the free one).
That could be a problem right there. You should make sure all of the DLLs are built with the same compiler. As far as I know, the official bits for Mozilla are built with MS VC 6.0, not with the .net 2003 compiler.
You may have to rebuild all of Mozilla with your compiler in order to get things to work right.
In theory, this shouldn't be an issue if you are only updating nssckbi.dll, as it uses the PKCS#11 API interface. However, it could be a problem if the C calling convention used between the compilers changed.
I would still recommend you don't mix files built with different compilers on Windows.
Well, in fact, without knowing, I was compiling with MS VC6's cl.exe... (because of Microsoft SDK's setenv.bat).
I'll try with the compiler shipped with the free Toolkit 2003.
In NSS 3.9 build howto, it's stated to pull mozilla/security/dbm with DBM_1_61_RTM tag. But I suppose that a Mozilla release depends on a specific version of NSS, which in turn depends on a specific version of DBM ?
So how can I know this cascade of dependencies ? So that for any version of Mozilla I take, I get the right DBM version and thus, build the correct addbuiltin ?
DBM has been stable for a while. To know the exact dependencies, you need to read the docs on mozilla.org for each NSS release, or if it's not there, ask here.
Currently for NSS 3.9.1, DBM_1_61_RTM is the correct tag.
FYI, here is the checkout script I use (on Solaris) to pull NSS 3.9 (and NSPR, which I like to build myself) :
#!/bin/tcsh cvs co -r NSPR_4_4_1_RTM mozilla/nsprpub cvs co -r DBM_1_61_RTM mozilla/dbm mozilla/security/dbm cvs co -r NSS_3_9_BRANCH mozilla/security/coreconf mozilla/security/nss
Ok, I see but, still, how can I know which NSS is shipped with a certain Mozilla release ? So I can have a look at its' release notes, to find the right CVS tags :)
-- Damiano _______________________________________________ mozilla-crypto mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-crypto
